|
@@ -538,28 +538,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND company_user_id = #{maps.companyUserId}
|
|
|
</if>
|
|
|
<if test= 'maps.sTime != null '>
|
|
|
- and DATE(l.create_time) >= DATE(#{maps.sTime})
|
|
|
+ and DATE(create_time) >= DATE(#{maps.sTime})
|
|
|
</if>
|
|
|
<if test='maps.eTime != null '>
|
|
|
- and DATE(l.create_time) <= DATE(#{maps.eTime})
|
|
|
+ and DATE(create_time) <= DATE(#{maps.eTime})
|
|
|
</if>
|
|
|
<if test= 'maps.scheduleStartTime != null '>
|
|
|
- and DATE(l.camp_period_time) >= DATE(#{maps.scheduleStartTime})
|
|
|
+ and DATE(camp_period_time) >= DATE(#{maps.scheduleStartTime})
|
|
|
</if>
|
|
|
<if test='maps.scheduleEndTime != null '>
|
|
|
- and DATE(l.camp_period_time) <= DATE(#{maps.scheduleEndTime})
|
|
|
+ and DATE(camp_period_time) <= DATE(#{maps.scheduleEndTime})
|
|
|
</if>
|
|
|
<if test= 'maps.upSTime != null '>
|
|
|
- and DATE(l.update_time) >= DATE(#{maps.upSTime})
|
|
|
+ and DATE(update_time) >= DATE(#{maps.upSTime})
|
|
|
</if>
|
|
|
<if test='maps.upETime != null '>
|
|
|
- and DATE(l.update_time) <= DATE(#{maps.upETime})
|
|
|
+ and DATE(update_time) <= DATE(#{maps.upETime})
|
|
|
</if>
|
|
|
<if test="maps.sourceType != null">
|
|
|
and send_type = #{maps.sourceType}
|
|
|
</if>
|
|
|
<if test="maps.sopIds != null and maps.sopIds.size() > 0">
|
|
|
- and l.sop_id in
|
|
|
+ and sop_id in
|
|
|
AND sop_id IN
|
|
|
<foreach item="sopId" index="index" collection="maps.sopIds" open="(" separator="," close=")">
|
|
|
#{sopId}
|
|
@@ -593,28 +593,28 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND company_user_id = #{maps.companyUserId}
|
|
|
</if>
|
|
|
<if test= 'maps.sTime != null '>
|
|
|
- and DATE(l.create_time) >= DATE(#{maps.sTime})
|
|
|
+ and DATE(create_time) >= DATE(#{maps.sTime})
|
|
|
</if>
|
|
|
<if test='maps.eTime != null '>
|
|
|
- and DATE(l.create_time) <= DATE(#{maps.eTime})
|
|
|
+ and DATE(create_time) <= DATE(#{maps.eTime})
|
|
|
</if>
|
|
|
<if test= 'maps.scheduleStartTime != null '>
|
|
|
- and DATE(l.camp_period_time) >= DATE(#{maps.scheduleStartTime})
|
|
|
+ and DATE(camp_period_time) >= DATE(#{maps.scheduleStartTime})
|
|
|
</if>
|
|
|
<if test='maps.scheduleEndTime != null '>
|
|
|
- and DATE(l.camp_period_time) <= DATE(#{maps.scheduleEndTime})
|
|
|
+ and DATE(camp_period_time) <= DATE(#{maps.scheduleEndTime})
|
|
|
</if>
|
|
|
<if test= 'maps.upSTime != null '>
|
|
|
- and DATE(l.update_time) >= DATE(#{maps.upSTime})
|
|
|
+ and DATE(update_time) >= DATE(#{maps.upSTime})
|
|
|
</if>
|
|
|
<if test='maps.upETime != null '>
|
|
|
- and DATE(l.update_time) <= DATE(#{maps.upETime})
|
|
|
+ and DATE(update_time) <= DATE(#{maps.upETime})
|
|
|
</if>
|
|
|
<if test="maps.sourceType != null">
|
|
|
and send_type = #{maps.sourceType}
|
|
|
</if>
|
|
|
<if test="maps.sopIds != null and maps.sopIds.size() > 0">
|
|
|
- and l.sop_id in
|
|
|
+ and sop_id in
|
|
|
AND sop_id IN
|
|
|
<foreach item="sopId" index="index" collection="maps.sopIds" open="(" separator="," close=")">
|
|
|
#{sopId}
|