From fd523aa5694b7f9350f87b30cab6bb3ae34e1c77 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 08 十月 2024 11:01:46 +0800
Subject: [PATCH] log4j2.yml配置文件中增加删除过期日志文件配置
---
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proUR/ProURSv.java | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proUR/ProURSv.java b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proUR/ProURSv.java
index b522f12..3cd3e14 100644
--- a/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proUR/ProURSv.java
+++ b/pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/proUR/ProURSv.java
@@ -25,7 +25,7 @@
@Transactional
public int save(PltProductUnqualifiedReason 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) {
+ PltProductUnqualifiedReason reason = new PltProductUnqualifiedReason();
+ reason.setId(id);
+ reason.setDisabled(disabled);
+ return dao.updateByPrimaryKeySelective(reason);
+ }
}
--
Gitblit v1.8.0