| | |
| | | <?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.yeshi.location.app.mapper.user.WXUserInfoMapper"> |
| | | <mapper namespace="com.ks.app.mapper.user.WXUserInfoMapper"> |
| | | <resultMap id="BaseResultMap" |
| | | type="com.yeshi.location.app.entity.user.WXUserInfo"> |
| | | type="com.ks.app.entity.user.WXUserInfo"> |
| | | <id column="id" property="id" jdbcType="BIGINT"/> |
| | | <result column="system" property="system" jdbcType="VARCHAR"/> |
| | | <result column="nick_name" property="nickName" jdbcType="VARCHAR"/> |
| | |
| | | lt_user_wx where id = #{id,jdbcType=BIGINT} |
| | | </delete> |
| | | <insert id="insert" |
| | | parameterType="com.yeshi.location.app.entity.user.WXUserInfo" |
| | | parameterType="com.ks.app.entity.user.WXUserInfo" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into |
| | | lt_user_wx |
| | |
| | | |
| | | </insert> |
| | | <insert id="insertSelective" |
| | | parameterType="com.yeshi.location.app.entity.user.WXUserInfo" |
| | | parameterType="com.ks.app.entity.user.WXUserInfo" |
| | | useGeneratedKeys="true" keyProperty="id"> |
| | | insert into lt_user_wx |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | |
| | | </trim> |
| | | </insert> |
| | | <update id="updateByPrimaryKey" |
| | | parameterType="com.yeshi.location.app.entity.user.WXUserInfo"> |
| | | parameterType="com.ks.app.entity.user.WXUserInfo"> |
| | | update lt_user_wx |
| | | <set> |
| | | <if test="id != null">id = #{id,jdbcType=BIGINT},</if> |
| | |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.yeshi.location.app.entity.user.WXUserInfo"> |
| | | parameterType="com.ks.app.entity.user.WXUserInfo"> |
| | | update lt_user_wx |
| | | <set> |
| | | <if test="system != null">system = #{system,jdbcType=VARCHAR},</if> |