Commit adf0eaf9 by jianshuqin

增加所属项目和所属账期

parent 50e6560b
...@@ -137,7 +137,9 @@ public class SyncFeeService { ...@@ -137,7 +137,9 @@ public class SyncFeeService {
} }
BeanUtils.copyProperties(manageCostDto, dcBaseFinanceManagecost, "id"); BeanUtils.copyProperties(manageCostDto, dcBaseFinanceManagecost, "id");
dcBaseFinanceManagecost.setGmtModifyTime(LocalDateTime.now()); dcBaseFinanceManagecost.setGmtModifyTime(LocalDateTime.now());
dcBaseFinanceManagecost.setPayTime(manageCostDto.getPayTime().toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime()); if (manageCostDto.getPayTime() != null){
dcBaseFinanceManagecost.setPayTime(manageCostDto.getPayTime().toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime());
}
dcBaseFinanceManagecostService.saveOrUpdate(dcBaseFinanceManagecost); dcBaseFinanceManagecostService.saveOrUpdate(dcBaseFinanceManagecost);
log.info("同步一条管理成本,costNo:{}", manageCostDto.getCostId()); log.info("同步一条管理成本,costNo:{}", manageCostDto.getCostId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment