| | |
| | | <if test="matnr != null and matnr !='' "> |
| | | and t.matnr like '%' + #{matnr} + '%' |
| | | </if> |
| | | <if test="owner != null and owner !='' "> |
| | | and t.owner like '%' + #{owner} + '%' |
| | | <if test="owner != null"> |
| | | and t.owner = #{owner} |
| | | </if> |
| | | <if test="payment != null and payment !='' "> |
| | | <if test="payment != null"> |
| | | and t.payment = #{payment} |
| | | </if> |
| | | |
| | |
| | | SELECT * FROM asr_loc_detl_all |
| | | ) t |
| | | WHERE 1=1 |
| | | |
| | | <include refid="selectAllSql"></include> |
| | | ) a |
| | | WHERE a.row BETWEEN ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |