自动化立体仓库 - WMS系统
zhangchao
2024-11-08 b0936f893a4712eebf55030bbdab159db8fe9d58
src/main/resources/mapper/ViewWorkInMapper.xml
@@ -36,6 +36,12 @@
         and io_time <= #{end_date}
         ]]>
      </if>
        <if test="loc_type1!=null ">
            and loc_type1 =#{loc_type1}
        </if>
        <if test="floor!=null">
            and floor =#{floor}
        </if>
</sql>
<sql id="viewWorkOutConditionSql">
@@ -70,11 +76,18 @@
         and crn_str_time <= #{end_date}
         ]]>
      </if>
        <if test="loc_type1!=null ">
            and loc_type1 =#{loc_type1}
        </if>
        <if test="floor!=null">
            and floor =#{floor}
        </if>
</sql>
<!-- 入库统计 -->
<!-- 分页查询所有信息 -->
<select id="queryViewWorkInList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
    <select id="queryViewWorkInList" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
   select
   *
   from (
@@ -101,7 +114,8 @@
</select>
<!-- 不分页查询所有信息,用于excel导出 -->
<select id="getViewWorkInAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
    <select id="getViewWorkInAll" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
<!--   select count(1)-->
<!--   from asr_wrkin_view a-->
<!--   where 1=1-->
@@ -112,15 +126,18 @@
</select>
<!-- 不分页查询所有信息,ERP调用 -->
<select id="getViewWorkInERP" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
   select top 100 * from asr_wrkin_view
    <select id="getViewWorkInERP" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
        select top 100 *
        from asr_wrkin_view
   where 1=1
   Order by io_time desc
</select>
<!-- 出库统计 -->
<!-- 分页查询所有信息 -->
<select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
    <select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
   select
@@ -149,7 +166,8 @@
</select>
<!-- 不分页查询所有信息,用于excel导出 -->
<select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
    <select id="getViewWorkOutAll" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
   select *
   from asr_wrkout_view a
   where 1=1
@@ -158,8 +176,10 @@
</select>
<!-- 不分页查询所有信息,ERP调用 -->
<select id="getViewWorkOutERP" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean">
   select top 100 * from asr_wrkout_view
    <select id="getViewWorkOutERP" parameterType="com.zy.asrs.entity.ViewWorkInBean"
            resultType="com.zy.asrs.entity.ViewWorkInBean">
        select top 100 *
        from asr_wrkout_view
   where 1=1
   Order by io_time desc
</select>