| | |
| | | <result column="appe_user" property="appeUser" /> |
| | | <result column="appe_time" property="appeTime" /> |
| | | <result column="memo" property="memo" /> |
| | | <result column="owner" property="owner" /> |
| | | <result column="payment" property="payment" /> |
| | | <result column="uuid" property="uuid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="batchSeq"> |
| | |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <choose> |
| | | <when test="owner != null and owner != 0"> |
| | | and owner = #{owner} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <choose> |
| | | <when test="payment != null and payment != 0"> |
| | | and payment = #{payment} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <include refid="stockOutCondition"></include> |
| | | ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | | </select> |
| | |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <choose> |
| | | <when test="owner != null and owner != 0"> |
| | | and owner = #{owner} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <choose> |
| | | <when test="payment != null and payment != 0"> |
| | | and payment = #{payment} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <include refid="stockOutCondition"></include> |
| | | </select> |
| | | |