| | |
| | | <result column="PDC_TYPE" property="PdcType" /> |
| | | <result column="BARCODE" property="barcode" /> |
| | | <result column="CTN_NO" property="ctnNo" /> |
| | | <result column="STATUS" property="status" /> |
| | | <result column="CONTAINER_CODE" property="containerCode" /> |
| | | <result column="CONTAINER_TYPE_CODE" property="containerTypeCode" /> |
| | | <result column="EMPTY_CONTAINER" property="emptyContainer" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="batchSeq"> |
| | | <if test="locSts != null and locSts != ''"> |
| | | and LOC_STS = #{locSts} |
| | | </if> |
| | | <if test="locNo != null and locNo != ''"> |
| | | and LOC_NO like '%' + #{locNo} + '%' |
| | | and LOC_NO = #{locNo} |
| | | </if> |
| | | <if test="whsType != null and whsType != 0"> |
| | | and WHS_TYPE = #{whsType} |
| | |
| | | </sql> |
| | | |
| | | <select id="selectLocMastListSix" resultMap="BaseResultMap"> |
| | | SELECT * FROM "SOURCE"."sys_role" |
| | | SELECT * FROM "SOURCE"."asr_loc_mast" |
| | | WHERE 1=1 |
| | | <include refid="batchSeq"></include> |
| | | ORDER BY ID DESC |
| | | LIMIT #{pageSize} OFFSET ((#{pageNumber} - 1) * #{pageSize}); |
| | | </select> |
| | | |
| | | <select id="selectLocMastListTotalSix" resultType="Long"> |
| | | SELECT count(1) FROM "SOURCE"."sys_role" |
| | | SELECT count(1) FROM "SOURCE"."asr_loc_mast" |
| | | WHERE 1=1 |
| | | <include refid="batchSeq"></include> |
| | | </select> |
| | | |
| | | <select id="selectLocMastList" resultMap="BaseResultMap"> |
| | | SELECT * FROM "SOURCE"."sys_role" |
| | | SELECT * FROM "SOURCE"."asr_loc_mast" |
| | | WHERE 1=1 |
| | | <if test="locNo != null and locNo != ''"> |
| | | and LOC_NO like '%' + #{locNo} + '%' |
| | | </if> |
| | | ORDER BY ID DESC |
| | | LIMIT #{pageSize} OFFSET ((#{pageNumber} - 1) * #{pageSize}); |
| | | </select> |
| | | |
| | | <select id="selectLocMastListTotal" resultType="Long"> |
| | | SELECT count(1) FROM "SOURCE"."sys_role" |
| | | SELECT count(1) FROM "SOURCE"."asr_loc_mast" |
| | | WHERE 1=1 |
| | | <if test="locNo != null and locNo != ''"> |
| | | and LOC_NO like '%' + #{locNo} + '%' |