问题修改及优化

This commit is contained in:
hayu 2024-07-30 09:22:13 +08:00
parent a25e87eae6
commit 436355fa07
1 changed files with 8 additions and 8 deletions

View File

@ -125,14 +125,12 @@
and del_flag = 0
</select>
<select id="getAllCustomName" resultType="com.bonus.aqgqj.basis.entity.dto.SamplesManageDto">
SELECT
id,
custom_name AS name
FROM
tb_custom
WHERE
del_flag = 0
and custom_status=0
SELECT id,
custom_name AS name
FROM tb_custom
WHERE del_flag = 0
and custom_status = 0
and dept_id = 0
</select>
<select id="getDevTypeCodeById" resultType="java.lang.String">
select sd.dict_code
@ -168,5 +166,7 @@
FROM tb_custom
WHERE p_id = #{customId}
and del_flag = 0
and custom_status = 0
and dept_id = 1
</select>
</mapper>