fix: 1、分切下料缓存
2、内包间新增97信号直接套轴完成
3、手持分切暂存送料到内包间
4、手持清理分切暂存数据
This commit is contained in:
@@ -2,6 +2,7 @@ package org.nl.common.utils;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.nl.b_lms.bst.ivt.cutpointivt.service.dao.BstIvtCutpointivt;
|
||||
import org.nl.b_lms.bst.ivt.shafttubeivt.service.dao.BstIvtShafttubeivt;
|
||||
@@ -44,6 +45,24 @@ public class TaskUtils {
|
||||
source.setUpdate_time(now);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据任务维护分切点位库存
|
||||
* @param taskObj 任务
|
||||
* @param endPointObj 点位
|
||||
* @param status 状态
|
||||
*/
|
||||
public static void pointMaintenanceInventory(SchBaseTask task, BstIvtCutpointivt target, String status) {
|
||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
||||
String currentUsername = SecurityUtils.getCurrentUsername();
|
||||
String now = DateUtil.now();
|
||||
target.setQzz_no1(task.getVehicle_code());
|
||||
target.setQzz_no2(task.getVehicle_code2());
|
||||
target.setPoint_status(status);
|
||||
target.setUpdate_optid(currentUserId);
|
||||
target.setUpdate_optname(currentUsername);
|
||||
target.setUpdate_time(now);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用0,1,2,3四个的二进制字符表示是下单(双)上单(双)
|
||||
* @param currentUpPlan 要下来的上轴
|
||||
|
||||
Reference in New Issue
Block a user