1234567891011121314151617181920212223 |
- <?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.juxiao.xchat.module.xbd.mapper.system.AppSignKeyMapper">
- <insert id="insert" parameterType="com.juxiao.xchat.module.xbd.domain.system.AppSignKey" >
- insert into app_sign_key (os, app_version, sign_key,
- create_time)
- values (#{os,jdbcType=VARCHAR}, #{appVersion,jdbcType=VARCHAR}, #{signKey,jdbcType=VARCHAR},
- #{createTime,jdbcType=TIMESTAMP})
- </insert>
- <delete id="deleteBySignKey">
- delete from app_sign_key
- where sign_key = #{signKey}
- </delete>
- <update id="updateBySignKey">
- update app_sign_key set os=#{os,jdbcType=INTEGER}, app_version=#{appVersion,jdbcType=VARCHAR}, create_time=now()
- where sign_key=#{signKey,jdbcType=VARCHAR}
- </update>
- </mapper>
|