|
@@ -180,11 +180,11 @@
|
|
|
</if>
|
|
|
GROUP BY t1.project_id
|
|
|
HAVING sum(cost) > 0
|
|
|
- ORDER BY ${sortCode} ${order}
|
|
|
) t
|
|
|
<if test="category == 1">
|
|
|
WHERE rio <= -0.1 AND rio !='-'
|
|
|
</if>
|
|
|
+ ORDER BY ${sortCode} ${order}
|
|
|
</select>
|
|
|
|
|
|
|
|
@@ -204,6 +204,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getProjectMoreDaysReport" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
+ SELECT * FROM (
|
|
|
SELECT
|
|
|
t1.project_id as 'projectId',
|
|
|
t3.project_name AS 'projectName',
|
|
@@ -281,6 +282,7 @@
|
|
|
</if>
|
|
|
GROUP BY t1.project_id
|
|
|
HAVING sum(cost) > 0
|
|
|
+ ) t
|
|
|
ORDER BY ${sortCode} ${order}
|
|
|
</select>
|
|
|
|