|
|
@@ -1293,7 +1293,13 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
// 根据协议 如果是含增值税结算 用保费 * 如果是 不含税保费
|
|
|
InsPlyIncome insPlyIncome = new InsPlyIncome();
|
|
|
BeanUtils.copyProperties(insPlyIncomeVo, insPlyIncome);
|
|
|
-
|
|
|
+ if(StringUtils.isNotEmpty(insPlyIncomeVo.getSignDate())){
|
|
|
+ String signDate = insPlyIncomeVo.getSignDate();
|
|
|
+ DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
+ LocalDate date = LocalDate.parse(signDate, formatter);
|
|
|
+ LocalDateTime dateTime = date.atStartOfDay();
|
|
|
+ insPlyIncome.setSignDate(dateTime);
|
|
|
+ }
|
|
|
InsPlyIncome byId = baseMapper.getById(insPlyIncomeVo.getId());
|
|
|
InsPlyIncomeLog insPlyIncomeLog = new InsPlyIncomeLog();
|
|
|
insPlyIncomeLog.setIncomeId(insPlyIncome.getId());
|