Commit 81353c32 authored by fangxinjiang's avatar fangxinjiang

商险自动化限制:新增、批增、替换-fxj

parent 73dda337
......@@ -318,7 +318,7 @@ public class TInsurancePolicyServiceImpl extends ServiceImpl<TInsurancePolicyMap
type = typeMapper.selectOne(Wrappers.<TInsuranceType>query().lambda()
.eq(TInsuranceType::getName,excel.getInsuranceTypeName())
.eq(TInsuranceType::getInsuranceCompanyId,company.getId()).last(CommonConstants.LAST_ONE_SQL));
if (null != type){
if (null == type){
errorMessageList.add(new ErrorMessage(excel.getRowIndex(), "保单号【" + excel.getPolicyNo() + "】的险种与保险公司不一致,未导入",excel));
continue;
}
......
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