yun-zuoyi
陈思洁 4 years ago
commit 107f3828f9

@ -18,7 +18,8 @@ public class MesPcnEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PART_CHECK_DATA_TYPE {
ALL_DATA(1, "所有数据"),
LAST_DATA(2, "最后一条数据");
LAST_DATA(2, "最后一条数据"),
ALL_DATA_AND_LAST_DATA(3, "所有数据且最后一条数据必须合格");
private int value;
private String description;

@ -31,6 +31,9 @@ public class DataReviewModel {
@ApiParam("对象代码")
private String objectCode;
@ApiParam("末检是否合格")
private String lastDataResult;
@ApiParam("是否合格标识")
private Integer reviewFlag;
@ -38,7 +41,7 @@ public class DataReviewModel {
private String reviewResult;
@ApiParam("显示标识")
private String showFlag;
private Integer showFlag;
@ApiParam("颜色")
private String color;

@ -24,4 +24,7 @@ public class ProductDataCacheModel {
@ApiParam("创建时间")
private String createDatetime;
@ApiParam("是否必须是合格")
private Boolean isNecessary = false;
}

@ -0,0 +1,38 @@
package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.*;
/**
* @Description
* @Reference
* @Author dragon
* @CreateDate 2020/12/17 15:38
* @Modify
*/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name="WMS_USER_PRINTER_INFO")
@Api("用户打印机绑定信息")
public class WmsUserPrinterInfo extends BaseBean{
@Column(name="PRINTER_NO")
@ApiParam("打印机编号")
private String printerNo;
@Column(name="USER_NO")
@ApiParam("用户编码")
private String userNo;
}

@ -0,0 +1,14 @@
package cn.estsh.i3plus.pojo.wms.repository;
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
import cn.estsh.i3plus.pojo.wms.bean.WmsUserPrinterInfo;
/**
* @Description DAO
* @Reference
* @Author dragon
* @CreateDate 2020/12/17 15:42
* @Modify
*/
public interface WmsUserPrinterInfoRepository extends BaseRepository<WmsUserPrinterInfo, Long> {
}
Loading…
Cancel
Save