Browse Source

2023-12-6 处理生产专业代码不同补问题

develop
zhousq 12 months ago
parent
commit
4588102252
  1. 8
      lzbi-module/src/main/resources/mapper/asset/DcBaseWorkSpecialMapper.xml

8
lzbi-module/src/main/resources/mapper/asset/DcBaseWorkSpecialMapper.xml

@ -38,14 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="specialName != null and specialName != ''"> and special_name like concat('%', #{specialName}, '%')</if>
</where>
</select>
<select id="selectDcBaseWorkSpecialDictList" parameterType="DcBaseWorkSpecial" resultMap="DcBaseWorkSpecialResult">
select special_code, special_name from dc_base_work_special
<where>
<if test="tenantId != null">and TENANT_ID = #{tenantId},</if>
<if test="specialCode != null and specialCode != ''"> and special_code = #{specialCode}</if>
<if test="specialName != null and specialName != ''"> and special_name like concat('%', #{specialName}, '%')</if>
</where>
</select>
<select id="selectDcBaseWorkSpecialById" parameterType="Long" resultMap="DcBaseWorkSpecialResult">
<include refid="selectDcBaseWorkSpecialVo"/>
where id = #{id}

Loading…
Cancel
Save