From 4e86342ca37a01571d9486807489325b5f034a51 Mon Sep 17 00:00:00 2001
From: zhangzeli <123456>
Date: 星期二, 09 十一月 2021 14:42:57 +0800
Subject: [PATCH] 意见建议
---
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AreaMapper.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AreaMapper.java b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AreaMapper.java
index b7824a9..d641dd8 100644
--- a/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AreaMapper.java
+++ b/xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AreaMapper.java
@@ -21,7 +21,7 @@
*/
public interface AreaMapper extends BaseMapper<Area> {
- @Select("SELECT a.*,b.username as temp FROM t_area a LEFT JOIN t_user b ON a.user_id=b.id ${ew.customSqlSegment} ")
- @Results({@Result(column="temp", property="userName", jdbcType = JdbcType.VARCHAR)})
+ @Select("SELECT a.*,b.nickname as temp FROM t_area a LEFT JOIN t_user b ON a.user_id=b.id ${ew.customSqlSegment} ")
+ @Results({@Result(column="temp", property="nickName", jdbcType = JdbcType.VARCHAR)})
IPage<Area> page2(Page initMpPage, @Param(Constants.WRAPPER) QueryWrapper<Area> wrapper);
}
\ No newline at end of file
--
Gitblit v1.9.1