|
@ -116,10 +116,10 @@ public class TbsCostApplyPart1ServiceImpl implements TbsCostApplyPart1Service { |
|
|
tbsActivityMapper.update(activity4Update,activityLqw); |
|
|
tbsActivityMapper.update(activity4Update,activityLqw); |
|
|
this.copyAboutActivityData(newCostApplyId, activityList); |
|
|
this.copyAboutActivityData(newCostApplyId, activityList); |
|
|
//更变旧记录
|
|
|
//更变旧记录
|
|
|
|
|
|
orgCost.setChangeStateRecord(orgCost.getChargeState()); |
|
|
orgCost.setChargeState(TbsCostApplyState.State_7_changed.getCode()); |
|
|
orgCost.setChargeState(TbsCostApplyState.State_7_changed.getCode()); |
|
|
orgCost.setCancelFlag(1); |
|
|
orgCost.setCancelFlag(1); |
|
|
orgCost.setChangeExtendId(costApply.getId()); |
|
|
orgCost.setChangeExtendId(costApply.getId()); |
|
|
orgCost.setChangeStateRecord(costApply.getChargeState()); |
|
|
|
|
|
orgCost.setChangeActionTime(LocalDateTime.now()); |
|
|
orgCost.setChangeActionTime(LocalDateTime.now()); |
|
|
tbsCostApplyService.updateById(orgCost); |
|
|
tbsCostApplyService.updateById(orgCost); |
|
|
return costApply; |
|
|
return costApply; |
|
@ -149,8 +149,8 @@ public class TbsCostApplyPart1ServiceImpl implements TbsCostApplyPart1Service { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
extCost.setCancelFlag(1); |
|
|
extCost.setCancelFlag(1); |
|
|
extCost.setChargeState(TbsCostApplyState.State_8_changed_fail.getCode()); |
|
|
|
|
|
extCost.setChangeStateRecord(extCost.getChargeState()); |
|
|
extCost.setChangeStateRecord(extCost.getChargeState()); |
|
|
|
|
|
extCost.setChargeState(TbsCostApplyState.State_8_changed_fail.getCode()); |
|
|
tbsCostApplyService.updateById(extCost); |
|
|
tbsCostApplyService.updateById(extCost); |
|
|
//恢复原来费用申请的状态
|
|
|
//恢复原来费用申请的状态
|
|
|
TbsCostApply costApply = tbsCostApplyService.getById(extCost.getChangeSourceId()); |
|
|
TbsCostApply costApply = tbsCostApplyService.getById(extCost.getChangeSourceId()); |
|
|