| | |
| | | and tom.status = #{query.status} |
| | | </if> |
| | | <if test="query.orderNum != null and query.orderNum != ''"> |
| | | and tom.orderNum LIKE concat('%',#{query.status},'%') |
| | | and tom.orderNum LIKE concat('%',#{query.orderNum},'%') |
| | | </if> |
| | | <if test="query.shopId != null"> |
| | | and tom.shopId = #{query.shopId} |
| | |
| | | and tom.status = #{query.status} |
| | | </if> |
| | | <if test="query.orderNum != null and query.orderNum"> |
| | | and tom.orderNum LIKE concat('%',#{query.status},'%') |
| | | and tom.orderNum LIKE concat('%',#{query.orderNum},'%') |
| | | </if> |
| | | <if test="query.shopId != null"> |
| | | and tom.shopId = #{query.shopId} |