From b14cbe848a3c76cdbb4baa8f067f2a2c9ce1e07c Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 22 五月 2025 11:03:51 +0800
Subject: [PATCH] 入库完成取消禁用库位

---
 src/main/java/com/zy/system/entity/license/LicenseCheckListener.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java b/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
index 1659df2..143bcec 100644
--- a/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
+++ b/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
@@ -53,14 +53,14 @@
     public void onApplicationEvent(ContextRefreshedEvent event) {
         //root application context 娌℃湁parent
         ApplicationContext context = event.getApplicationContext().getParent();
-        if(context == null){
+        if (context == null) {
             loadLicense();
         }
     }
 
     //鍔犺浇璇佷功
     public boolean loadLicense() {
-        if(!Cools.isEmpty(licensePath)){
+        if (!Cools.isEmpty(licensePath)) {
             logger.info("++++++++ 寮�濮嬪姞杞借鍙瘉 ++++++++");
 
             try {

--
Gitblit v1.9.1