From cc6ee8e7461b7959b0917ed260afa47c99cd98ea Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期五, 28 十月 2022 11:13:37 +0800 Subject: [PATCH] 店铺上传bug解决和用户添加用户类型bug解决 --- ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java | 3 --- ycl-common/src/main/java/com/ycl/dto/UmsStoreInfoParam.java | 6 +++--- ycl-common/src/main/java/com/ycl/entity/user/UmsAdmin.java | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/ycl-common/src/main/java/com/ycl/dto/UmsStoreInfoParam.java b/ycl-common/src/main/java/com/ycl/dto/UmsStoreInfoParam.java index bf0d555..77c823e 100644 --- a/ycl-common/src/main/java/com/ycl/dto/UmsStoreInfoParam.java +++ b/ycl-common/src/main/java/com/ycl/dto/UmsStoreInfoParam.java @@ -36,9 +36,9 @@ @ApiModelProperty("鐓х墖") private String storephoto; - @NotBlank(message = "韬唤璇佷俊鎭笉鑳戒负绌�") - @ApiModelProperty("韬唤璇佷俊鎭�") - private String idcardinfo; +// @NotBlank(message = "韬唤璇佷俊鎭笉鑳戒负绌�") +// @ApiModelProperty("韬唤璇佷俊鎭�") +// private String idcardinfo; @ApiModelProperty("闂ㄥ簵绉垎") private BigDecimal storescore; diff --git a/ycl-common/src/main/java/com/ycl/entity/user/UmsAdmin.java b/ycl-common/src/main/java/com/ycl/entity/user/UmsAdmin.java index f87c644..0779678 100644 --- a/ycl-common/src/main/java/com/ycl/entity/user/UmsAdmin.java +++ b/ycl-common/src/main/java/com/ycl/entity/user/UmsAdmin.java @@ -81,7 +81,7 @@ private String departName; @ApiModelProperty(value = "鐢ㄦ埛绫诲瀷") - private Byte userType; + private Integer userType; @ApiModelProperty(value = "搴ф満/鍒嗘満") private String zj; diff --git a/ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java b/ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java index 1ffd7d9..959dbf2 100644 --- a/ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java +++ b/ycl-platform/src/main/java/com/ycl/controller/store/StoreInfoController.java @@ -67,10 +67,7 @@ .storeName(umsStoreInfoParam.getStorename()) .contact(umsStoreInfoParam.getContact()) .storeAddress(umsStoreInfoParam.getStoreaddr()) - .storePhoto(umsStoreInfoParam.getStorephoto()) - .idCardInfo(umsStoreInfoParam.getIdcardinfo()) .storeNumber(utilNumber.createShopCode()) - .storeScore(umsStoreInfoParam.getStorescore()) .type(umsStoreInfoParam.getType()) .description(umsStoreInfoParam.getDescription()) .build(); -- Gitblit v1.8.0