|
|
@ -116,6 +116,9 @@ public class TbsCostApplyServiceImpl extends ServiceImpl<TbsCostApplyMapper,TbsC |
|
|
|
if(count>0){ |
|
|
|
Assert.throwEx("含核销记录不可作废"); |
|
|
|
} |
|
|
|
TbsCostApply costApply4Update = new TbsCostApply(); |
|
|
|
costApply4Update.setId(id); |
|
|
|
costApply4Update.setChargeState(TbsCostApplyState.State_6_remove.getCode()); |
|
|
|
//删除费用占用的预算
|
|
|
|
LambdaQueryWrapper<TbsBudgetLog> rmLogLqw = new LambdaQueryWrapper<>(); |
|
|
|
rmLogLqw.eq(TbsBudgetLog::getCostApplyId,id); |
|
|
|