自动化立体仓库 - WMS系统
zhangchao
2024-11-15 7c1af4c63e66754f0868c1a501f4895f9cbc9213
src/main/resources/mapper/ViewStockUseMapper.xml
@@ -152,7 +152,10 @@
          </if>
         ) a ) b
   WHERE 1=1 and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit})
   WHERE 1=1
   <if test="curr != null and curr !=''">
      and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit})
   </if>
</select>
<select id="selectWorkCountInTotal" resultType="java.lang.Integer">
@@ -183,7 +186,10 @@
      and matnr = #{matnr}
   </if>
   ) a ) b
   WHERE 1=1 and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit})
   WHERE 1=1
   <if test="curr != null and curr !=''">
      and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit})
   </if>
</select>
<select id="selectWorkCountOutTotal" resultType="java.lang.Integer">
   SELECT COUNT(*) FROM asr_wrkout_count_view