From 2f36cd76374e1e2cfdd341a4cc075597131d897d Mon Sep 17 00:00:00 2001 From: huangyw <1207046171@qq.com> Date: Wed, 4 Sep 2024 07:59:06 +0800 Subject: [PATCH] =?UTF-8?q?release:=20=E9=97=A8=E5=BA=97=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=AE=80=E4=BB=8B=E5=92=8Ccode=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/luoo/user/dto/store/StoreAddDto.java | 6 ++++++ .../main/java/com/luoo/user/dto/store/StoreUpdateDto.java | 6 ++++++ .../src/main/java/com/luoo/user/service/StoreService.java | 4 +++- 3 files changed, 15 insertions(+), 1 deletion(-) 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())