zioinfo-mail/workspace/zioinfo-esn/restapi_lgit/target/classes/mapper/system-sql.xml
DESKTOP-TKLFCPR\ython 371f77e7ab
Some checks failed
GUARDiA CI / Python Lint & Import Test (push) Has been cancelled
GUARDiA CI / Validate Install Scripts (push) Has been cancelled
GUARDiA CI / PR Validation Summary (push) Has been cancelled
fix(enhance-v4): APK QR 버그 수정 + 웹메일 라우터 수정
2026-06-02 20:23:55 +09:00

44 lines
978 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.esl.restapi.mapper.SystemMapper" >
<select id="selectConfigList" resultType="com.esl.restapi.model.SystemModel">
select id, info, content
, strftime('%Y-%m-%d %H:%M:%S', created_date) created_date
, created_id
from g_config
where deleted_ind = 'N'
</select>
<insert id="insertConfig">
insert into g_config (
id
, info
, content
, created_date
, created_id
, deleted_ind
) values (
#{id}
, #{info}
, #{content}
, datetime('now')
, #{created_id}
, 'N'
)
</insert>
<update id="updateConfig">
update g_config
set info = #{info}
, content = #{content}
, updated_date = datetime('now')
, updated_id = #{updated_id}
where id = #{id}
</update>
<delete id="deleteConfig">
delete from g_config
where id = #{id}
</delete>
</mapper>