yaoyq vor 3 Jahren
Ursprung
Commit
486da721cf

+ 1 - 1
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/externalApi/service/impl/ExternalApiServiceImpl.java

@@ -172,7 +172,7 @@ public class ExternalApiServiceImpl implements ExternalApiService {
             log.info("wms同步成品返回{},请求参数{}",goodsStatus,jsonObject.toString());
             JSONObject upResult = JSON.parseObject(goodsStatus);
             if("200".equals(upResult.getString("code"))){
-                bom.setSynFlag(1);
+                bom.setSynFlag("1");
                 bBomService.updateAllById(bom);
             }
         }

+ 1 - 2
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/productionReadyCenter/entity/BBom.java

@@ -150,7 +150,7 @@ public class BBom extends Entity<Long> {
      */
     @ApiModelProperty(value = "同步标志")
     @TableField("syn_flag")
-    private int synFlag;
+    private String  synFlag;
 
     /**
      * 分组号
@@ -204,7 +204,6 @@ public class BBom extends Entity<Long> {
         this.groupNo = groupNo;
         this.batchStand = batchStand;
         this.furnaceBatchNo = furnaceBatchNo;
-        this.synFlag = synFlag;
     }
 
 }