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