Browse Source

FQC 查询BUG

master
rui_li 4 years ago
parent
commit
b671172a83
  1. 20
      src/main/resources/mapper/schedule/SchedulingMapper.xml

20
src/main/resources/mapper/schedule/SchedulingMapper.xml

@ -40,6 +40,26 @@
<if test='preScheduledFlag != null and preScheduledFlag == "Y"'>
and Isnull(S1.ScheduledFlag,'Y')='Y'
</if>
<if test='orderNo != null and orderNo != ""'>
AND T.OrderNo = #{orderNo}
</if>
<if test='partNo != null and partNo != ""'>
AND T.PartNo = #{partNo}
</if>
<if test="needTime1 != null">
and D.NeedDate<![CDATA[ >= ]]>#{needTime1}
</if>
<if test="needTime2 != null">
and D.NeedDate<![CDATA[ <= ]]>#{needTime2}
</if>
<if test="enterTime1 != null">
and D.EnterDate<![CDATA[ >= ]]> #{enterTime1}
</if>
<if test="enterTime2 != null">
and D.EnterDate-1<![CDATA[<]]> #{enterTime2}
</if>
</where>
</select>

Loading…
Cancel
Save