|
@@ -488,6 +488,7 @@ public class BizHousingFundDeclareController extends BaseController {
|
|
|
bizHistory.setEvent("退回");
|
|
|
bizHistory.setTenantId(getTenantId());
|
|
|
bizHistory.setBelongPeriod(detail.getYear() + "-" +String.format("%02d", Integer.valueOf(detail.getMonth())));
|
|
|
+ bizHistory.setReason(detail.getRefuseReason());
|
|
|
bizHistoryService.save(bizHistory);
|
|
|
deductionService.removeBatchByIds(deductions.stream().map(BizDeduction::getId).collect(Collectors.toList()));
|
|
|
return housingFundDeclareDetailService.updateById(detail) && addRecord(detail.getHousingFundDeclareId(), detail.getYear(), detail.getMonth(), SecurityUtils.getUserId(), "公积金申报退回", 1) ? success() : error();
|