|
|
@ -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} |
|
|
|