代码提交

This commit is contained in:
liang.chao 2025-12-09 13:55:37 +08:00
parent 50ad8c6294
commit 964599dad6
1 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectConfigVo">
select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
from da_ky_sys_config
from record_da_ky_sys_config
</sql>
<!-- 查询条件 -->
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<insert id="insertConfig" parameterType="org.springblade.common.core.domain.entity.SysConfig">
insert into da_ky_sys_config (
insert into record_da_ky_sys_config (
<if test="configName != null and configName != '' ">config_name,</if>
<if test="configKey != null and configKey != '' ">config_key,</if>
<if test="configValue != null and configValue != '' ">config_value,</if>
@ -90,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</insert>
<update id="updateConfig" parameterType="org.springblade.common.core.domain.entity.SysConfig">
update da_ky_sys_config
update record_da_ky_sys_config
<set>
<if test="configName != null and configName != ''">config_name = #{configName},</if>
<if test="configKey != null and configKey != ''">config_key = #{configKey},</if>
@ -104,11 +104,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</update>
<delete id="deleteConfigById" parameterType="Long">
delete from da_ky_sys_config where config_id = #{configId}
delete from record_da_ky_sys_config where config_id = #{configId}
</delete>
<delete id="deleteConfigByIds" parameterType="Long">
delete from da_ky_sys_config where config_id in
delete from record_da_ky_sys_config where config_id in
<foreach item="configId" collection="array" open="(" separator="," close=")">
#{configId}
</foreach>