自动化立体仓库 - WMS系统
pjb
2025-08-12 1e6b4d88290ccd79b51bed3acb805750a0ea7d01
src/main/resources/mapper/ViewWorkInMapper.xml
@@ -6,10 +6,10 @@
<!-- mapper不支持sql语句嵌套时,采用sql片段包含方式,解决xml标签问题 -->
<sql id="viewWorkInConditionSql">
      <if test="loc_no!=null and loc_no!='' ">
         and loc_no like '%' + #{loc_no} + '%'
         and loc_no = #{loc_no}
      </if>
      <if test="matnr!=null and matnr!='' ">
         and matnr like '%' + #{matnr} + '%'
         and matnr = #{matnr}
      </if>
      <if test="anfme != null and anfme != ''">
         and anfme = #{anfme}
@@ -94,7 +94,7 @@
      ROW_NUMBER() OVER(Order by t.io_time desc) as row
      , *
      from (
         select *
         select manu_date manuDate,man_length manLength,*
         from asr_wrkin_view
         where 1=1
         <include refid="viewWorkInConditionSql"></include>
@@ -115,7 +115,7 @@
<!--   from asr_wrkin_view a-->
<!--   where 1=1-->
<!--   <include refid="viewWorkInConditionSql"></include>-->
   select * from asr_wrkin_view
   select *,manu_date manuDate,man_length manLength from asr_wrkin_view
   where 1=1
   <include refid="viewWorkInConditionSql"></include>
</select>
@@ -132,7 +132,7 @@
      ROW_NUMBER() OVER(Order by t.io_time desc) as row
      , *
      from (
         select *
         select manu_date manuDate,man_length manLength,*
         from asr_wrkout_view
         where 1=1
         <include refid="viewWorkInConditionSql"></include>
@@ -150,7 +150,7 @@
<!-- 不分页查询所有信息,用于excel导出 -->
<select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
   select *
   select *,manu_date manuDate,man_length manLength
   from asr_wrkout_view a
   where 1=1
   <include refid="viewWorkInConditionSql"></include>