|
|
@ -76,9 +76,10 @@ public interface RefundMapper { |
|
|
|
"LEFT JOIN audit au ON d.detail_id = au.refund_id", |
|
|
|
"WHERE d.detail_flag = 1 and update_type = 2 ", |
|
|
|
"<if test='status!=null'>and au.status=#{status}</if>", |
|
|
|
"<if test='area!=null and area.length>0'>AND u.area = #{area}</if>", |
|
|
|
"<if test='jwcode != null'>AND d.jwcode = #{jwcode}</if>", |
|
|
|
"<if test='refundType != null'>AND d.refund_type LIKE CONCAT('%', #{refundType}, '%')</if>", |
|
|
|
"<if test='refundGoods != null'>AND d.refund_goods LIKE CONCAT('%', #{refundGoods}, '%')</if>", |
|
|
|
"<if test='refundType != null and refundType.length>0'>AND d.refund_type LIKE CONCAT('%', #{refundType}, '%')</if>", |
|
|
|
"<if test='refundGoods != null and refundGoods.length>0'>AND d.refund_goods LIKE CONCAT('%', #{refundGoods}, '%')</if>", |
|
|
|
"<if test='startDate != null and endDate != null'>AND d.create_time BETWEEN #{startDate} AND #{endDate}</if>", |
|
|
|
"ORDER BY d.create_time DESC", |
|
|
|
"</script>" |
|
|
|