|
@@ -79,7 +79,7 @@
|
79
|
79
|
AND tb.status = #{query.status}
|
80
|
80
|
</if>
|
81
|
81
|
</if>
|
82
|
|
- ORDER BY approver.dateline desc, tb.start_time DESC
|
|
82
|
+ ORDER BY tb.start_time DESC
|
83
|
83
|
</select>
|
84
|
84
|
<select id="selectTodoByStatus" resultType="com.srm.bpm.infra.po.BillItemPO">
|
85
|
85
|
SELECT tb.id, tb.code, tb.title, tb.completion_time, tb.start_time, tb.priority, tb.status,
|
|
@@ -122,7 +122,7 @@
|
122
|
122
|
</if>
|
123
|
123
|
|
124
|
124
|
</if>
|
125
|
|
- ORDER BY brr.read_time, tb.start_time DESC
|
|
125
|
+ ORDER BY tb.start_time DESC
|
126
|
126
|
</select>
|
127
|
127
|
<select id="selectCreateByEmployee" resultType="com.srm.bpm.infra.po.BillItemPO">
|
128
|
128
|
SELECT tb.id, tb.code, tb.title, tb.completion_time, tb.start_time, tb.priority, tb.status,
|
|
@@ -178,7 +178,7 @@
|
178
|
178
|
AND tb.process_id = #{query.processId}
|
179
|
179
|
</if>
|
180
|
180
|
</if>
|
181
|
|
- ORDER BY tb.creation_time DESC
|
|
181
|
+ ORDER BY tb.start_time DESC
|
182
|
182
|
</select>
|
183
|
183
|
<select id="selectCc" resultType="com.srm.bpm.infra.po.BillItemPO">
|
184
|
184
|
SELECT tb.id, tb.code, tb.title, tb.completion_time, tb.start_time, tb.attachment_flag,tb.print_size,
|
|
@@ -208,7 +208,7 @@
|
208
|
208
|
AND tb.status = #{query.status}
|
209
|
209
|
</if>
|
210
|
210
|
</if>
|
211
|
|
- ORDER BY bcp.dateline desc
|
|
211
|
+ ORDER BY tb.start_time desc
|
212
|
212
|
</select>
|
213
|
213
|
<select id="selectTodoSizeByStatus" resultType="java.lang.String">
|
214
|
214
|
SELECT count(tb.id)
|
|
@@ -226,7 +226,7 @@
|
226
|
226
|
<foreach collection="statusList" item="status" separator="," open="(" close=")">
|
227
|
227
|
#{status}
|
228
|
228
|
</foreach>
|
229
|
|
- ORDER BY brr.read_time, tb.start_time DESC
|
|
229
|
+ ORDER BY tb.start_time DESC
|
230
|
230
|
</select>
|
231
|
231
|
<select id="selectAllByQuery" resultType="com.srm.bpm.infra.po.BillItemPO">
|
232
|
232
|
SELECT tb.id, tb.code, tb.title, tb.completion_time, tb.start_time, tb.attachment_flag,
|