Commit cf839c6f authored by hongguangwu's avatar hongguangwu

MVP1.7.17-商险续签待办3

parent a551316f
...@@ -20,6 +20,12 @@ import java.util.List; ...@@ -20,6 +20,12 @@ import java.util.List;
public class InsuredParam extends BaseEntity implements Serializable { public class InsuredParam extends BaseEntity implements Serializable {
private static final long serialVersionUID = -2689686777914935788L; private static final long serialVersionUID = -2689686777914935788L;
/**
* 员工姓名或身份证(移动端搜索专用——这个接口:replacePageToAutoSelect)
*/
@Schema(description = "员工姓名或身份证")
private String empNameOrCard;
/** /**
* 员工姓名 * 员工姓名
*/ */
......
...@@ -2139,6 +2139,12 @@ ...@@ -2139,6 +2139,12 @@
a.INSURANCE_CITY_NAME as insuranceCityName a.INSURANCE_CITY_NAME as insuranceCityName
from t_insurance_detail a from t_insurance_detail a
where a.DELETE_FLAG = 0 and a.BUY_HANDLE_STATUS = 3 and IS_USE = 0 and IS_EFFECT = 0 and IS_OVERDUE = 0 where a.DELETE_FLAG = 0 and a.BUY_HANDLE_STATUS = 3 and IS_USE = 0 and IS_EFFECT = 0 and IS_OVERDUE = 0
<if test="param.empNameOrCard != null and param.empNameOrCard.trim() != ''">
and (
a.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%')
or a.EMP_IDCARD_NO like concat('%',replace(replace(#{param.empIdcardNo},'_','\_'),'%','\%'),'%')
)
</if>
<if test="param.empName != null and param.empName.trim() != ''"> <if test="param.empName != null and param.empName.trim() != ''">
and a.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%') and a.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%')
</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