da_ky_system_config
This commit is contained in:
parent
d4e4c64c19
commit
920bb80406
|
|
@ -4,12 +4,12 @@ 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.ISystemConfigMapper">
|
<mapper namespace="org.springblade.system.mapper.ISystemConfigMapper">
|
||||||
<insert id="add">
|
<insert id="add">
|
||||||
insert into da_ky_system_config(config_name, config_code, use_status)
|
insert into record_da_ky_system_config(config_name, config_code, use_status)
|
||||||
values(#{configName}, #{configCode}, #{useStatus})
|
values(#{configName}, #{configCode}, #{useStatus})
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="update">
|
<update id="update">
|
||||||
update da_ky_system_config
|
update record_da_ky_system_config
|
||||||
<set>
|
<set>
|
||||||
<if test="configName != null and configName !=''">
|
<if test="configName != null and configName !=''">
|
||||||
config_name = #{configName},
|
config_name = #{configName},
|
||||||
|
|
@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<delete id="del">
|
<delete id="del">
|
||||||
delete from da_ky_system_config where id = #{id}
|
delete from record_da_ky_system_config where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<select id="list" resultType="org.springblade.common.core.domain.entity.SystemConfig">
|
<select id="list" resultType="org.springblade.common.core.domain.entity.SystemConfig">
|
||||||
|
|
@ -32,12 +32,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
config_name as configName,
|
config_name as configName,
|
||||||
config_code as configCode,
|
config_code as configCode,
|
||||||
use_status as useStatus
|
use_status as useStatus
|
||||||
from da_ky_system_config
|
from record_da_ky_system_config
|
||||||
</select>
|
</select>
|
||||||
<select id="listConfig" resultType="org.springblade.common.core.domain.entity.SystemConfigVo">
|
<select id="listConfig" resultType="org.springblade.common.core.domain.entity.SystemConfigVo">
|
||||||
select
|
select
|
||||||
config_code as configCode,
|
config_code as configCode,
|
||||||
use_status as useStatus
|
use_status as useStatus
|
||||||
from da_ky_system_config
|
from record_da_ky_system_config
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue