From d7c55e6c4d27a1640a8b8dd728aa3201be8c1e57 Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期一, 24 六月 2024 13:05:30 +0800 Subject: [PATCH] update login check API --- pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml index eb7476b..03bcba8 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/StaAssemblyWorkLastMapper.xml @@ -17,6 +17,10 @@ <result property="startTime" column="start_time" jdbcType="TIMESTAMP"/> <result property="endTime" column="end_time" jdbcType="TIMESTAMP"/> <result property="assistants" column="assistants" jdbcType="VARCHAR"/> + <association property="userName" column="user_id" javaType="java.lang.Long" + select="com.dy.pmsGlobal.daoBa.BaUserMapper.selectNameByUserId" fetchType="eager" /> + <association property="stationName" column="station_id" javaType="java.lang.Long" + select="com.dy.pmsGlobal.daoPlt.PltStationMapper.selectNameByStationId" fetchType="eager" /> </resultMap> <sql id="Base_Column_List"> -- Gitblit v1.8.0