|
|
@@ -143,6 +143,16 @@ public class InsOrderPayDateRecordServiceImpl extends ServiceImpl<InsOrderPayDat
|
|
|
}
|
|
|
//更新时间表
|
|
|
insAreaCompanyService.updateById(subOrder);
|
|
|
+ //判斷又沒有結算表如果有更新 add by hxl 2024-12-30
|
|
|
+ if(subOrder.getSigningTime()!=null){
|
|
|
+ LambdaQueryWrapper<InsPlyIncome> lqw = new LambdaQueryWrapper<>();
|
|
|
+ lqw.eq(InsPlyIncome::getOrderno, subOrder.getId());
|
|
|
+ InsPlyIncome insPlyIncome = insPlyIncomeService.getOne(lqw);
|
|
|
+ if(insPlyIncome!=null){
|
|
|
+ insPlyIncome.setSignDate(subOrder.getSigningTime());
|
|
|
+ insPlyIncomeService.updateById(insPlyIncome);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}else{
|
|
|
throw new SystemException("生成保单失败");
|