李永德
1 year ago
23 changed files with 189 additions and 20 deletions
@ -0,0 +1,18 @@ |
|||
package org.nl.wms.pda.service.dao.vo; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @Author: lyd |
|||
* @Description: 请求物料信息 |
|||
* @Date: 2023/11/10 |
|||
*/ |
|||
@Data |
|||
public class RequestMaterialInfoVo { |
|||
private String record_id; |
|||
private String device_code; |
|||
private String material_id; |
|||
private String workorder_id; |
|||
private String create_time; |
|||
private String is_finish; |
|||
} |
@ -0,0 +1,31 @@ |
|||
package org.nl.wms.sch.task_manage; |
|||
|
|||
import lombok.SneakyThrows; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.nl.wms.sch.point.service.ISchBasePointService; |
|||
import org.nl.wms.sch.point.service.dao.SchBasePoint; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.core.annotation.Order; |
|||
import org.springframework.stereotype.Component; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Author: lyd |
|||
* @Description: 自动恢复异常点位 |
|||
* @Date: 2023/11/15 |
|||
*/ |
|||
@Slf4j |
|||
@Component |
|||
@Order(value = 1) |
|||
public class AutoRestorePoint { |
|||
@Autowired |
|||
private ISchBasePointService pointService; |
|||
|
|||
@SneakyThrows |
|||
public void run() { |
|||
List<SchBasePoint> pointList = pointService.getAllUnlockAbnormalPoints(); |
|||
pointList.forEach(point -> point.setIng_task_code("")); |
|||
pointService.updateBatchById(pointList); |
|||
} |
|||
} |
Loading…
Reference in new issue