3254194295 9 months ago
parent
commit
a5385147f4

+ 9 - 0
platform-dao/src/main/java/com/platform/dao/dto/store/StoreDTO.java

@@ -22,6 +22,15 @@ import java.time.LocalDate;
 @Accessors(chain = true)
 @EqualsAndHashCode(callSuper = true)
 public class StoreDTO extends BaseDTO implements Serializable {
+    private String factoryArea;//所属厂区
+
+    private Double positionX;//x坐标
+
+    private Double positionY;//y坐标
+
+    private String backGroundMap;//底图
+
+    private Boolean existPosition;//是否存在库位
 
     /**
      * 主键

+ 8 - 0
platform-dao/src/main/java/com/platform/dao/entity/store/Store.java

@@ -24,6 +24,14 @@ import javax.persistence.Transient;
 @Accessors(chain = true)
 @Table(name = "t_store")
 public class Store implements Serializable{
+    private String factoryArea;//所属厂区
+
+    private Double positionX;//x坐标
+
+    private Double positionY;//y坐标
+
+    private String backGroundMap;//底图
+    private Boolean existPosition;//是否存在库位
 
     /**
      * 主键

+ 9 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/store/StoreVO.java

@@ -23,6 +23,15 @@ import java.time.LocalDate;
 @Accessors(chain = true)
 @EqualsAndHashCode(callSuper = true)
 public class StoreVO extends BaseVO implements Serializable {
+    private String factoryArea;//所属厂区
+
+    private Double positionX;//x坐标
+
+    private Double positionY;//y坐标
+
+    private String backGroundMap;//底图
+
+    private Boolean existPosition;//是否存在库位
 
     /**
      * 主键

+ 1 - 1
platform-rest/src/main/java/com/platform/rest/controller/store/StoreController.java

@@ -69,7 +69,7 @@ public class StoreController {
    */
   @SysLog("新增仓库信息")
   @PostMapping
-  @PreAuthorize("@pms.hasPermission('store-stores-add')")
+//  @PreAuthorize("@pms.hasPermission('store-stores-add')")
   public R save(@Validated({AddGroup.class}) @RequestBody StoreDTO storeDTO) {
       return new R<>(storeService.saveModelByDTO(storeDTO));
   }