From 7b43c04dd530bdd193e0cf02c4e19ba7c2ee2c11 Mon Sep 17 00:00:00 2001
From: liuhaonan <31457034@qq.com>
Date: 星期三, 11 五月 2022 10:41:31 +0800
Subject: [PATCH] 设备归属
---
dao/src/main/resources/mapper/ClientMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dao/src/main/resources/mapper/ClientMapper.xml b/dao/src/main/resources/mapper/ClientMapper.xml
index dd89315..50ded3b 100644
--- a/dao/src/main/resources/mapper/ClientMapper.xml
+++ b/dao/src/main/resources/mapper/ClientMapper.xml
@@ -10,13 +10,19 @@
<result property="clientSuperior" column="client_superior" jdbcType="VARCHAR"/>
<result property="linkMan" column="linkman" jdbcType="VARCHAR"/>
<result property="mobile" column="mobile" jdbcType="VARCHAR"/>
+ <result property="icon" column="icon" jdbcType="VARCHAR"/>
+ <result property="password" column="password" jdbcType="VARCHAR"/>
<result property="countLight" column="count_light" jdbcType="INTEGER"/>
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+ <result property="loginTime" column="login_time" jdbcType="TIMESTAMP"/>
</resultMap>
<select id="clientList" resultType="com.sandu.ximon.dao.domain.Client">
select * from client where superiorId=#{userId}
</select>
+ <select id="findClientIdByName" resultType="java.lang.Long">
+ select id from client where client_name=#{belongsClient}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3