fix: 小修补

This commit is contained in:
2026-08-10 17:43:16 +08:00
parent 2e1214fbff
commit 757ab83bee
10 changed files with 210 additions and 19 deletions

View File

@@ -92,5 +92,10 @@ public class PackagePointDO extends BaseDO {
*/
private String waitPointType;
/**
* 锁类型
*/
private String lockStatus;
}

View File

@@ -0,0 +1,49 @@
package cn.code.nl.module.lms.job.box;
import cn.code.nl.framework.tenant.core.job.TenantJob;
import cn.code.nl.module.lms.service.packagepoint.PackageBoxBusinessService;
import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.annotation.XxlJob;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* 装箱区域定时器
* @Author: liyongde
* @Date: 2026/8/10 16:56
*/
@Slf4j
@Component
public class BoxAutoJob {
@Resource
private PackageBoxBusinessService packageBoxBusinessService;
/**
* 子卷下线送到待检区任务定时器
*/
@XxlJob("autoSendSubRollTaskJob")
@TenantJob
public void autoSendSubRollTaskJob() {
log.info("子卷下线送到待检区任务创建开始.....");
XxlJobHelper.log("子卷下线送到待检区任务创建开始");
String msg = "子卷下线送到待检区任务创建结束";
XxlJobHelper.log(msg);
XxlJobHelper.handleSuccess(msg);
log.info(msg);
}
/**
* 子卷下线补充空架子定时器
*/
@XxlJob("autoSubRollDownCallEmptyJob")
@TenantJob
public void autoSubRollDownCallEmptyJob() {
}
}

View File

@@ -0,0 +1,6 @@
/**
*
* @Author: liyongde
* @Date: 2026/8/10 16:56
*/
package cn.code.nl.module.lms.job;

View File

@@ -0,0 +1,9 @@
package cn.code.nl.module.lms.service.packagepoint;
/**
* 装箱业务服务类
* @Author: liyongde
* @Date: 2026/8/10 17:15
*/
public interface PackageBoxBusinessService {
}

View File

@@ -0,0 +1,12 @@
package cn.code.nl.module.lms.service.packagepoint;
import org.springframework.stereotype.Service;
/**
*
* @Author: liyongde
* @Date: 2026/8/10 17:16
*/
@Service
public class PackageBoxBusinessServiceImpl implements PackageBoxBusinessService{
}

View File

@@ -1,24 +1,19 @@
package cn.code.nl.module.lms.service.packagepoint;
import cn.hutool.core.collection.CollUtil;
import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.transaction.annotation.Transactional;
import java.util.*;
import cn.code.nl.module.lms.controller.admin.packagepoint.vo.*;
import cn.code.nl.module.lms.dal.dataobject.packagepoint.PackagePointDO;
import cn.code.nl.framework.common.pojo.PageResult;
import cn.code.nl.framework.common.pojo.PageParam;
import cn.code.nl.framework.common.util.object.BeanUtils;
import cn.code.nl.module.lms.controller.admin.packagepoint.vo.PackagePointPageReqVO;
import cn.code.nl.module.lms.controller.admin.packagepoint.vo.PackagePointSaveReqVO;
import cn.code.nl.module.lms.dal.dataobject.packagepoint.PackagePointDO;
import cn.code.nl.module.lms.dal.mysql.packagepoint.PackagePointMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import static cn.code.nl.framework.common.exception.util.ServiceExceptionUtil.exception;
import static cn.code.nl.framework.common.util.collection.CollectionUtils.convertList;
import static cn.code.nl.framework.common.util.collection.CollectionUtils.diffList;
import static cn.code.nl.module.lms.enums.ErrorCodeConstants.*;
import static cn.code.nl.module.lms.enums.ErrorCodeConstants.PACKAGE_POINT_NOT_EXISTS;
/**
* 装箱区点位库存 Service 实现类