From f396186d5ba5f0c1f2b2a86f410dd4c756a1f51a Mon Sep 17 00:00:00 2001
From: wangmengzhao <1036088376@qq.com>
Date: 星期二, 21 十一月 2023 23:41:58 +0800
Subject: [PATCH] 设备维修单的功能实现,对超级管理员对安装单和维修单的数据操作做了限制,新添加了description维修描述字段,对应的类做了添加20231121wmz
---
wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/impl/DeviceServiceImpl.java | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/impl/DeviceServiceImpl.java b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/impl/DeviceServiceImpl.java
index e762a3e..7948f41 100644
--- a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/impl/DeviceServiceImpl.java
+++ b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/service/impl/DeviceServiceImpl.java
@@ -149,25 +149,26 @@
/**
* 鏌ヨ鎬昏澶囨暟锛堝彴锛�
*
+ * @param id
* @return
* @throws Exception
*/
@Override
- public int selectDeviceCount(String tenantName) throws Exception {
- return deviceMapper.selectDeviceCount(tenantName);
+ public int selectDeviceCount(int id) throws Exception {
+ return deviceMapper.selectDeviceCount(id);
}
/**
* 鏍规嵁鐧诲綍鐢ㄦ埛鐨刬d鏌ヨ璁惧鐨勪娇鐢ㄤ汉鏁�
*
- * @param tenantName
+ * @param id
* @return
* @throws Exception
*/
@Override
- public int selectUserDeviceByCount(String tenantName) throws Exception {
- return deviceMapper.selectUserDeviceByCount(tenantName);
+ public int selectUserDeviceByCount(int id) throws Exception {
+ return deviceMapper.selectUserDeviceByCount(id);
}
/**
--
Gitblit v1.8.0