|
|
@ -314,7 +314,6 @@ public class ScmSpecialRebateWithApplyService extends MybatisBaseService<ScmSpec |
|
|
|
for (ScmSpecialRebateWithDto scmSpecialRebateWith : scmSpecialRebateWiths) { |
|
|
|
List<String> specialRebateSids = scmSpecialRebateWith.getSpecialRebateSids(); |
|
|
|
for (String specialRebateSid : specialRebateSids) { |
|
|
|
scmSpecialRebateService.updateWithholdingDateBySid(specialRebateSid); |
|
|
|
scmSpecialRebateService.updateState(specialRebateSid, 1); |
|
|
|
} |
|
|
|
} |
|
|
@ -384,6 +383,7 @@ public class ScmSpecialRebateWithApplyService extends MybatisBaseService<ScmSpec |
|
|
|
if ("Event_end".equals(resultBean.getData().getTaskDefKey())) { |
|
|
|
for (String specialRebateSid : specialRebateSids) { |
|
|
|
scmSpecialRebateService.updateState(specialRebateSid, 2); |
|
|
|
scmSpecialRebateService.updateWithholdingDateBySid(specialRebateSid,scmSpecialRebateWithApply.getWithApply()); |
|
|
|
} |
|
|
|
} |
|
|
|
return rb.success().setData(resultBean.getData()); |
|
|
|