From 14255942c7a30ddac8f513c91b026ae34e17cfde Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 16 五月 2024 17:55:26 +0800
Subject: [PATCH] 完善代码
---
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationSv.java | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationSv.java b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationSv.java
index fafb724..bcf3c05 100644
--- a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationSv.java
+++ b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/station/StationSv.java
@@ -76,5 +76,11 @@
return rsVo ;
}
+ public int disabled(Long id, Boolean disabled) {
+ PltStation station = new PltStation();
+ station.setId(id);
+ station.setDisabled(disabled);
+ return dao.updateByPrimaryKeySelective(station);
+ }
}
--
Gitblit v1.8.0