| | |
| | | <!-- 明细视图B的通用查询映射结果 --> |
| | | <resultMap id="PakoutDetailResultMap" type="com.zy.asrs.entity.result.OrderPakoutDetailVo"> |
| | | <id column="id" property="id" jdbcType="BIGINT"/> |
| | | <result column="row" property="row" jdbcType="BIGINT"/> |
| | | <result column="item_name" property="itemName" jdbcType="VARCHAR"/> |
| | | <result column="matnr" property="matnr" jdbcType="VARCHAR"/> |
| | | <result column="batch" property="batch" jdbcType="VARCHAR"/> |
| | |
| | | <if test="itemName != null and itemName != ''"> |
| | | AND item_name LIKE CONCAT('%', #{itemName}, '%') |
| | | </if> |
| | | AND row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | | ORDER BY create_time DESC |
| | | </select> |
| | | |