From a55b77017e8763d0fe044a30b39f37dc9ebb9dbb Mon Sep 17 00:00:00 2001
From: liuxm <liuxm_a@163.com>
Date: 星期二, 21 五月 2024 14:19:28 +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 bcf3c05..56ed3ac 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
@@ -2,6 +2,7 @@
import com.dy.common.webUtil.QueryResultVo;
import com.dy.pmsGlobal.daoPlt.PltStationMapper;
+import com.dy.pmsGlobal.pojoPlt.PltProduct;
import com.dy.pmsGlobal.pojoPlt.PltStation;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.common.utils.PojoUtils;
@@ -76,11 +77,16 @@
return rsVo ;
}
+ @Transactional
public int disabled(Long id, Boolean disabled) {
PltStation station = new PltStation();
station.setId(id);
station.setDisabled(disabled);
return dao.updateByPrimaryKeySelective(station);
}
+
+ public List<PltStation> selectAll() {
+ return dao.selectAll();
+ }
}
--
Gitblit v1.8.0