档案自定义分类管理

This commit is contained in:
马三炮 2025-09-12 13:26:30 +08:00
parent 3cc3681cde
commit 2b6bb7840e
1 changed files with 1 additions and 4 deletions

View File

@ -47,13 +47,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="listAll" resultType="com.bonus.system.domain.KyDataClassify">
select id,data_type_name
from da_ky_data_classify where del_flag='1'
from da_ky_data_classify where del_flag='1' and pid =#{pid}
<if test="dataTypeName!=null">
and data_type_name LIKE CONCAT('%', #{dataTypeName}, '%')
</if>
<if test="pid!=null">
and pid =#{pid}
</if>
</select>
<select id="selectKyDataClassifyByDataTypeName" resultType="com.bonus.system.domain.KyDataClassify">
select id,data_type_name,remark,update_time,update_user_id,update_user_name