Browse Source

生产任务添加生产指示

yzc 1 year ago
parent
commit
fccc2ef39c

+ 86 - 81
hx-mes/src/main/java/com/fjhx/mes/entity/production/vo/ProductionOrderDetailVo.java

@@ -29,93 +29,93 @@ public class ProductionOrderDetailVo extends ProductionOrderDetail {
      */
     private Date orderCreateTime;
 
-	/**
-	 * 产品名称
-	 */
-	private String productName;
-	/**
-	 * 产品编号
-	 */
-	private String productCode;
-	/**
-	 * 产品规格
-	 */
-	private String productSpec;
-	/**
-	 * 产品单位
-	 */
-	private String productUnit;
-
-	/**
-	 * 产品长
-	 */
-	private BigDecimal productLength;
-	/**
-	 * 产品宽
-	 */
-	private BigDecimal productWidth;
-	/**
-	 * 产品高
-	 */
-	private BigDecimal productHeight;
-	/**
-	 * 产品备注
-	 */
-	private String productRemark;
-
-
-	/**
-	 * 交期
-	 */
-	private Date deliveryPeriod;
-
-	/**
-	 * 生产用时
-	 */
-	private Long usageTime;
-
-	/**
-	 * 工序列表
-	 */
-	private List<ProductionProcessesVo> productionProcessesList;
-
-	/**
-	 * 原材料名称
-	 */
-	private String rawMaterialName;
-
-	/**
-	 * 原材料编号
-	 */
-	private String rawMaterialCode;
-
-	/**
-	 * 原材料长
-	 */
-	private BigDecimal rawMaterialLength;
-	/**
-	 * 原材料宽
-	 */
-	private BigDecimal rawMaterialWidth;
-	/**
-	 * 原材料高
-	 */
-	private BigDecimal rawMaterialHeight;
-
-	/**
-	 * 生产进度列表
-	 */
-	private List<ProductionTaskProgressVo> productionTaskProgressList;
+    /**
+     * 产品名称
+     */
+    private String productName;
+    /**
+     * 产品编号
+     */
+    private String productCode;
+    /**
+     * 产品规格
+     */
+    private String productSpec;
+    /**
+     * 产品单位
+     */
+    private String productUnit;
+
+    /**
+     * 产品长
+     */
+    private BigDecimal productLength;
+    /**
+     * 产品宽
+     */
+    private BigDecimal productWidth;
+    /**
+     * 产品高
+     */
+    private BigDecimal productHeight;
+    /**
+     * 产品备注
+     */
+    private String productRemark;
+
+
+    /**
+     * 交期
+     */
+    private Date deliveryPeriod;
+
+    /**
+     * 生产用时
+     */
+    private Long usageTime;
+
+    /**
+     * 工序列表
+     */
+    private List<ProductionProcessesVo> productionProcessesList;
+
+    /**
+     * 原材料名称
+     */
+    private String rawMaterialName;
+
+    /**
+     * 原材料编号
+     */
+    private String rawMaterialCode;
+
+    /**
+     * 原材料长
+     */
+    private BigDecimal rawMaterialLength;
+    /**
+     * 原材料宽
+     */
+    private BigDecimal rawMaterialWidth;
+    /**
+     * 原材料高
+     */
+    private BigDecimal rawMaterialHeight;
+
+    /**
+     * 生产进度列表
+     */
+    private List<ProductionTaskProgressVo> productionTaskProgressList;
 
     /**
      * BOM列表
      */
     private List<ContractProductBomVo> contractProductBomList;
 
-	/**
-	 * 投产时间
-	 */
-	private Date produceTime;
+    /**
+     * 投产时间
+     */
+    private Date produceTime;
 
     /**
      * 生产公司Id
@@ -130,6 +130,11 @@ public class ProductionOrderDetailVo extends ProductionOrderDetail {
     private String productColor;
 
     /**
+     * 生产指示
+     */
+    private String prodTag;
+
+    /**
      * 生产备注
      */
     private String prodRemark;

+ 1 - 0
hx-mes/src/main/resources/mapper/production/ProduceOrderDetailMapper.xml

@@ -24,6 +24,7 @@
 			   po.company_id,
 			   (if(IFNULL(po.finish_time, NOW()) > po.delivery_period, 1, 0)) AS isOverdue,
 			   pod.remark,
+			   c.prod_tag,
 			   c.prod_remark
 		FROM production_order_detail pod
 				 LEFT JOIN production_order po ON pod.produce_order_id = po.id