From ae21df72cd3acbc8eb2ec4b9e55529ca9d02498c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 14 Jul 2021 10:11:04 +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