Browse Source

2025.5.23 新增界面打印库存标签(ALL) 功能主要解决库存为0时无法进行打印的问题

master
jiayang yue 8 months ago
parent
commit
36ea0f937a
  1. 6
      src/main/resources/mapper/production/DailyPlanMapper.xml

6
src/main/resources/mapper/production/DailyPlanMapper.xml

@ -886,10 +886,10 @@
<where>
Round(a.QtyOnHand, 3) > 0
<if test="startDate != null ">
and a.TransDate >= #{startDate}
and a.FirstInDate >= #{startDate}
</if>
<if test="endDate != null ">
and #{endDate} >= a.TransDate -1
and #{endDate} >= a.FirstInDate -1
</if>
<if test="site != null and site != ''">
AND a.site = #{site}
@ -907,7 +907,7 @@
AND a.PartNo LIKE #{partNo}
</if>
</where>
order by a.TransDate desc
order by a.FirstInDate desc
</select>
<update id="updatePrintStock">

Loading…
Cancel
Save