空货位盘点增加新表
parent
41710dcc44
commit
09bd20bfe1
@ -0,0 +1,34 @@
|
||||
package com.zhehekeji.web.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class EmptyCheck {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private String orderNum;
|
||||
|
||||
private Integer streetId;
|
||||
|
||||
private Integer direction;
|
||||
|
||||
private Integer side;
|
||||
|
||||
@TableField("`row`")
|
||||
private Integer row;
|
||||
|
||||
@TableField("`column`")
|
||||
private Integer column;
|
||||
|
||||
private Integer emptyStatus;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.zhehekeji.web.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.zhehekeji.web.entity.EmptyCheck;
|
||||
|
||||
public interface EmptyCheckMapper extends BaseMapper<EmptyCheck> {
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.zhehekeji.web.service.client;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class RealtimeCheckMap {
|
||||
|
||||
private static Map<String,CheckInfo> map = new HashMap<>();
|
||||
|
||||
public static void put(String SRMNumber,CheckInfo checkInfo){
|
||||
map.put(SRMNumber,checkInfo);
|
||||
}
|
||||
|
||||
public static CheckInfo getRealtimeCheck(String SRMNumber){
|
||||
return map.get(SRMNumber);
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CheckInfo{
|
||||
|
||||
private Integer row;
|
||||
|
||||
private Integer column;
|
||||
|
||||
private Integer side;
|
||||
|
||||
private Integer direction;
|
||||
|
||||
private String WMSCode;
|
||||
|
||||
private String WMSCategory;
|
||||
|
||||
private Integer WMSCount;
|
||||
|
||||
private String checkCode;
|
||||
|
||||
private String checkCategory;
|
||||
|
||||
private Integer checkCount;
|
||||
|
||||
private String topPic1;
|
||||
|
||||
private String topPic2;
|
||||
|
||||
private String sidePic1;
|
||||
|
||||
private String sidePic2;
|
||||
|
||||
private String sidePic3;
|
||||
|
||||
private String sidePic4;
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue