提交 66230c4b 编写于 作者: yongbo.wang's avatar yongbo.wang

yunqueyilian

上级 bb2293e3
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
<result column="groupid" property="groupid" jdbcType="VARCHAR"/> <result column="groupid" property="groupid" jdbcType="VARCHAR"/>
<result column="tagid_list" property="tagidList" jdbcType="VARCHAR"/> <result column="tagid_list" property="tagidList" jdbcType="VARCHAR"/>
<result column="delete_flag" property="deleteFlag" jdbcType="INTEGER"/> <result column="delete_flag" property="deleteFlag" jdbcType="INTEGER"/>
<result column="creat_id" property="creatId" jdbcType="INTEGER"/> <result column="created_id" property="creatId" jdbcType="INTEGER"/>
<result column="creat_time" property="creatTime" jdbcType="TIMESTAMP"/> <result column="created_time" property="creatTime" jdbcType="TIMESTAMP"/>
<result column="modify_id" property="modifyId" jdbcType="INTEGER"/> <result column="modified_id" property="modifyId" jdbcType="INTEGER"/>
<result column="modify_time" property="modifyTime" jdbcType="TIMESTAMP"/> <result column="modified_time" property="modifyTime" jdbcType="TIMESTAMP"/>
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, openid, patient_id, type, sex, nickname, province, city, country, headimgurl, id, openid, patient_id, type, sex, nickname, province, city, country, headimgurl,
privilege, unionid, subscribe, language, subscribe_time, remark, groupid, tagid_list, privilege, unionid, subscribe, language, subscribe_time, remark, groupid, tagid_list,
delete_flag, creat_id, creat_time, modify_id, modify_time delete_flag, created_id, created_time, modified_id, modified_time
</sql> </sql>
<insert id="insert" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser"> <insert id="insert" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser">
insert into pat_wechat_user (openid, patient_id, insert into pat_wechat_user (openid, patient_id,
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
headimgurl, privilege, unionid, headimgurl, privilege, unionid,
subscribe, language, subscribe_time, subscribe, language, subscribe_time,
remark, groupid, tagid_list, remark, groupid, tagid_list,
delete_flag, creat_id, creat_time, delete_flag, created_id, created_time,
modify_id, modify_time) modified_id, modified_time)
values (#{openid,jdbcType=VARCHAR}, #{patientId,jdbcType=INTEGER}, values (#{openid,jdbcType=VARCHAR}, #{patientId,jdbcType=INTEGER},
#{type,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{nickname,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{nickname,jdbcType=VARCHAR},
#{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR},
...@@ -107,15 +107,15 @@ ...@@ -107,15 +107,15 @@
delete_flag = #{deleteFlag,jdbcType=INTEGER}, delete_flag = #{deleteFlag,jdbcType=INTEGER},
</if> </if>
<if test="creatId != null"> <if test="creatId != null">
creat_id = #{creatId,jdbcType=INTEGER}, created_id = #{creatId,jdbcType=INTEGER},
</if> </if>
<if test="creatTime != null"> <if test="creatTime != null">
creat_time = #{creatTime,jdbcType=TIMESTAMP}, created_time = #{creatTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="modifyId != null"> <if test="modifyId != null">
modify_id = #{modifyId,jdbcType=INTEGER}, modified_id = #{modifyId,jdbcType=INTEGER},
</if> </if>
modify_time = SYSDATE() modified_time = SYSDATE()
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册