Forráskód Böngészése

工艺版本增加是否质检字段

wudingsheng 2 napja
szülő
commit
b633e4e3e3

+ 4 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/operationManagementCenter/service/impl/OrderServiceImpl.java

@@ -88,6 +88,7 @@ import org.springframework.http.MediaType;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Propagation;
 import org.springframework.transaction.annotation.Transactional;
+import org.springframework.web.client.RestTemplate;
 
 import javax.servlet.http.HttpServletResponse;
 import java.io.File;
@@ -211,6 +212,9 @@ public class OrderServiceImpl extends SuperServiceImpl<OrderMapper, Order> imple
     @Value("${hz.wms}")
     private String url;
 
+    @Autowired
+    private RestTemplate restTemplate;
+
     @Override
     public IPage<Order> pageList(IPage page,String sustDesc, LbqWrapper<Order> wrapper) {
         return baseMapper.pageList(page,sustDesc, wrapper, new DataScope());

+ 0 - 1
imcs-admin-boot/imcs-business-controller/src/main/java/com/github/zuihou/business/controller/productionReadyCenter/BomVersionInfoController.java

@@ -65,7 +65,6 @@ public class BomVersionInfoController extends SuperController<BomVersionInfoServ
     @ApiOperation(value = "删除版本信息", notes = "删除版本信息")
     @PostMapping("/get")
     public R<BomVersionInfo> get(@RequestBody BomVersionInfo model) {
-        // 这个操作相当的危险,请谨慎操作!!!
         return success(baseService.get(model));
     }
 

+ 3 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/productionReadyCenter/dto/BomVersionInfoSaveDTO.java

@@ -96,6 +96,9 @@ public class BomVersionInfoSaveDTO implements Serializable {
     @Length(max = 256, message = "备注长度不能超过256")
     private String remark;
 
+    @ApiModelProperty(value = "isQc")
+    private Boolean isQc;
+
     /**
      * 来源
      */

+ 3 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/productionReadyCenter/dto/BomVersionInfoUpdateDTO.java

@@ -102,4 +102,7 @@ public class BomVersionInfoUpdateDTO implements Serializable {
 
     @ApiModelProperty(value = "关联imcs_b_bom_version_info的no")
     private String modelNo;
+
+    @ApiModelProperty(value = "isQc")
+    private Boolean isQc;
 }

+ 5 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/productionReadyCenter/entity/BomVersionInfo.java

@@ -137,6 +137,11 @@ public class BomVersionInfo extends Entity<Long> {
     @Excel(name = "备注")
     private String remark;
 
+    @ApiModelProperty(value = "是否质检")
+    @TableField(value = "is_qc")
+    @Excel(name = "是否质检")
+    private Boolean isQc;
+
     @ApiModelProperty(value = "产线")
     @TableField("zone_id")
     @Excel(name = "产线")