From fd3819392c0c3fafc4f1d7d254b952207ddca3b5 Mon Sep 17 00:00:00 2001 From: liuxm <liuxm_a@163.com> Date: 星期四, 23 五月 2024 10:56:39 +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