forked from I3-YF/i3plus-mes-yfai
对账单信息
parent
30e98fb248
commit
acab8131a0
@ -1,4 +1,23 @@
|
|||||||
package cn.estsh.i3plus.ext.mes.apiservice.schedulejob;
|
package cn.estsh.i3plus.ext.mes.apiservice.schedulejob;
|
||||||
|
|
||||||
public class TestJob {
|
public class TestJob {
|
||||||
|
private String startHour;
|
||||||
|
private String endHour;
|
||||||
|
private static int d = 3;
|
||||||
|
|
||||||
|
public TestJob(int segment) {
|
||||||
|
this.startHour = segment * d + ":00:00";
|
||||||
|
this.endHour = (segment * d + d)+":00:00" ;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String toString() {
|
||||||
|
return "从 " + startHour + " 到 " + endHour;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
for (int i = 0; i < 24/d; i++) {
|
||||||
|
TestJob segment = new TestJob(i);
|
||||||
|
System.out.println(segment);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.pojo.model.board;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 工单看板封装
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zxw
|
||||||
|
* @CreateDate : 2024/6/19 15:26
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@ApiModel("产线看板-查询结果封装")
|
||||||
|
public class MesWorkOrderBoardReqModel {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产线状态
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "产线代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
/**
|
||||||
|
* 工厂编码
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "工厂编码")
|
||||||
|
private String organizeCode;
|
||||||
|
}
|
@ -0,0 +1,68 @@
|
|||||||
|
package cn.estsh.i3plus.ext.mes.pojo.model.board;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 工单看板封装
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zxw
|
||||||
|
* @CreateDate : 2024/6/19 15:26
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@ApiModel("BTO工单看板-查询结果封装")
|
||||||
|
public class MesWorkOrderBoardResModel {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产线状态
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "产线代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询产线状态
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "物料编码")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 物料名称
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "物料名称")
|
||||||
|
private String partName;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 汇总日期
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "汇总日期")
|
||||||
|
private String productDate;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工单时间
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "工单时间")
|
||||||
|
private String orderTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 计划数量
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "计划数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完成数量
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "完成数量")
|
||||||
|
private Double completeQty;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@ApiParam(value = "创建时间")
|
||||||
|
private String createDatetime;
|
||||||
|
}
|
Loading…
Reference in New Issue