| | |
| | | <result column="row" property="row"/> |
| | | <result column="io_time" property="io_time"/> |
| | | <result column="loc_no" property="loc_no"/> |
| | | <result column="crn_str_time" property="crn_str_time"/> |
| | | <result column="crn_end_time" property="crn_end_time"/> |
| | | <result column="zpallet" property="zpallet"/> |
| | | <result column="anfme" property="anfme"/> |
| | | <result column="matnr" property="matnr"/> |
| | |
| | | <if test="matnr!=null and matnr!='' "> |
| | | and matnr like '%' + #{matnr} + '%' |
| | | </if> |
| | | <if test="maktx!=null and maktx!='' "> |
| | | and (maktx like '%' + #{maktx} + '%' |
| | | or matnr like '%' + #{maktx} + '%' |
| | | or lgnum like '%' + #{maktx} + '%' |
| | | or tbnum like '%' + #{maktx} + '%' |
| | | or tbpos like '%' + #{maktx} + '%' |
| | | or zmatid like '%' + #{maktx} + '%' |
| | | or maktx like '%' + #{maktx} + '%' |
| | | or werks like '%' + #{maktx} + '%' |
| | | or anfme like '%' + #{maktx} + '%' |
| | | or altme like '%' + #{maktx} + '%' |
| | | or zpallet like '%' + #{maktx} + '%' |
| | | or bname like '%' + #{maktx} + '%' |
| | | ) |
| | | <if test="anfme != null and anfme != ''"> |
| | | and anfme = #{anfme} |
| | | </if> |
| | | <if test="standby1 != null and standby1 != ''"> |
| | | and standby1 like concat('%',#{standby1},'%') |
| | | </if> |
| | | <if test="standby3 != null and standby3 != ''"> |
| | | and standby3 like concat('%',#{standby3},'%') |
| | | </if> |
| | | <if test="zpallet != null and zpallet != ''"> |
| | | and zpallet like concat('%',#{zpallet},'%') |
| | | </if> |
| | | <if test="begin_date!=null and begin_date!='' "> |
| | | <![CDATA[ |
| | |
| | | |
| | | <!-- 出库统计 --> |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultType="com.zy.asrs.entity.ViewWorkInBean"> |
| | | <select id="queryViewWorkOutList" parameterType="com.zy.asrs.entity.ViewWorkInBean" resultMap="ViewWorkInResultMap"> |
| | | select |
| | | * |
| | | from ( |
| | |
| | | </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" resultMap="ViewWorkInResultMap"> |
| | | select * |
| | | from asr_wrkout_view a |
| | | where 1=1 |