Browse Source

双系统同步执法号的时候加入条件为code_state=01的数据筛选

v2
蟑螂恶霸 2 years ago
parent
commit
92bdfd494a
  1. 13
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/Zfryjdm2405301Mapper.xml

13
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/Zfryjdm2405301Mapper.xml

@ -28,13 +28,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectZfryjdmList" parameterType="string" resultMap="ZfryjdmResult"> <select id="selectZfryjdmList" parameterType="string" resultMap="ZfryjdmResult">
<include refid="selectZfryjdmVo"/> <include refid="selectZfryjdmVo"/>
<where> where code_state = '01'
<if test="searchValue != null and searchValue != ''"> <if test="searchValue != null and searchValue != ''">
and ( name like concat(concat('%',#{searchValue}),'%') and ( name like concat(concat('%',#{searchValue}),'%')
or sfzcode like concat(concat('%',#{searchValue}),'%') or sfzcode like concat(concat('%',#{searchValue}),'%')
) )
</if> </if>
</where>
</select> </select>
<update id="updateZfryjdmSfzcodeByid" parameterType="Zfryjdm2405301"> <update id="updateZfryjdmSfzcodeByid" parameterType="Zfryjdm2405301">

Loading…
Cancel
Save