| 1234567891011121314 |
- <?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.shkpr.service.customgateway.zydma.mapper.primary.FunctionInfoMapper">
- <insert id="upsert">
- insert into k4_bs_sys_function_info (uid, "name", remark, update_time)
- values (#{uid,jdbcType=VARCHAR},
- #{name,jdbcType=VARCHAR},
- #{remark,jdbcType=VARCHAR},
- timezone('utc', localtimestamp(0) at time zone current_setting('timezone')))
- on conflict (uid) do update set "name" = excluded."name",
- remark = excluded.remark,
- update_time = excluded.update_time
- </insert>
- </mapper>
|