feat:阶段数据

This commit is contained in:
苏竹红
2024-10-09 13:36:43 +08:00
parent 676b4a89ec
commit 38de8d25df
7 changed files with 44 additions and 192 deletions

View File

@@ -16,6 +16,8 @@ public class AddSignFranchiseRequest {
private Long id;
private Long shopId;
private Long regionId;
/**
* SignTypeEnum
*/

View File

@@ -22,15 +22,19 @@ public class MiniShopPageVO {
@ApiModelProperty("店铺名称")
private String shopName;
public MiniShopPageVO(Long shopId, String shopName) {
@ApiModelProperty("店铺编码")
private String shopCode;
public MiniShopPageVO(Long shopId, String shopName,String shopCode) {
this.shopId = shopId;
this.shopName = shopName;
this.shopCode = shopCode;
}
public static List<MiniShopPageVO> convertList(List<ShopInfoDO> shopInfoList) {
List<MiniShopPageVO> resultList = new ArrayList<>();
for (ShopInfoDO shopInfo : shopInfoList) {
resultList.add(new MiniShopPageVO(shopInfo.getId(), shopInfo.getShopName()));
resultList.add(new MiniShopPageVO(shopInfo.getId(), shopInfo.getShopName(),shopInfo.getShopCode()));
}
return resultList;
}