From f7cd9fc3a01bce44554f3f1e098dc6b59e305c2d Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Wed, 14 Jul 2021 11:49:55 +0800 Subject: [PATCH] add user/query/userIdentity --- 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