|
|
@@ -139,6 +139,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test='maps.upETime != null '>
|
|
|
and l.update_time <= str_to_date(CONCAT(#{maps.upETime},' 23:59:59'),'%Y-%m-%d %H:%i:%s')
|
|
|
</if>
|
|
|
+ <if test= 'maps.finishSTime != null '>
|
|
|
+ and l.finish_time >= str_to_date(CONCAT(#{maps.finishSTime},' 00:00:00' ),'%Y-%m-%d %H:%i:%s')
|
|
|
+ </if>
|
|
|
+ <if test='maps.finishETime != null '>
|
|
|
+ and l.finish_time <= str_to_date(CONCAT(#{maps.finishETime},' 23:59:59'),'%Y-%m-%d %H:%i:%s')
|
|
|
+ </if>
|
|
|
<if test="maps.sopIds != null and maps.sopIds.size() > 0">
|
|
|
and l.sop_id in
|
|
|
<foreach item="sopId" index="index" collection="maps.sopIds" open="(" separator="," close=")">
|