Commit f13c76c8 by 翁国栋

产品名错误

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