代码提交
This commit is contained in:
parent
48918f9e8c
commit
39a31a9a29
|
|
@ -322,7 +322,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
dkfcns.standard_name AS standardName,
|
dkfcns.standard_name AS standardName,
|
||||||
dkfcns.standard_type AS standardType
|
dkfcns.standard_type AS standardType
|
||||||
FROM
|
FROM
|
||||||
da_ky_files_classify_name_standard dkfcns
|
record_da_ky_files_classify_name_standard dkfcns
|
||||||
WHERE
|
WHERE
|
||||||
dkfcns.del_flag = '1'
|
dkfcns.del_flag = '1'
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="org.springblade.system.mapper.FilesClassifyNameStandardMapper">
|
<mapper namespace="org.springblade.system.mapper.FilesClassifyNameStandardMapper">
|
||||||
<insert id="add">
|
<insert id="add">
|
||||||
INSERT INTO da_ky_files_classify_name_standard
|
INSERT INTO record_da_ky_files_classify_name_standard
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">id,</if>
|
<if test="id != null">id,</if>
|
||||||
<if test="standardType != null and standardType != ''">standard_type,</if>
|
<if test="standardType != null and standardType != ''">standard_type,</if>
|
||||||
|
|
@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="edit">
|
<update id="edit">
|
||||||
UPDATE da_ky_files_classify_name_standard
|
UPDATE record_da_ky_files_classify_name_standard
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
<if test="standardType != null and standardType != ''">standard_type = #{standardType},</if>
|
<if test="standardType != null and standardType != ''">standard_type = #{standardType},</if>
|
||||||
<if test="standardName != null and standardName != ''">standard_name = #{standardName},</if>
|
<if test="standardName != null and standardName != ''">standard_name = #{standardName},</if>
|
||||||
|
|
@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
WHERE id = #{id} AND del_flag = '1'
|
WHERE id = #{id} AND del_flag = '1'
|
||||||
</update>
|
</update>
|
||||||
<delete id="del">
|
<delete id="del">
|
||||||
DELETE FROM da_ky_files_classify_name_standard
|
DELETE FROM record_da_ky_files_classify_name_standard
|
||||||
WHERE id = #{id}
|
WHERE id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
|
|
@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
dkfcns.update_user_id AS updateUserId,
|
dkfcns.update_user_id AS updateUserId,
|
||||||
dkfcns.update_user_name AS updateUserName,
|
dkfcns.update_user_name AS updateUserName,
|
||||||
dkfcns.del_flag AS delFlag
|
dkfcns.del_flag AS delFlag
|
||||||
FROM da_ky_files_classify_name_standard dkfcns
|
FROM record_da_ky_files_classify_name_standard dkfcns
|
||||||
LEFT JOIN da_ky_sys_dict_data dksdd ON dkfcns.standard_type = dksdd.dict_value and dksdd.dict_type = 'files_classify_name_standard_type'
|
LEFT JOIN da_ky_sys_dict_data dksdd ON dkfcns.standard_type = dksdd.dict_value and dksdd.dict_type = 'files_classify_name_standard_type'
|
||||||
WHERE dkfcns.del_flag = '1'
|
WHERE dkfcns.del_flag = '1'
|
||||||
<if test="standardType != null and standardType != ''">
|
<if test="standardType != null and standardType != ''">
|
||||||
|
|
@ -71,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
ORDER BY dkfcns.create_time DESC
|
ORDER BY dkfcns.create_time DESC
|
||||||
</select>
|
</select>
|
||||||
<select id="selectClassifyNameStandard" resultType="java.lang.Integer">
|
<select id="selectClassifyNameStandard" resultType="java.lang.Integer">
|
||||||
select count(*) from da_ky_files_classify_name_standard where del_flag = '1' and standard_name = #{standardName}
|
select count(*) from record_da_ky_files_classify_name_standard where del_flag = '1' and standard_name = #{standardName}
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
and id != #{id}
|
and id != #{id}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue