|
@@ -121,6 +121,7 @@
|
|
and status = '1'
|
|
and status = '1'
|
|
<!-- 已认领 -->
|
|
<!-- 已认领 -->
|
|
<if test="isRl != null and isRl != ''">and is_rl = #{isRl}</if>
|
|
<if test="isRl != null and isRl != ''">and is_rl = #{isRl}</if>
|
|
|
|
+ <if test="isNucleicAcid != null and isNucleicAcid != ''">and is_nucleicAcid = #{isNucleicAcid}</if>
|
|
<if test="userName != null and userName != ''">
|
|
<if test="userName != null and userName != ''">
|
|
and user_name like concat(#{userName}, '%')
|
|
and user_name like concat(#{userName}, '%')
|
|
</if>
|
|
</if>
|
|
@@ -1160,6 +1161,8 @@
|
|
<select id="getAllCzrk" resultMap="CzrkResult">
|
|
<select id="getAllCzrk" resultMap="CzrkResult">
|
|
select
|
|
select
|
|
ANY_VALUE(c.user_name) as user_name,
|
|
ANY_VALUE(c.user_name) as user_name,
|
|
|
|
+ ANY_VALUE(c.is_nucleicAcid) as is_nucleicAcid,
|
|
|
|
+ ANY_VALUE(c.nucleicAcid_time) as nucleicAcid_time,
|
|
ANY_VALUE(c.age) as age,
|
|
ANY_VALUE(c.age) as age,
|
|
<!--ANY_VALUE(STUFF (c.id_card, 7, 8, '********')) AS id_card,-->
|
|
<!--ANY_VALUE(STUFF (c.id_card, 7, 8, '********')) AS id_card,-->
|
|
ANY_VALUE(c.id_card) AS id_card,
|
|
ANY_VALUE(c.id_card) AS id_card,
|
|
@@ -1193,6 +1196,7 @@
|
|
<if test="userName != null and userName != ''">
|
|
<if test="userName != null and userName != ''">
|
|
and c.user_name like concat(#{userName}, '%')
|
|
and c.user_name like concat(#{userName}, '%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isNucleicAcid != null and isNucleicAcid != ''">and c.is_nucleicAcid = #{isNucleicAcid}</if>
|
|
<if test="params.startAge != null and params.startAge != ''">and c.age >= #{params.startAge}</if>
|
|
<if test="params.startAge != null and params.startAge != ''">and c.age >= #{params.startAge}</if>
|
|
<if test="params.endAge != null and params.endAge != ''">and c.age <= #{params.endAge}</if>
|
|
<if test="params.endAge != null and params.endAge != ''">and c.age <= #{params.endAge}</if>
|
|
<if test="gender != null and gender != ''">and c.gender = #{gender}</if>
|
|
<if test="gender != null and gender != ''">and c.gender = #{gender}</if>
|
|
@@ -1257,6 +1261,7 @@
|
|
<if test="userName != null and userName != ''">
|
|
<if test="userName != null and userName != ''">
|
|
and c.user_name like concat(#{userName}, '%')
|
|
and c.user_name like concat(#{userName}, '%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="isNucleicAcid != null and isNucleicAcid != ''">and c.is_nucleicAcid = #{isNucleicAcid}</if>
|
|
<if test="params.startAge != null and params.startAge != ''">and c.age >= #{params.startAge}</if>
|
|
<if test="params.startAge != null and params.startAge != ''">and c.age >= #{params.startAge}</if>
|
|
<if test="params.endAge != null and params.endAge != ''">and c.age <= #{params.endAge}</if>
|
|
<if test="params.endAge != null and params.endAge != ''">and c.age <= #{params.endAge}</if>
|
|
<if test="idCard != null and idCard != ''">and c.id_card = #{idCard}</if>
|
|
<if test="idCard != null and idCard != ''">and c.id_card = #{idCard}</if>
|