|
@@ -16,6 +16,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="city" column="city" />
|
|
|
<result property="region" column="region" />
|
|
|
<result property="vaccineName" column="vaccine_name" />
|
|
|
+ <result property="residenceTown" column="residence_town" />
|
|
|
+ <result property="residenceVillage" column="residence_village" />
|
|
|
<result property="userName" column="user_name" />
|
|
|
<result property="gender" column="gender" />
|
|
|
<result property="idCard" column="id_card" />
|
|
@@ -47,6 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="vaccinationTime" column="vaccination_time" />
|
|
|
<result property="progress" column="progress" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
|
+ <result property="rlr" column="rlr" />
|
|
|
<collection property="vaccineInfoUserList" javaType="java.util.List" resultMap="VaccineInfoUser" />
|
|
|
</resultMap>
|
|
|
|
|
@@ -68,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
vi.vaccination_time, vi.vaccination_place, vi.contraindication, vi.suspend,vi.suspend_url,vi.other_url,vi.vaccination_time,
|
|
|
vi.should_be, vi.other, vi.progress, vi.remark, vi.status, vi.create_by, vi.create_time, vi.update_by, vi.update_time,
|
|
|
vi.is_del,vi.code,vi.birthday,vi.work_unit,vi.crowd_classification,vi.manufacturer,vi.now_in,vi.url,vi.dept_id,
|
|
|
-
|
|
|
+ vi.residence_town as residenceTown, vi.residence_village as residenceVillage,
|
|
|
viu.id as id_user,viu.id_card as id_card_user,viu.vaccine_name as vaccine_name_user,viu.jici as jici_user,viu.vaccination_time as vaccination_time_user,
|
|
|
viu.vaccination_place as vaccination_place_user,viu.progress as progress_user,viu.status as status_user,viu.url as url_user
|
|
|
from vaccine_info vi left join vaccine_info_user viu
|
|
@@ -135,11 +138,218 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
order by vi.create_time DESC ,vi.vaccination_time DESC
|
|
|
</select>
|
|
|
|
|
|
- <select id="listByXzAndJs" resultMap="VaccineInfoResult">
|
|
|
- select vi.create_time, vi.update_time, vi.is_del
|
|
|
+ <select id="listByXz" resultMap="VaccineInfoResult">
|
|
|
+ select vi.id, vi.create_time, vi.update_time, vi.is_del, vi.update_by, vi.user_name, vi.phone_num, vi.id_card
|
|
|
+ , vi.gender, vi.province, vi.city, vi.region, vi.now_in, vi.house_type, vi.update_by, vi.code
|
|
|
+ from vaccine_info vi
|
|
|
+ where vi.is_del = 'N' and vi.create_time >= #{startTime} and vi.create_time <= #{endTime}
|
|
|
+ <!--where vi.is_del = 'N' and vi.create_time >= #{startTime, jdbcType=DATE} and vi.create_time <= #{startTime, jdbcType=DATE} -->
|
|
|
+ <if test="villageTowns != null and villageTowns != ''">
|
|
|
+ and vi.village_towns = #{villageTowns}
|
|
|
+ </if>
|
|
|
+ <if test="village != null and village != ''"> and vi.village = #{village}</if>
|
|
|
+ <if test="villagerGroup != null and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>
|
|
|
+ <if test="houseType != null and houseType != ''"> and vi.house_type = #{houseType}</if>
|
|
|
+ <if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
|
+ <if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
|
+ <if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
|
+ <if test="jici != null and jici != ''"> and vi.jici <= #{jici}</if>
|
|
|
+ <if test="vaccineName != null and vaccineName != ''"> and vi.vaccine_name like concat('%', #{vaccineName}, '%')</if>
|
|
|
+ <if test="vaccinationTime != null "> and DATE_FORMAT(vi.vaccination_time,'%Y-%m-%d') = DATE_FORMAT(#{vaccinationTime},'%Y-%m-%d')</if>
|
|
|
+ <if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
|
+ <if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
|
+ <if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|
|
|
+ <if test="idCard != null and idCard != ''"> and vi.id_card like concat('%', #{idCard}, '%')</if>
|
|
|
+ <if test="phoneNum != null and phoneNum != ''"> and vi.phone_num = #{phoneNum}</if>
|
|
|
+ <if test="keyIndustries != null and keyIndustries != ''"> and vi.key_industries = #{keyIndustries}</if>
|
|
|
+ <if test="isVaccination != null and isVaccination != ''"> and vi.is_vaccination = #{isVaccination}</if>
|
|
|
+ <if test="params.startAge != null and params.startAge != ''"> and vi.age >= #{params.startAge}</if>
|
|
|
+ <if test="params.endAge != null and params.endAge != ''"> and vi.age <= #{params.endAge}</if>
|
|
|
+ <if test="contraindication != null and contraindication != ''"> and vi.contraindication = #{contraindication}</if>
|
|
|
+ <if test="suspend != null and suspend != ''"> and vi.suspend = #{suspend}</if>
|
|
|
+ <if test="shouldBe != null and shouldBe != ''"> and vi.should_be = #{shouldBe}</if>
|
|
|
+ <if test="other != null and other != ''"> and vi.other = #{other}</if>
|
|
|
+ <if test="status != null and status != ''"> and vi.status = #{status}</if>
|
|
|
+ <if test="code != null and code != ''"> and vi.code = #{code}</if>
|
|
|
+ <if test="birthday != null and birthday != ''"> and vi.birthday = #{birthday}</if>
|
|
|
+ <if test="workUnit != null and workUnit != ''"> and vi.work_unit = #{workUnit}</if>
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''"> and vi.crowd_classification = #{crowdClassification}</if>
|
|
|
+ <if test="manufacturer != null and manufacturer != ''"> and vi.manufacturer = #{manufacturer}</if>
|
|
|
+ <if test="nowIn != null and nowIn != ''"> and vi.now_in = #{nowIn}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="createTime != null and createTime != ''"> and vi.create_time >= #{startTime}</if>
|
|
|
+ <if test="endTime != null and endTime != ''"> and vi.create_time <= #{endTime}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="idCardS != null and idCardS.size() > 0">
|
|
|
+ and vi.id_card in
|
|
|
+ <foreach item="idCard" collection="idCardS" open="(" separator="," close=")">
|
|
|
+ #{idCard}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+
|
|
|
+ <if test="deptIdList != null and deptIdList.size() > 0">
|
|
|
+ and vi.dept_id in
|
|
|
+ <foreach item="deptId" collection="deptIdList" open="(" separator="," close=")">
|
|
|
+ #{deptId}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="countByXz" resultType="int">
|
|
|
+ select count(1)
|
|
|
+ from vaccine_info vi
|
|
|
+ where vi.is_del = 'N' and vi.create_time >= date_format(#{startTime}, '%y-%m-%d %H:%i:%s') and vi.create_time <= date_format(#{endTime}, '%y-%m-%d %H:%i:%s')
|
|
|
+ <if test="villageTowns != null and villageTowns != ''">
|
|
|
+ and vi.village_towns = #{villageTowns}
|
|
|
+ </if>
|
|
|
+ <if test="village != null and village != ''"> and vi.village = #{village}</if>
|
|
|
+ <if test="villagerGroup != null and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>
|
|
|
+ <if test="houseType != null and houseType != ''"> and vi.house_type = #{houseType}</if>
|
|
|
+ <if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
|
+ <if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
|
+ <if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
|
+ <if test="jici != null and jici != ''"> and vi.jici <= #{jici}</if>
|
|
|
+ <if test="vaccineName != null and vaccineName != ''"> and vi.vaccine_name like concat('%', #{vaccineName}, '%')</if>
|
|
|
+ <if test="vaccinationTime != null "> and DATE_FORMAT(vi.vaccination_time,'%Y-%m-%d') = DATE_FORMAT(#{vaccinationTime},'%Y-%m-%d')</if>
|
|
|
+ <if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
|
+ <if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
|
+ <if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|
|
|
+ <if test="idCard != null and idCard != ''"> and vi.id_card like concat('%', #{idCard}, '%')</if>
|
|
|
+ <if test="phoneNum != null and phoneNum != ''"> and vi.phone_num = #{phoneNum}</if>
|
|
|
+ <if test="keyIndustries != null and keyIndustries != ''"> and vi.key_industries = #{keyIndustries}</if>
|
|
|
+ <if test="isVaccination != null and isVaccination != ''"> and vi.is_vaccination = #{isVaccination}</if>
|
|
|
+ <if test="params.startAge != null and params.startAge != ''"> and vi.age >= #{params.startAge}</if>
|
|
|
+ <if test="params.endAge != null and params.endAge != ''"> and vi.age <= #{params.endAge}</if>
|
|
|
+ <if test="contraindication != null and contraindication != ''"> and vi.contraindication = #{contraindication}</if>
|
|
|
+ <if test="suspend != null and suspend != ''"> and vi.suspend = #{suspend}</if>
|
|
|
+ <if test="shouldBe != null and shouldBe != ''"> and vi.should_be = #{shouldBe}</if>
|
|
|
+ <if test="other != null and other != ''"> and vi.other = #{other}</if>
|
|
|
+ <if test="status != null and status != ''"> and vi.status = #{status}</if>
|
|
|
+ <if test="code != null and code != ''"> and vi.code = #{code}</if>
|
|
|
+ <if test="birthday != null and birthday != ''"> and vi.birthday = #{birthday}</if>
|
|
|
+ <if test="workUnit != null and workUnit != ''"> and vi.work_unit = #{workUnit}</if>
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''"> and vi.crowd_classification = #{crowdClassification}</if>
|
|
|
+ <if test="manufacturer != null and manufacturer != ''"> and vi.manufacturer = #{manufacturer}</if>
|
|
|
+ <if test="nowIn != null and nowIn != ''"> and vi.now_in = #{nowIn}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="createTime != null and createTime != ''"> and vi.create_time >= #{startTime}</if>
|
|
|
+ <if test="endTime != null and endTime != ''"> and vi.create_time <= #{endTime}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="idCardS != null and idCardS.size() > 0">
|
|
|
+ and vi.id_card in
|
|
|
+ <foreach item="idCard" collection="idCardS" open="(" separator="," close=")">
|
|
|
+ #{idCard}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="deptIdList != null and deptIdList.size() > 0">
|
|
|
+ and vi.dept_id in
|
|
|
+ <foreach item="deptId" collection="deptIdList" open="(" separator="," close=")">
|
|
|
+ #{deptId}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="listByJs" resultMap="VaccineInfoResult">
|
|
|
+ select vi.id, vi.create_time, vi.update_time, vi.is_del, vi.update_by, vi.user_name, vi.phone_num, vi.id_card
|
|
|
+ , vi.gender, vi.province, vi.city, vi.region, vi.now_in, vi.house_type, vi.update_by, vi.code
|
|
|
from vaccine_info vi
|
|
|
- where (vi.is_del = 'N' and vi.create_time >= #{startTime} and vi.create_time <= #{endTime}) or
|
|
|
- (vi.is_del = 'Y' and vi.update_time >= #{startTime} and vi.update_time <= #{endTime})
|
|
|
+ where vi.is_del = 'N' and vi.update_time >= date_format(#{startTime}, '%y-%m-%d %H:%i:%s') and vi.update_time <= date_format(#{endTime}, '%y-%m-%d %H:%i:%s')
|
|
|
+ <if test="villageTowns != null and villageTowns != ''">
|
|
|
+ and vi.village_towns = #{villageTowns}
|
|
|
+ </if>
|
|
|
+ <if test="village != null and village != ''"> and vi.village = #{village}</if>
|
|
|
+ <if test="villagerGroup != null and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>
|
|
|
+ <if test="houseType != null and houseType != ''"> and vi.house_type = #{houseType}</if>
|
|
|
+ <if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
|
+ <if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
|
+ <if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
|
+ <if test="jici != null and jici != ''"> and vi.jici <= #{jici}</if>
|
|
|
+ <if test="vaccineName != null and vaccineName != ''"> and vi.vaccine_name like concat('%', #{vaccineName}, '%')</if>
|
|
|
+ <if test="vaccinationTime != null "> and DATE_FORMAT(vi.vaccination_time,'%Y-%m-%d') = DATE_FORMAT(#{vaccinationTime},'%Y-%m-%d')</if>
|
|
|
+ <if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
|
+ <if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
|
+ <if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|
|
|
+ <if test="idCard != null and idCard != ''"> and vi.id_card like concat('%', #{idCard}, '%')</if>
|
|
|
+ <if test="phoneNum != null and phoneNum != ''"> and vi.phone_num = #{phoneNum}</if>
|
|
|
+ <if test="keyIndustries != null and keyIndustries != ''"> and vi.key_industries = #{keyIndustries}</if>
|
|
|
+ <if test="isVaccination != null and isVaccination != ''"> and vi.is_vaccination = #{isVaccination}</if>
|
|
|
+ <if test="params.startAge != null and params.startAge != ''"> and vi.age >= #{params.startAge}</if>
|
|
|
+ <if test="params.endAge != null and params.endAge != ''"> and vi.age <= #{params.endAge}</if>
|
|
|
+ <if test="contraindication != null and contraindication != ''"> and vi.contraindication = #{contraindication}</if>
|
|
|
+ <if test="suspend != null and suspend != ''"> and vi.suspend = #{suspend}</if>
|
|
|
+ <if test="shouldBe != null and shouldBe != ''"> and vi.should_be = #{shouldBe}</if>
|
|
|
+ <if test="other != null and other != ''"> and vi.other = #{other}</if>
|
|
|
+ <if test="status != null and status != ''"> and vi.status = #{status}</if>
|
|
|
+ <if test="code != null and code != ''"> and vi.code = #{code}</if>
|
|
|
+ <if test="birthday != null and birthday != ''"> and vi.birthday = #{birthday}</if>
|
|
|
+ <if test="workUnit != null and workUnit != ''"> and vi.work_unit = #{workUnit}</if>
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''"> and vi.crowd_classification = #{crowdClassification}</if>
|
|
|
+ <if test="manufacturer != null and manufacturer != ''"> and vi.manufacturer = #{manufacturer}</if>
|
|
|
+ <if test="nowIn != null and nowIn != ''"> and vi.now_in = #{nowIn}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="createTime != null and createTime != ''"> and vi.create_time >= #{startTime}</if>
|
|
|
+ <if test="endTime != null and endTime != ''"> and vi.create_time <= #{endTime}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="idCardS != null and idCardS.size() > 0">
|
|
|
+ and vi.id_card in
|
|
|
+ <foreach item="idCard" collection="idCardS" open="(" separator="," close=")">
|
|
|
+ #{idCard}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ <if test="deptIdList != null and deptIdList.size() > 0">
|
|
|
+ and vi.dept_id in
|
|
|
+ <foreach item="deptId" collection="deptIdList" open="(" separator="," close=")">
|
|
|
+ #{deptId}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="countByJs" resultType="int">
|
|
|
+ select count(1)
|
|
|
+ from vaccine_info vi
|
|
|
+ where vi.is_del = 'N' and vi.update_time >= date_format(#{startTime}, '%y-%m-%d %H:%i:%s') and vi.update_time <= date_format(#{endTime}, '%y-%m-%d %H:%i:%s')
|
|
|
+ <if test="villageTowns != null and villageTowns != ''">
|
|
|
+ and vi.village_towns = #{villageTowns}
|
|
|
+ </if>
|
|
|
+ <if test="village != null and village != ''"> and vi.village = #{village}</if>
|
|
|
+ <if test="villagerGroup != null and villagerGroup != ''"> and vi.villager_group = #{villagerGroup}</if>
|
|
|
+ <if test="houseType != null and houseType != ''"> and vi.house_type = #{houseType}</if>
|
|
|
+ <if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
|
+ <if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
|
+ <if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
|
+ <if test="jici != null and jici != ''"> and vi.jici <= #{jici}</if>
|
|
|
+ <if test="vaccineName != null and vaccineName != ''"> and vi.vaccine_name like concat('%', #{vaccineName}, '%')</if>
|
|
|
+ <if test="vaccinationTime != null "> and DATE_FORMAT(vi.vaccination_time,'%Y-%m-%d') = DATE_FORMAT(#{vaccinationTime},'%Y-%m-%d')</if>
|
|
|
+ <if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
|
+ <if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
|
+ <if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|
|
|
+ <if test="idCard != null and idCard != ''"> and vi.id_card like concat('%', #{idCard}, '%')</if>
|
|
|
+ <if test="phoneNum != null and phoneNum != ''"> and vi.phone_num = #{phoneNum}</if>
|
|
|
+ <if test="keyIndustries != null and keyIndustries != ''"> and vi.key_industries = #{keyIndustries}</if>
|
|
|
+ <if test="isVaccination != null and isVaccination != ''"> and vi.is_vaccination = #{isVaccination}</if>
|
|
|
+ <if test="params.startAge != null and params.startAge != ''"> and vi.age >= #{params.startAge}</if>
|
|
|
+ <if test="params.endAge != null and params.endAge != ''"> and vi.age <= #{params.endAge}</if>
|
|
|
+ <if test="contraindication != null and contraindication != ''"> and vi.contraindication = #{contraindication}</if>
|
|
|
+ <if test="suspend != null and suspend != ''"> and vi.suspend = #{suspend}</if>
|
|
|
+ <if test="shouldBe != null and shouldBe != ''"> and vi.should_be = #{shouldBe}</if>
|
|
|
+ <if test="other != null and other != ''"> and vi.other = #{other}</if>
|
|
|
+ <if test="status != null and status != ''"> and vi.status = #{status}</if>
|
|
|
+ <if test="code != null and code != ''"> and vi.code = #{code}</if>
|
|
|
+ <if test="birthday != null and birthday != ''"> and vi.birthday = #{birthday}</if>
|
|
|
+ <if test="workUnit != null and workUnit != ''"> and vi.work_unit = #{workUnit}</if>
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''"> and vi.crowd_classification = #{crowdClassification}</if>
|
|
|
+ <if test="manufacturer != null and manufacturer != ''"> and vi.manufacturer = #{manufacturer}</if>
|
|
|
+ <if test="nowIn != null and nowIn != ''"> and vi.now_in = #{nowIn}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="createTime != null and createTime != ''"> and vi.create_time >= #{startTime}</if>
|
|
|
+ <if test="endTime != null and endTime != ''"> and vi.create_time <= #{endTime}</if>
|
|
|
+ <if test="shouldSlow != null and shouldSlow != ''"> and vi.should_slow = #{shouldSlow}</if>
|
|
|
+ <if test="idCardS != null and idCardS.size() > 0">
|
|
|
+ and vi.id_card in
|
|
|
+ <foreach item="idCard" collection="idCardS" open="(" separator="," close=")">
|
|
|
+ #{idCard}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
<if test="deptIdList != null and deptIdList.size() > 0">
|
|
|
and vi.dept_id in
|
|
|
<foreach item="deptId" collection="deptIdList" open="(" separator="," close=")">
|
|
@@ -163,11 +373,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
+ <select id="listByCode" resultMap="VaccineInfoResult">
|
|
|
+ select vi.id, vi.user_name, vi.phone_num, vi.id_card, vi.gender, vi.province, vi.city, vi.region, vi.now_in
|
|
|
+ , vi.house_type, vi.update_by, vi.code, vi.rlr
|
|
|
+ from vaccine_info vi
|
|
|
+ where vi.is_del = 'N' and code = #{code}
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="listByRlry" resultMap="VaccineInfoResult">
|
|
|
select vi.id, vi.user_name, vi.phone_num, vi.id_card, vi.gender, vi.province, vi.city, vi.region, vi.now_in
|
|
|
+ , vi.house_type, vi.update_by, vi.code, vi.rlr
|
|
|
from vaccine_info vi
|
|
|
<where>
|
|
|
- vi.is_del = 'N'
|
|
|
+ vi.is_del = #{isDel}
|
|
|
<!-- 已认领 -->
|
|
|
<if test="ryrl == true">and (vi.village_towns is not null or vi.village_towns != '')</if>
|
|
|
<!-- 未认领 -->
|
|
@@ -429,6 +647,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="otherUrl != null and otherUrl != ''">other_url = #{otherUrl},</if>
|
|
|
<if test="age != null and age != ''">age = #{age},</if>
|
|
|
<if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
+ <if test="rlr != null and rlr != ''">rlr = #{rlr},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|