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">
|
||||
<mapper namespace="org.springblade.system.mapper.ISystemConfigMapper">
|
||||
<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})
|
||||
</insert>
|
||||
|
||||
<update id="update">
|
||||
update da_ky_system_config
|
||||
update record_da_ky_system_config
|
||||
<set>
|
||||
<if test="configName != null and configName !=''">
|
||||
config_name = #{configName},
|
||||
|
|
@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
where id = #{id}
|
||||
</update>
|
||||
<delete id="del">
|
||||
delete from da_ky_system_config where id = #{id}
|
||||
delete from record_da_ky_system_config where id = #{id}
|
||||
</delete>
|
||||
|
||||
<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_code as configCode,
|
||||
use_status as useStatus
|
||||
from da_ky_system_config
|
||||
from record_da_ky_system_config
|
||||
</select>
|
||||
<select id="listConfig" resultType="org.springblade.common.core.domain.entity.SystemConfigVo">
|
||||
select
|
||||
config_code as configCode,
|
||||
use_status as useStatus
|
||||
from da_ky_system_config
|
||||
from record_da_ky_system_config
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue