| | |
| | | <if test="delivery.area != null and delivery.area != ''"> |
| | | and d.area regexp REGEXP_REPLACE(#{delivery.area},'\\.0+$','') |
| | | </if> |
| | | <if test="delivery.deliveryState != null "> |
| | | and d.delivery_state = #{delivery.deliveryState} |
| | | </if> |
| | | <if test="delivery.stockState != null "> |
| | | and d.stock_state = #{delivery.stockState} |
| | | </if> |
| | | |
| | | </where> |
| | | group by d.delivery_id |
| | |
| | | <if test="delivery.area != null and delivery.area != ''"> |
| | | and d.area regexp REGEXP_REPLACE(#{delivery.area},'\\.0+$','') |
| | | </if> |
| | | <if test="delivery.deliveryState != null "> |
| | | and d.delivery_state = #{delivery.deliveryState} |
| | | </if> |
| | | <if test="delivery.stockState != null "> |
| | | and d.stock_state = #{delivery.stockState} |
| | | </if> |
| | | </where> |
| | | limit #{offset},#{pageSize}; |
| | | </select> |