Browse Source

9.9 退款类型传参

lijianlin/feature-20250728171217-三期金豆消费相关
huangqizhen 4 weeks ago
parent
commit
7f5a5753aa
  1. 2
      src/main/java/com/example/demo/domain/vo/coin/RefundUser.java
  2. 6
      src/main/resources/mapper/RefundMapper.xml

2
src/main/java/com/example/demo/domain/vo/coin/RefundUser.java

@ -77,4 +77,6 @@ public class RefundUser {
private List<String> markets; // 地区列表
@ExcelIgnore
private Integer flag; //是否为员工号
@ExcelIgnore
private Integer type;
}

6
src/main/resources/mapper/RefundMapper.xml

@ -270,9 +270,11 @@
ugr.task_gold AS taskGold
FROM user_gold_record ugr
<where>
ugr.type = 1
AND ugr.is_refund = 0
ugr.is_refund = 0
AND ugr.flag = 1
<if test="ugr.type !=null and ugr.type != '' ">
AND ugr.type = #{type}
</if>
<if test="jwcode != null and jwcode != ''">
AND ugr.jwcode = #{jwcode}
</if>

Loading…
Cancel
Save