diff --git a/wms_pro/hd/nladmin-system/src/main/java/org/nl/common/utils/RedissonUtils.java b/wms_pro/hd/nladmin-system/src/main/java/org/nl/common/utils/RedissonUtils.java index ffaeef79..a01d2e67 100644 --- a/wms_pro/hd/nladmin-system/src/main/java/org/nl/common/utils/RedissonUtils.java +++ b/wms_pro/hd/nladmin-system/src/main/java/org/nl/common/utils/RedissonUtils.java @@ -1,6 +1,7 @@ package org.nl.common.utils; import lombok.SneakyThrows; +import lombok.extern.slf4j.Slf4j; import org.nl.common.domain.exception.BadRequestException; import org.nl.common.domain.interfaces.LockProcess; import org.nl.common.domain.interfaces.ReturnLockProcess; @@ -13,6 +14,7 @@ import java.util.concurrent.TimeUnit; * @author ZZQ * @Date 2023/3/27 10:30 */ +@Slf4j public class RedissonUtils { /** * @@ -37,6 +39,7 @@ public class RedissonUtils { throw new BadRequestException("当前业务:"+key+"正在执行请稍后再试"); } }catch (Exception ex){ + log.error("key:"+ex.getMessage()); throw ex; }finally { if (lock.isHeldByCurrentThread() && lock.isLocked()){ diff --git a/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/dispatch_manage/task/service/impl/SchBaseTaskServiceImpl.java b/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/dispatch_manage/task/service/impl/SchBaseTaskServiceImpl.java index bfd77d18..faa02d1a 100644 --- a/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/dispatch_manage/task/service/impl/SchBaseTaskServiceImpl.java +++ b/wms_pro/hd/nladmin-system/src/main/java/org/nl/wms/dispatch_manage/task/service/impl/SchBaseTaskServiceImpl.java @@ -313,7 +313,6 @@ public class SchBaseTaskServiceImpl extends ServiceImpl() .set("point_code2", new_struct_code) .set("remark", stIvtStructattr.getStruct_code() + "入满异常重新分配货位" + new_struct_code)