Commit 92e4c2e3 by 翁国栋 Committed by 284718418@qq.com

导入被保人员bug修复

parent d4ba2dee
...@@ -167,3 +167,6 @@ SET FOREIGN_KEY_CHECKS = 1; ...@@ -167,3 +167,6 @@ SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO `timer_test`.`admin_menu_template`(`id`, `parentId`, `menu_code`, `menu_name`, `sort_number`, `path`, `enable`, `distribution`) VALUES (23, 0, 'policy', '保单管理', 23, '/policy', 1, 1); INSERT INTO `timer_test`.`admin_menu_template`(`id`, `parentId`, `menu_code`, `menu_name`, `sort_number`, `path`, `enable`, `distribution`) VALUES (23, 0, 'policy', '保单管理', 23, '/policy', 1, 1);
INSERT INTO `timer_test`.`qyzx_admin_menu`(`id`, `menu_code`, `menu_name`, `sort_number`, `org_code`, `addtime`) VALUES (364, 'policy', '保单管理', 17, 1, 1648712195019); INSERT INTO `timer_test`.`qyzx_admin_menu`(`id`, `menu_code`, `menu_name`, `sort_number`, `org_code`, `addtime`) VALUES (364, 'policy', '保单管理', 17, 1, 1648712195019);
ALTER TABLE `timer_test`.`insure_user`
ADD COLUMN `reason` varchar(255) NULL COMMENT '批改原因' AFTER `apply_type`;
...@@ -155,5 +155,7 @@ public class InsureUser extends Model<InsureUser> { ...@@ -155,5 +155,7 @@ public class InsureUser extends Model<InsureUser> {
@ApiModelProperty(value = "申请类型:1新增 2投保 3批增") @ApiModelProperty(value = "申请类型:1新增 2投保 3批增")
private Integer applyType; private Integer applyType;
@ApiModelProperty(value = "批改原因")
private String reason;
} }
...@@ -34,6 +34,10 @@ public class InsureDto { ...@@ -34,6 +34,10 @@ public class InsureDto {
private String[] userIds; private String[] userIds;
private Double totalPrice; private Double totalPrice;
private MultipartFile file; private MultipartFile file;
private Integer limit =0;/*代表是单独替换*/
private String userName;
private String idCardNo;
private String reason;/*批改原因*/
// private String // private String
} }
...@@ -276,6 +276,9 @@ ...@@ -276,6 +276,9 @@
select count(ip.id) select count(ip.id)
from insure_policy ip from insure_policy ip
<where> <where>
<if test="policy.productId!=null and policy.productId!=''">
and ip.product_id = #{policy.productId}
</if>
<if test="policy.status!=null and policy.status!=''"> <if test="policy.status!=null and policy.status!=''">
and ip.status = #{policy.status} and ip.status = #{policy.status}
</if> </if>
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<result property="policyId" column="policy_id"/> <result property="policyId" column="policy_id"/>
<result property="replaceTransId" column="replace_trans_id"/> <result property="replaceTransId" column="replace_trans_id"/>
<result property="applyType" column="apply_type"/> <result property="applyType" column="apply_type"/>
<result property="reason" column="reason"/>
</resultMap> </resultMap>
<select id="queryObject" resultType="cn.timer.api.bean.insure.InsureUser"> <select id="queryObject" resultType="cn.timer.api.bean.insure.InsureUser">
......
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