Commit 9e5d3f63 authored by fangxinjiang's avatar fangxinjiang

商险 投保 已投保 已退保 新增字段 有效无效 查询 列表 导出

parent eae2a355
package com.yifu.cloud.plus.v1.yifu.insurances.vo; package com.yifu.cloud.plus.v1.yifu.insurances.vo;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity; import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
...@@ -112,4 +114,10 @@ public class InsuranceListParam extends BaseEntity { ...@@ -112,4 +114,10 @@ public class InsuranceListParam extends BaseEntity {
@Schema(description ="客户编码") @Schema(description ="客户编码")
private String unitNo; private String unitNo;
/**
* 是否有效 0有效 1无效
*/
@Schema(description = "是否有效 0有效 1无效")
private Integer isEffect;
} }
...@@ -165,4 +165,10 @@ public class InsuranceListVO implements Serializable { ...@@ -165,4 +165,10 @@ public class InsuranceListVO implements Serializable {
@Schema(description ="客户编码") @Schema(description ="客户编码")
private String unitNo; private String unitNo;
/**
* 是否有效 0有效 1无效
*/
@Schema(description = "是否有效 0有效 1无效")
private Integer isEffect;
} }
...@@ -209,4 +209,10 @@ public class InsuranceRefundListVo implements Serializable { ...@@ -209,4 +209,10 @@ public class InsuranceRefundListVo implements Serializable {
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("派单日期") @ExcelProperty("派单日期")
private LocalDateTime createTime; private LocalDateTime createTime;
/**
* 是否有效 0有效 1无效
*/
@Schema(description = "是否有效 0有效 1无效")
private Integer isEffect;
} }
...@@ -85,4 +85,10 @@ public class InsuranceRefundParam extends BaseEntity implements Serializable { ...@@ -85,4 +85,10 @@ public class InsuranceRefundParam extends BaseEntity implements Serializable {
*/ */
@Schema(description = "派单结束时间") @Schema(description = "派单结束时间")
private String endDate; private String endDate;
/**
* 是否有效 0有效 1无效
*/
@Schema(description = "是否有效 0有效 1无效")
private Integer isEffect;
} }
...@@ -136,5 +136,4 @@ public class InsuredParam extends BaseEntity implements Serializable { ...@@ -136,5 +136,4 @@ public class InsuredParam extends BaseEntity implements Serializable {
@Schema(description ="客户编码") @Schema(description ="客户编码")
private String unitNo; private String unitNo;
} }
...@@ -116,9 +116,13 @@ ...@@ -116,9 +116,13 @@
a.REDUCE_HANDLE_STATUS as reduceHandleStatus, a.REDUCE_HANDLE_STATUS as reduceHandleStatus,
a.CREATE_TIME as createTime, a.CREATE_TIME as createTime,
a.UNIT_NAME as unitName, a.UNIT_NAME as unitName,
a.UNIT_NO as unitNo a.UNIT_NO as unitNo,
a.IS_EFFECT as isEffect
from t_insurance_detail a from t_insurance_detail a
where a.DELETE_FLAG = 0 where a.DELETE_FLAG = 0
<if test="param.isEffect != null">
and a.IS_EFFECT = #{param.isEffect}
</if>
<if test="param.unitName != null and param.unitName.trim() != ''"> <if test="param.unitName != null and param.unitName.trim() != ''">
and a.UNIT_NAME like concat(replace(replace(#{param.unitName},'_','\_'),'%','\%'),'%') and a.UNIT_NAME like concat(replace(replace(#{param.unitName},'_','\_'),'%','\%'),'%')
</if> </if>
...@@ -190,9 +194,13 @@ ...@@ -190,9 +194,13 @@
a.DEPT_NAME as projectName, a.DEPT_NAME as projectName,
a.REDUCE_HANDLE_STATUS as reduceHandleStatus, a.REDUCE_HANDLE_STATUS as reduceHandleStatus,
if(a.BUY_HANDLE_STATUS=4,a.BACK_REMARK,'') as backRemark, if(a.BUY_HANDLE_STATUS=4,a.BACK_REMARK,'') as backRemark,
a.CREATE_TIME as createTime a.CREATE_TIME as createTime,
a.IS_EFFECT as isEffect
from t_insurance_detail a from t_insurance_detail a
where a.DELETE_FLAG = 0 where a.DELETE_FLAG = 0
<if test="param.isEffect != null">
and a.IS_EFFECT = #{param.isEffect}
</if>
<if test="param.deptNo != null and param.deptNo.trim() != ''"> <if test="param.deptNo != null and param.deptNo.trim() != ''">
and a.DEPT_NO = #{param.deptNo} and a.DEPT_NO = #{param.deptNo}
</if> </if>
...@@ -496,6 +504,9 @@ ...@@ -496,6 +504,9 @@
a.DELETE_FLAG = 0 a.DELETE_FLAG = 0
and and
a.BUY_HANDLE_STATUS = 3 a.BUY_HANDLE_STATUS = 3
<if test="param.isEffect != null">
and a.IS_EFFECT = #{param.isEffect}
</if>
<if test="param.unitName != null and param.unitName.trim() != ''"> <if test="param.unitName != null and param.unitName.trim() != ''">
and a.UNIT_NAME like concat(replace(replace(#{param.unitName},'_','\_'),'%','\%'),'%') and a.UNIT_NAME like concat(replace(replace(#{param.unitName},'_','\_'),'%','\%'),'%')
</if> </if>
...@@ -751,7 +762,8 @@ ...@@ -751,7 +762,8 @@
a.BUY_TYPE as buyType, a.BUY_TYPE as buyType,
refund.CREATE_USER_DEPT_NAME as createUserDeptName, refund.CREATE_USER_DEPT_NAME as createUserDeptName,
refund.CREATE_TIME as refundCreateTime, refund.CREATE_TIME as refundCreateTime,
a.CREATE_TIME as createTime a.CREATE_TIME as createTime,
a.IS_EFFECT as isEffect
from from
t_insurance_detail a, t_insurance_detail a,
t_insurance_refund refund t_insurance_refund refund
...@@ -761,6 +773,9 @@ ...@@ -761,6 +773,9 @@
a.REFUND_ID = refund.ID a.REFUND_ID = refund.ID
and and
a.REDUCE_HANDLE_STATUS = 4 a.REDUCE_HANDLE_STATUS = 4
<if test="param.isEffect != null">
and a.IS_EFFECT = #{param.isEffect}
</if>
<if test="param.createName != null and param.createName.trim() != ''"> <if test="param.createName != null and param.createName.trim() != ''">
and a.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%') and a.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if> </if>
...@@ -827,7 +842,8 @@ ...@@ -827,7 +842,8 @@
a.MEDICAL_QUOTA as medicalQuota, a.MEDICAL_QUOTA as medicalQuota,
a.DIE_DISABLE_QUOTA as dieDisableQuota, a.DIE_DISABLE_QUOTA as dieDisableQuota,
a.CREATE_NAME as createName, a.CREATE_NAME as createName,
refund.CREATE_TIME as refundCreateTime refund.CREATE_TIME as refundCreateTime,
a.IS_EFFECT as isEffect
from from
t_insurance_detail a, t_insurance_detail a,
t_insurance_refund refund t_insurance_refund refund
...@@ -837,6 +853,9 @@ ...@@ -837,6 +853,9 @@
a.DELETE_FLAG = 0 a.DELETE_FLAG = 0
and and
a.REDUCE_HANDLE_STATUS = 4 a.REDUCE_HANDLE_STATUS = 4
<if test="param.isEffect != null">
and a.IS_EFFECT = #{param.isEffect}
</if>
<if test="param.createName != null and param.createName.trim() != ''"> <if test="param.createName != null and param.createName.trim() != ''">
and a.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%') and a.CREATE_NAME like concat('%',replace(replace(#{param.createName},'_','\_'),'%','\%'),'%')
</if> </if>
......
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