自动化立体仓库 - WMS系统
Junjie
2023-05-26 b6b46e1c4d390c80cf9bd7d4daa23202f2d11a22
src/main/resources/mapper/ViewWorkInMapper.xml
@@ -11,6 +11,9 @@
      <if test="matnr!=null and matnr!='' ">
         and matnr like '%' + #{matnr} + '%'
      </if>
      <if test="specs!=null and specs!='' ">
         and specs like '%' + #{specs} + '%'
      </if>
      <if test="maktx!=null and maktx!='' ">
         and (maktx like '%' + #{maktx} + '%'
         or matnr like '%' + #{maktx} + '%'
@@ -99,11 +102,13 @@
<!-- 不分页查询所有信息,用于excel导出 -->
<select id="getViewWorkInAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
   select count(1)
   from asr_wrkin_view a
<!--   select count(1)-->
<!--   from asr_wrkin_view a-->
<!--   where 1=1-->
<!--   <include refid="viewWorkInConditionSql"></include>-->
   select * from asr_wrkin_view
   where 1=1
   <include refid="viewWorkInConditionSql"></include>
   order by io_time desc
</select>
<!-- 出库统计 -->