FunctionInfoMapper.xml 804 B

1234567891011121314
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.shkpr.service.customgateway.zydma.mapper.primary.FunctionInfoMapper">
  4. <insert id="upsert">
  5. insert into k4_bs_sys_function_info (uid, "name", remark, update_time)
  6. values (#{uid,jdbcType=VARCHAR},
  7. #{name,jdbcType=VARCHAR},
  8. #{remark,jdbcType=VARCHAR},
  9. timezone('utc', localtimestamp(0) at time zone current_setting('timezone')))
  10. on conflict (uid) do update set "name" = excluded."name",
  11. remark = excluded.remark,
  12. update_time = excluded.update_time
  13. </insert>
  14. </mapper>