rev:修改异常入库分配规则
This commit is contained in:
@@ -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()){
|
||||
|
||||
@@ -313,7 +313,6 @@ public class SchBaseTaskServiceImpl extends ServiceImpl<SchBaseTaskMapper, SchBa
|
||||
.set("remark", stIvtStructattr.getStruct_code() + "入满异常重新分配货位" + new_struct_code)
|
||||
.eq("proc_inst_id", vehicleCode.getProc_inst_id()));
|
||||
}
|
||||
|
||||
this.update(new UpdateWrapper<SchBaseTask>()
|
||||
.set("point_code2", new_struct_code)
|
||||
.set("remark", stIvtStructattr.getStruct_code() + "入满异常重新分配货位" + new_struct_code)
|
||||
|
||||
Reference in New Issue
Block a user