|
|
@@ -4,6 +4,7 @@ import cn.hutool.core.date.DatePattern;
|
|
|
import cn.hutool.core.date.LocalDateTimeUtil;
|
|
|
import com.aliyun.dts.subscribe.clients.record.OperationType;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import com.kxs.common.core.constant.enums.KindTypeEnum;
|
|
|
import com.kxs.transfer.api.mapper.user.KxsLeaderAmountLogMapper;
|
|
|
import com.kxs.transfer.api.model.table.DMLData;
|
|
|
import com.kxs.transfer.api.service.user.KxsLeaderAmountLogService;
|
|
|
@@ -56,6 +57,14 @@ public class KxsLeaderAmountLogServiceImpl extends ServiceImpl<KxsLeaderAmountLo
|
|
|
case "Sort":
|
|
|
leaderAmountLog.setVariationType(Integer.parseInt(validFieldDataMap.get(field).toString()));
|
|
|
break;
|
|
|
+ case "ChangeType":
|
|
|
+ int type = Integer.parseInt(validFieldDataMap.get(field).toString());
|
|
|
+ if(type == 1){
|
|
|
+ leaderAmountLog.setKind(KindTypeEnum.SUB.getType());
|
|
|
+ } else {
|
|
|
+ leaderAmountLog.setKind(KindTypeEnum.ADD.getType());
|
|
|
+ }
|
|
|
+ break;
|
|
|
case "ChangeAmt":
|
|
|
leaderAmountLog.setAmount(new BigDecimal(validFieldDataMap.get(field).toString()));
|
|
|
break;
|