From bca1629b96a41a4f669663eda6a881a6eca403ff Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 08 Jul 2021 16:14:31 +0800 Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop --- gc-user/src/main/resources/mapper/user/AccountMapper.xml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/gc-user/src/main/resources/mapper/user/AccountMapper.xml b/gc-user/src/main/resources/mapper/user/AccountMapper.xml index ccf2bed..2cd6409 100644 --- a/gc-user/src/main/resources/mapper/user/AccountMapper.xml +++ b/gc-user/src/main/resources/mapper/user/AccountMapper.xml @@ -133,4 +133,18 @@ </select> + + <insert id="insertScoreDetailsRet"> + insert into xzx_score_details (CREATED_TIME, user_id, type, original_score, change_score, current_score) + values ( + #{createdTime}, #{userId}, #{type}, #{originalScore}, #{changeScore}, #{currentScore} + ) + </insert> + + + + <select id="selectOneByUserId" resultType="com.xzx.gc.entity.AccountInfo"> + select * from xzx_account_info where user_id = #{userId} + </select> + </mapper> -- Gitblit v1.9.1