Commit fb5e15de authored by huyuchen's avatar huyuchen

huych-商险产品-险种-新增/编辑处增加“是否地市自购”标签

parent 816e27fd
...@@ -8,6 +8,7 @@ import lombok.Data; ...@@ -8,6 +8,7 @@ import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
import java.time.LocalDate; import java.time.LocalDate;
/** /**
* @author zhangyun * @author zhangyun
* @description 退保成功列表 * @description 退保成功列表
...@@ -107,4 +108,10 @@ public class RefundListVo implements Serializable { ...@@ -107,4 +108,10 @@ public class RefundListVo implements Serializable {
*/ */
@Schema(description = "退至员工身份证号") @Schema(description = "退至员工身份证号")
private String returnEmpIdcardNo; private String returnEmpIdcardNo;
/**
* 是否地市自购0是 1 否
*/
@Schema(description = "是否地市自购")
private String isAdress;
} }
...@@ -729,7 +729,7 @@ ...@@ -729,7 +729,7 @@
a.CREATE_NAME as createName, a.CREATE_NAME as createName,
a.UNIT_NAME as unitName, a.UNIT_NAME as unitName,
a.UNIT_NO as unitNo, a.UNIT_NO as unitNo,
a.IS_ADRESS as isAdress if(a.IS_ADRESS = '0','是',if(ifnull(a.IS_ADRESS,3) = 3,'','否')) as isAdress
from from
t_insurance_detail a t_insurance_detail a
where where
...@@ -1504,7 +1504,8 @@ ...@@ -1504,7 +1504,8 @@
IF IF
( a.BUY_TYPE = 4, `replace`.empIdcardNo, a.EMP_IDCARD_NO ) AS returnEmpIdcardNo, ( a.BUY_TYPE = 4, `replace`.empIdcardNo, a.EMP_IDCARD_NO ) AS returnEmpIdcardNo,
IF IF
( a.BUY_TYPE = 4, `replace`.projectName, a.DEPT_NAME ) AS returnProjectName ( a.BUY_TYPE = 4, `replace`.projectName, a.DEPT_NAME ) AS returnProjectName,
a.IS_ADRESS as isAdress
FROM FROM
t_insurance_detail a t_insurance_detail a
LEFT JOIN t_insurance_refund refund ON a.REFUND_ID = refund.ID LEFT JOIN t_insurance_refund refund ON a.REFUND_ID = refund.ID
...@@ -1561,6 +1562,9 @@ ...@@ -1561,6 +1562,9 @@
<if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''"> <if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''">
AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax} AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax}
</if> </if>
<if test="param.isAdress != null and param.isAdress.trim() != ''">
and a.IS_ADRESS = #{param.isAdress}
</if>
<if test="param.authSql != null and param.authSql.trim() != ''"> <if test="param.authSql != null and param.authSql.trim() != ''">
${param.authSql} ${param.authSql}
</if> </if>
...@@ -1585,7 +1589,8 @@ ...@@ -1585,7 +1589,8 @@
IF IF
( a.BUY_TYPE = 4, `replace`.empIdcardNo, a.EMP_IDCARD_NO ) AS returnEmpIdcardNo, ( a.BUY_TYPE = 4, `replace`.empIdcardNo, a.EMP_IDCARD_NO ) AS returnEmpIdcardNo,
IF IF
( a.BUY_TYPE = 4, `replace`.projectName, a.DEPT_NAME ) AS returnProjectName ( a.BUY_TYPE = 4, `replace`.projectName, a.DEPT_NAME ) AS returnProjectName,
a.IS_ADRESS as isAdress
FROM FROM
t_insurance_detail a t_insurance_detail a
LEFT JOIN t_insurance_refund refund ON a.REFUND_ID = refund.ID LEFT JOIN t_insurance_refund refund ON a.REFUND_ID = refund.ID
...@@ -1642,6 +1647,9 @@ ...@@ -1642,6 +1647,9 @@
<if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''"> <if test="param.buyStandardMax != null and param.buyStandardMax.trim() != ''">
AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax} AND a.BUY_STANDARD <![CDATA[ <= ]]> #{param.buyStandardMax}
</if> </if>
<if test="param.isAdress != null and param.isAdress.trim() != ''">
and a.IS_ADRESS = #{param.isAdress}
</if>
<if test="param.authSql != null and param.authSql.trim() != ''"> <if test="param.authSql != null and param.authSql.trim() != ''">
${param.authSql} ${param.authSql}
</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