ruanqi 3 years ago
parent
commit
d986a5d38a
  1. 24
      src/main/resources/mapper/schedule/ScheduleMapper.xml

24
src/main/resources/mapper/schedule/ScheduleMapper.xml

@ -429,10 +429,10 @@
and b.S_ShiftNo = #{shiftNo} and b.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
</where> </where>
) d ) d
@ -470,10 +470,10 @@
and c.S_ShiftNo = #{shiftNo} and c.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
<if test="defectCode != null and defectCode != ''"> <if test="defectCode != null and defectCode != ''">
and a.defectCode like #{defectCode} and a.defectCode like #{defectCode}
@ -518,10 +518,10 @@
and b.S_ShiftNo = #{shiftNo} and b.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
</where> </where>
) a ) a
@ -560,10 +560,10 @@
and b.S_ShiftNo = #{shiftNo} and b.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
</where> </where>
) a ) a
@ -602,10 +602,10 @@
and b.S_ShiftNo = #{shiftNo} and b.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
</where> </where>
) a ) a
@ -644,10 +644,10 @@
and b.S_ShiftNo = #{shiftNo} and b.S_ShiftNo = #{shiftNo}
</if> </if>
<if test="startDate != null "> <if test="startDate != null ">
and ReportDate >= #{startDate}
and b.ReportDate >= #{startDate}
</if> </if>
<if test="endDate != null "> <if test="endDate != null ">
and #{endDate} >= ReportDate
and #{endDate} >= b.ReportDate
</if> </if>
</where> </where>
) a ) a

Loading…
Cancel
Save