提交 45c87ec4 编写于 作者: yongbo.wang's avatar yongbo.wang

now

上级 453f6975
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
#{headimgurl,jdbcType=VARCHAR}, #{privilege,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR}, #{headimgurl,jdbcType=VARCHAR}, #{privilege,jdbcType=VARCHAR}, #{unionid,jdbcType=VARCHAR},
#{subscribe,jdbcType=INTEGER}, #{language,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{subscribe,jdbcType=INTEGER}, #{language,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP},
#{remark,jdbcType=VARCHAR}, #{groupid,jdbcType=VARCHAR}, #{tagidList,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{groupid,jdbcType=VARCHAR}, #{tagidList,jdbcType=VARCHAR},
#{deleteFlag,jdbcType=INTEGER}, #{creatId,jdbcType=INTEGER}, SYSDATE(), #{deleteFlag,jdbcType=INTEGER}, #{creatId,jdbcType=INTEGER}, now(),
#{modifyId,jdbcType=INTEGER}, SYSDATE()) #{modifyId,jdbcType=INTEGER}, now())
</insert> </insert>
<update id="updateById" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser"> <update id="updateById" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser">
update pat_wechat_user update pat_wechat_user
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
<if test="modifyId != null"> <if test="modifyId != null">
modified_id = #{modifyId,jdbcType=INTEGER}, modified_id = #{modifyId,jdbcType=INTEGER},
</if> </if>
modified_time = SYSDATE() modified_time = now()
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
...@@ -127,6 +127,6 @@ ...@@ -127,6 +127,6 @@
</select> </select>
<update id="updateSubscribeById" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser"> <update id="updateSubscribeById" parameterType="com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser">
update pat_wechat_user set subscribe = #{subscribe},modify_time = SYSDATE() where id = #{id,jdbcType=INTEGER} update pat_wechat_user set subscribe = #{subscribe},modified_time = now() where id = #{id,jdbcType=INTEGER}
</update> </update>
</mapper> </mapper>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册