|
|
@ -185,6 +185,7 @@
|
|
|
|
<if test="ocpictureid != null">
|
|
|
|
<if test="ocpictureid != null">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and OCPICTUREID ${ocpictureid.dataOp} ${ocpictureid.likestar}#{ocpictureid.value}${ocpictureid.likeend}
|
|
|
|
and OCPICTUREID ${ocpictureid.dataOp} ${ocpictureid.likestar}#{ocpictureid.value}${ocpictureid.likeend}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="pictureresult != null">
|
|
|
|
<if test="pictureresult != null">
|
|
|
@ -307,6 +308,7 @@
|
|
|
|
<if test="ocpictureid != null">
|
|
|
|
<if test="ocpictureid != null">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and tcp.OCPICTUREID ${ocpictureid.dataOp} ${ocpictureid.likestar}#{ocpictureid.value}${ocpictureid.likeend}
|
|
|
|
and tcp.OCPICTUREID ${ocpictureid.dataOp} ${ocpictureid.likestar}#{ocpictureid.value}${ocpictureid.likeend}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="pictureresult != null">
|
|
|
|
<if test="pictureresult != null">
|
|
|
@ -499,7 +501,6 @@
|
|
|
|
left join ocr_picture pic
|
|
|
|
left join ocr_picture pic
|
|
|
|
on tcp.PICTUREID = pic.ID
|
|
|
|
on tcp.PICTUREID = pic.ID
|
|
|
|
<include refid="Base_Where_union">
|
|
|
|
<include refid="Base_Where_union">
|
|
|
|
|
|
|
|
|
|
|
|
</include>
|
|
|
|
</include>
|
|
|
|
and pic.suspiciousfile = 0
|
|
|
|
and pic.suspiciousfile = 0
|
|
|
|
<if test="fromuptimeStart != null">
|
|
|
|
<if test="fromuptimeStart != null">
|
|
|
@ -510,8 +511,13 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="page != null">
|
|
|
|
<if test="page != null">
|
|
|
|
<if test="page.sortname != null">
|
|
|
|
<if test="page.sortname != null">
|
|
|
|
|
|
|
|
<if test="page.sortname == 'states'">
|
|
|
|
order by tcp.${page.sortname} ${page.sortorder}
|
|
|
|
order by tcp.${page.sortname} ${page.sortorder}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="page.sortname != 'states'">
|
|
|
|
|
|
|
|
order by pic.${page.sortname} ${page.sortorder}
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
</if>
|
|
|
|
limit ${page.start}, ${page.Pagesize}
|
|
|
|
limit ${page.start}, ${page.Pagesize}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|