|
@ -597,7 +597,7 @@ public class TbsCostApplyController { |
|
|
if(costApplys.size()>0){ |
|
|
if(costApplys.size()>0){ |
|
|
TbsCostApply costApply = costApplys.get(0); |
|
|
TbsCostApply costApply = costApplys.get(0); |
|
|
Long costApplyId = costApply.getId(); |
|
|
Long costApplyId = costApply.getId(); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark,skipPayFlag!=null&&skipPayFlag.equals(1)); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark,skipPayFlag!=null&&skipPayFlag.equals(1),null); |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
} |
|
|
} |
|
|
return R.ok(); |
|
|
return R.ok(); |
|
@ -610,10 +610,10 @@ public class TbsCostApplyController { |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("removeByAdmin2") |
|
|
@GetMapping("removeByAdmin2") |
|
|
public R<?> removeByAdmin2(String costCode,String remark){ |
|
|
public R<?> removeByAdmin2(String costCode,String remark,Integer skipPayFlag){ |
|
|
TbsCostApply costApply = tbsCostApplyMapper.selectList(new LambdaQueryWrapper<TbsCostApply>().eq(TbsCostApply::getCode,costCode)).get(0); |
|
|
TbsCostApply costApply = tbsCostApplyMapper.selectList(new LambdaQueryWrapper<TbsCostApply>().eq(TbsCostApply::getCode,costCode)).get(0); |
|
|
Long costApplyId = costApply.getId(); |
|
|
Long costApplyId = costApply.getId(); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark,skipPayFlag!=null&&skipPayFlag.equals(1),null); |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
return R.ok(); |
|
|
return R.ok(); |
|
|
} |
|
|
} |
|
@ -625,9 +625,9 @@ public class TbsCostApplyController { |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("removeByAdmin") |
|
|
@GetMapping("removeByAdmin") |
|
|
public R<?> removeByAdmin(Long costApplyId,String remark){ |
|
|
public R<?> removeByAdmin(Long costApplyId,String remark,Integer skipPayFlag){ |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
BirActivityCenterGoodsUtil.buildBir(costApplyId); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark); |
|
|
deleteLogService.deleteCostApply(costApplyId,remark,skipPayFlag!=null&&skipPayFlag.equals(1),null); |
|
|
return R.ok(); |
|
|
return R.ok(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|