| | |
| | | <result column="maktx" property="maktx" /> |
| | | <result column="specs" property="specs" /> |
| | | <result column="batch" property="batch" /> |
| | | <result column="create_time" property="createTime"/> |
| | | </resultMap> |
| | | |
| | | <sql id="batchSeq"> |
| | |
| | | a.matnr, |
| | | a.maktx, |
| | | a.specs, |
| | | a.batch |
| | | a.batch, |
| | | a.create_time |
| | | from asr_check_detl a |
| | | where 1=1 |
| | | <include refid="stockOutCondition" /> |
| | | ) t |
| | | where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | |
| | | <select id="getStockCheckCount" parameterType="java.util.Map" resultType="java.lang.Integer"> |
| | | select count(1) |
| | | from asr_check_detl a |
| | | where 1=1 |
| | | <include refid="stockOutCondition" /> |
| | | </select> |
| | | |