From f026b03b7b02a0e00ba2a0cb3d93bf61cf07f9e0 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 23 Mar 2021 15:28:26 +0800 Subject: [PATCH] 20210323 后台保留两位小数,(平台数据除外) --- src/main/resources/mapper/modules/AgentFriendRelationMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml index e08a891..8a3bee5 100644 --- a/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml +++ b/src/main/resources/mapper/modules/AgentFriendRelationMapper.xml @@ -3,7 +3,11 @@ <mapper namespace="com.xcong.excoin.modules.member.mapper.AgentFriendRelationMapper"> <select id="findAgentFriendRelationListInPage" resultType="com.xcong.excoin.modules.member.entity.AgentFriendRelationEntity"> - select * from agent_friend_relation s left join member m on m.id = s.member_id + select *, + CONCAT(b.first_name, b.second_name) realName + from agent_friend_relation s + left join member m on m.id = s.member_id + LEFT JOIN member_authentication b ON m.id = b.member_id <where> <if test="record != null" > <if test="record.account!=null and record.account!=''"> -- Gitblit v1.9.1