merge dev 还原pom
commit
31b5f3e234
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("注塑生产控制MODEL")
|
||||
public class InjectionProductionControlModel {
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@ApiParam("当前合格数量")
|
||||
private String standardQtyCur;
|
||||
|
||||
@ApiParam("当前合格数量")
|
||||
private String completeQty;
|
||||
|
||||
@ApiParam("总不合格数量")
|
||||
private String scrapQty;
|
||||
|
||||
@ApiParam("包装编号")
|
||||
private String packageNo;
|
||||
|
||||
@ApiParam("数量")
|
||||
private String qty;
|
||||
|
||||
@ApiParam("包装时间")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("箱条码状态")
|
||||
private String printStatusName;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkOrder;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import javax.persistence.Transient;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 生产工单扩展
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2020-03-30 13:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api(value="生产工单扩展",description = "生产工单扩展")
|
||||
public class MesWorkOrderExtendModel extends MesWorkOrder {
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "扩展数据MAP")
|
||||
public Map<String, Object> extendMap;
|
||||
|
||||
public Map<String, Object> getExtendMap() {
|
||||
try {
|
||||
if (!StringUtils.isEmpty(super.extend)) {
|
||||
return JSONObject.parseObject(super.extend, Map.class);
|
||||
} else {
|
||||
return new HashMap<>();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
return new HashMap<>();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue