| | |
| | | and row1 like '%' + #{row1} + '%' |
| | | </if> |
| | | </sql> |
| | | <resultMap id="ViewStockUseMap" type="com.zy.asrs.entity.ViewStockUseBean"> |
| | | <id column="row1" property="row1"/> |
| | | |
| | | <result column="total_qty" property="total_qty"/> |
| | | <result column="full_qty" property="full_qty"/> |
| | | <result column="null_qty" property="null_qty"/> |
| | | <result column="forbid_qty" property="forbid_qty"/> |
| | | <result column="empty_qty" property="empty_qty"/> |
| | | <!-- <result column="use_qty" property="use_qty"/>--> |
| | | <result column="full_rate" property="full_rate"/> |
| | | <result column="occ_rate" property="occ_rate"/> |
| | | </resultMap> |
| | | <!-- 分页查询所有信息 --> |
| | | <select id="queryViewStockUseList" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultType="com.zy.asrs.entity.ViewStockUseBean"> |
| | | <select id="queryViewStockUseList" parameterType="com.zy.asrs.entity.ViewStockUseBean" resultMap="ViewStockUseMap"> |
| | | select top (#{pageSize}) * from asr_stk_use_view |
| | | <where> |
| | | row1 not in (select top ((#{pageNumber}-1)*#{pageSize}) row1 from asr_stk_use_view |