diff --git a/luoo_user/src/main/java/com/luoo/user/dto/store/StoreAddDto.java b/luoo_user/src/main/java/com/luoo/user/dto/store/StoreAddDto.java index f758793..97dada6 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/store/StoreAddDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/store/StoreAddDto.java @@ -59,4 +59,10 @@ public class StoreAddDto implements Serializable { @ApiModelProperty(value = "门店介绍") String description; + + @ApiModelProperty(value = "简介") + private String introduction; + + @ApiModelProperty(value = "编码") + private String code; } \ No newline at end of file diff --git a/luoo_user/src/main/java/com/luoo/user/dto/store/StoreUpdateDto.java b/luoo_user/src/main/java/com/luoo/user/dto/store/StoreUpdateDto.java index 6b036aa..94b1ff5 100644 --- a/luoo_user/src/main/java/com/luoo/user/dto/store/StoreUpdateDto.java +++ b/luoo_user/src/main/java/com/luoo/user/dto/store/StoreUpdateDto.java @@ -63,4 +63,10 @@ public class StoreUpdateDto implements Serializable { @ApiModelProperty(value = "门店状态 1-合作中 2-停止合作") Integer status; + @ApiModelProperty(value = "简介") + private String introduction; + + @ApiModelProperty(value = "编码") + private String code; + } \ No newline at end of file diff --git a/luoo_user/src/main/java/com/luoo/user/service/StoreService.java b/luoo_user/src/main/java/com/luoo/user/service/StoreService.java index 35b7814..e658d0e 100644 --- a/luoo_user/src/main/java/com/luoo/user/service/StoreService.java +++ b/luoo_user/src/main/java/com/luoo/user/service/StoreService.java @@ -207,7 +207,9 @@ public class StoreService { qStore.openingHours, qStore.background, qStore.description, - qStore.visitCount + qStore.visitCount, + qStore.introduction, + qStore.code )).from(qStore) .where(booleanBuilder) .orderBy(qStore.createTime.desc())