Commit d374328b by 翁国栋

产品名错误

parent f13c76c8
......@@ -1094,7 +1094,7 @@ public class InsureContorll {
InsurePolicy oldPolicy = InsurePolicy.builder().build().selectOne(new QueryWrapper<InsurePolicy>().lambda().eq(InsurePolicy::getPolicyNo, policy.getPolicyNo()));
if (oldPolicy == null) {
policy.setSchemeName(InsureProduct.builder().id(Integer.parseInt(productId)).build().selectById().getName());
policy.setSchemeName(insureProduct.getName());
policy.insert();
} else {
oldPolicy.setPolicyFile(policy.getPolicyFile());
......
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