From 3d4d8e97543d6e5b4b2a84855e3cd08df1e6aaf4 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期三, 20 九月 2023 16:12:04 +0800
Subject: [PATCH] 提交仓内抓拍和后台配置

---
 igds-inout/src/main/java/com/ld/igds/m/view/InoutNoticePR.java |   22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/igds-inout/src/main/java/com/ld/igds/m/view/InoutNoticePR.java b/igds-inout/src/main/java/com/ld/igds/m/view/InoutNoticePR.java
index 0cde589..151307e 100644
--- a/igds-inout/src/main/java/com/ld/igds/m/view/InoutNoticePR.java
+++ b/igds-inout/src/main/java/com/ld/igds/m/view/InoutNoticePR.java
@@ -188,14 +188,14 @@
 
 		InoutSysConf inoutSysConf = inoutManagerService.getCacheInoutSysConf(companyId, deptId);
 
-		if(Constant.YN_Y.equals(inoutSysConf.getNoticeTagIn())){
-			List<InoutNoticeIn> noticeInList = inoutManagerService.getUnComNoticeIn(companyId);
+		List<InoutNoticeIn> noticeInList = inoutManagerService.getUnComNoticeIn(companyId);
 
-			if (noticeInList != null && noticeInList.size() > 0) {
-				inoutManagerService.updateSumNoticeIn(inoutSysConf.getDeptId(), noticeInList);
-				return "success";
-			}
+		if (noticeInList != null && noticeInList.size() > 0) {
+			inoutManagerService.updateSumNoticeIn(inoutSysConf.getDeptId(), noticeInList);
+			return "success";
 		}
+		
+		
 		return "fail";
 	}
 
@@ -269,13 +269,11 @@
 
 		InoutSysConf inoutSysConf = inoutManagerService.getCacheInoutSysConf(companyId, deptId);
 
-		if(Constant.YN_Y.equals(inoutSysConf.getNoticeTagOut())){
-			List<InoutNoticeOut> noticeOutList = inoutManagerService.getUnComNoticeOut(companyId);
+		List<InoutNoticeOut> noticeOutList = inoutManagerService.getUnComNoticeOut(companyId);
 
-			if (noticeOutList != null && noticeOutList.size() > 0) {
-				inoutManagerService.updateSumNoticeOut(inoutSysConf.getDeptId(), noticeOutList);
-				return "success";
-			}
+		if (noticeOutList != null && noticeOutList.size() > 0) {
+			inoutManagerService.updateSumNoticeOut(inoutSysConf.getDeptId(), noticeOutList);
+			return "success";
 		}
 		return "fail";
 	}

--
Gitblit v1.9.3