fix: 解决终审列表报错问题

pull/63/head
shuliYao 2 years ago
parent 78cd6cbc60
commit 432ac36346

@ -980,7 +980,7 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
if (StringUtils.isNotBlank(pageUtils.getSortname())) {
paramterPage.setSortname(pageUtils.getSortname());
} else {
paramterPage.setSortname("CREATEDATE");
paramterPage.setSortname("submit_date_timestamp");
}
if (StringUtils.isNotBlank(pageUtils.getSortorder())) {

@ -536,11 +536,20 @@
UNION
select
tc.*
from ocr_taskchild_picture tc, ocr_picture p
where tc.STATES = 5 and p.suspiciousfile =0
from ocr_taskchild_picture tc
where tc.STATES = 5
) as tcp
left join ocr_picture pic
on tcp.PICTUREID = pic.ID
<include refid="Base_Where_union">
</include>
and pic.suspiciousfile = 0
<if test="fromuptimeStart != null">
and tcp.fromuptime &gt;= ${fromuptimeStart}
</if>
<if test="fromuptimeEnd != null">
and tcp.fromuptime &lt;= ${fromuptimeEnd}
</if>
</select>
<select id="listmytask" resultType="cn.jyjz.xiaoyao.ocr.dataobject.OcrTaskchildPictureAppro"

Loading…
Cancel
Save