|
@@ -1160,12 +1160,11 @@
|
|
|
SELECT
|
|
|
major.order_id AS orderId,
|
|
|
financial,
|
|
|
- major.name AS projectName,
|
|
|
<if test="dto != null and dto.efficiencyType == 'statement'">
|
|
|
statement.name AS projectName,
|
|
|
</if>
|
|
|
<if test="dto != null and dto.efficiencyType != 'statement'">
|
|
|
- report.name AS projectName,
|
|
|
+ IF(report.name IS NULL, major.name, report.name) AS projectName,
|
|
|
</if>
|
|
|
customer.name AS customerName,
|
|
|
(SELECT customer_company.name FROM customer_company WHERE customer_company.id = clientele_sub_id) AS customerSubName,
|