| | |
| | | <if test="payment != null"> |
| | | and t.payment = #{payment} |
| | | </if> |
| | | <if test="sku != null"> |
| | | and t.sku = #{sku} |
| | | </if> |
| | | <if test="supp != null"> |
| | | and t.supp = #{supp} |
| | | </if> |
| | | |
| | | </sql> |
| | | |
| | |
| | | ROW_NUMBER() over (order by sum(a.anfme) desc) as row |
| | | , a.matnr |
| | | , sum(a.anfme) as anfme |
| | | , a.order_no as orderNo |
| | | , a.standby1 |
| | | , a.standby2 |
| | | , a.standby3 |
| | | , a.box_type1 as boxType1 |
| | | , a.box_type3 as boxType3 |
| | | from asr_loc_detl a |
| | | where 1=1 |
| | | group by a.matnr |
| | | group by a.matnr,a.order_no,a.box_type3,a.standby1,a.standby2,a.standby3,a.box_type1 |
| | | </select> |
| | | |
| | | <select id="selectPakoutByRule" resultMap="BaseResultMap"> |