代码提交
This commit is contained in:
parent
50ad8c6294
commit
964599dad6
|
|
@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<sql id="selectConfigVo">
|
<sql id="selectConfigVo">
|
||||||
select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
|
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>
|
</sql>
|
||||||
|
|
||||||
<!-- 查询条件 -->
|
<!-- 查询条件 -->
|
||||||
|
|
@ -70,7 +70,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertConfig" parameterType="org.springblade.common.core.domain.entity.SysConfig">
|
<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="configName != null and configName != '' ">config_name,</if>
|
||||||
<if test="configKey != null and configKey != '' ">config_key,</if>
|
<if test="configKey != null and configKey != '' ">config_key,</if>
|
||||||
<if test="configValue != null and configValue != '' ">config_value,</if>
|
<if test="configValue != null and configValue != '' ">config_value,</if>
|
||||||
|
|
@ -90,7 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateConfig" parameterType="org.springblade.common.core.domain.entity.SysConfig">
|
<update id="updateConfig" parameterType="org.springblade.common.core.domain.entity.SysConfig">
|
||||||
update da_ky_sys_config
|
update record_da_ky_sys_config
|
||||||
<set>
|
<set>
|
||||||
<if test="configName != null and configName != ''">config_name = #{configName},</if>
|
<if test="configName != null and configName != ''">config_name = #{configName},</if>
|
||||||
<if test="configKey != null and configKey != ''">config_key = #{configKey},</if>
|
<if test="configKey != null and configKey != ''">config_key = #{configKey},</if>
|
||||||
|
|
@ -104,11 +104,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteConfigById" parameterType="Long">
|
<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>
|
||||||
|
|
||||||
<delete id="deleteConfigByIds" parameterType="Long">
|
<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=")">
|
<foreach item="configId" collection="array" open="(" separator="," close=")">
|
||||||
#{configId}
|
#{configId}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue