da_ky_sys_file_source
This commit is contained in:
parent
1d1f2949c6
commit
ae4babeb7c
|
|
@ -4,7 +4,7 @@
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="org.springblade.system.mapper.SysEncryTypeMapper">
|
<mapper namespace="org.springblade.system.mapper.SysEncryTypeMapper">
|
||||||
<insert id="add">
|
<insert id="add">
|
||||||
INSERT INTO da_ky_sys_encrypt_set
|
INSERT INTO record_da_ky_sys_encrypt_set
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
<if test="encryptType != null and encryptType != ''">encrypt_type,</if>
|
<if test="encryptType != null and encryptType != ''">encrypt_type,</if>
|
||||||
<if test="encryptName != null and encryptName != ''">encrypt_name,</if>
|
<if test="encryptName != null and encryptName != ''">encrypt_name,</if>
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="edit">
|
<update id="edit">
|
||||||
update da_ky_sys_encrypt_set
|
update record_da_ky_sys_encrypt_set
|
||||||
<set>
|
<set>
|
||||||
<if test="encryptType != null and encryptType != ''">
|
<if test="encryptType != null and encryptType != ''">
|
||||||
encrypt_type = #{encryptType},
|
encrypt_type = #{encryptType},
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
WHERE id = #{id}
|
WHERE id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<delete id="del">
|
<delete id="del">
|
||||||
delete from da_ky_sys_encrypt_set where id = #{id}
|
delete from record_da_ky_sys_encrypt_set where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<select id="selectSysEncryTypeList" resultType="org.springblade.common.core.domain.entity.SysEncryType">
|
<select id="selectSysEncryTypeList" resultType="org.springblade.common.core.domain.entity.SysEncryType">
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
encrypt_name as encryptName,
|
encrypt_name as encryptName,
|
||||||
encrypt_params as encryptParams,
|
encrypt_params as encryptParams,
|
||||||
status
|
status
|
||||||
from da_ky_sys_encrypt_set
|
from record_da_ky_sys_encrypt_set
|
||||||
where 1=1
|
where 1=1
|
||||||
<if test="encryptName != null and encryptName != ''">
|
<if test="encryptName != null and encryptName != ''">
|
||||||
AND INSTR(encrypt_name, #{encryptName}) > 0
|
AND INSTR(encrypt_name, #{encryptName}) > 0
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
</select>
|
</select>
|
||||||
<select id="selectSysEncryType" resultType="java.lang.Integer">
|
<select id="selectSysEncryType" resultType="java.lang.Integer">
|
||||||
SELECT COUNT(*)
|
SELECT COUNT(*)
|
||||||
FROM da_ky_sys_encrypt_set
|
FROM record_da_ky_sys_encrypt_set
|
||||||
WHERE encrypt_name = #{encryptName}
|
WHERE encrypt_name = #{encryptName}
|
||||||
<if test="id != null">
|
<if test="id != null">
|
||||||
and id != #{id}
|
and id != #{id}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue