| | |
| | | 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"> |
| | |
| | | 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 ( |
| | |
| | | </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--> |
| | |
| | | </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 |
| | |
| | | </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 |
| | |
| | | </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> |