From 9dfc64b4c99218a82ab56549908a11281e804c18 Mon Sep 17 00:00:00 2001
From: liuxm <liuxm_a@163.com>
Date: 星期四, 23 五月 2024 17:18:30 +0800
Subject: [PATCH] 品检添加排序;用户,工站,产品,列表中添加二维码;修改下载链接
---
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proSR/ProSRSv.java | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proSR/ProSRSv.java b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proSR/ProSRSv.java
index a034582..aacab9a 100644
--- a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proSR/ProSRSv.java
+++ b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proSR/ProSRSv.java
@@ -25,7 +25,7 @@
@Transactional
public int save(PltProductScrappingReason reason) {
- int count = dao.insert(reason);
+ int count = dao.insertSelective(reason);
return count;
}
@@ -70,5 +70,12 @@
return rsVo ;
}
+ @Transactional
+ public int disabled(Long id, Boolean disabled) {
+ PltProductScrappingReason reason = new PltProductScrappingReason();
+ reason.setId(id);
+ reason.setDisabled(disabled);
+ return dao.updateByPrimaryKeySelective(reason);
+ }
}
--
Gitblit v1.8.0