小程序店铺信息获取相关
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.czg.account.dto.shopinfo;
|
||||
|
||||
import com.czg.account.entity.ShopInfo;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class ShopDetailDTO extends ShopInfo {
|
||||
private String account;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.czg.account.dto.shopinfo;
|
||||
|
||||
import com.czg.account.entity.ShopExtend;
|
||||
import com.czg.account.entity.ShopInfo;
|
||||
import com.czg.account.entity.ShopTable;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ShopInfoDetailDTO {
|
||||
/**
|
||||
* 店铺信息
|
||||
*/
|
||||
private ShopInfo shopInfo;
|
||||
|
||||
/**
|
||||
* 店铺拓展信息列表,主要为首页用户页面背景配置
|
||||
*/
|
||||
private Map<String, ShopExtend> shopExtend;
|
||||
}
|
||||
@@ -1,9 +1,7 @@
|
||||
package com.czg.account.service;
|
||||
|
||||
import com.czg.account.dto.PageDTO;
|
||||
import com.czg.account.dto.shopinfo.ShopInfoAddDTO;
|
||||
import com.czg.account.dto.shopinfo.ShopInfoByCodeDTO;
|
||||
import com.czg.account.dto.shopinfo.ShopInfoEditDTO;
|
||||
import com.czg.account.dto.shopinfo.*;
|
||||
import com.czg.account.entity.ShopInfo;
|
||||
import com.mybatisflex.core.paginate.Page;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
@@ -18,7 +16,9 @@ public interface ShopInfoService extends IService<ShopInfo> {
|
||||
|
||||
Boolean edit(ShopInfoEditDTO shopInfoEditDTO);
|
||||
|
||||
ShopInfo detail(Integer id);
|
||||
ShopDetailDTO detail(Integer id);
|
||||
|
||||
ShopInfoByCodeDTO getByCode(String tableCode, String lat, String lng, boolean checkState);
|
||||
|
||||
ShopInfoDetailDTO getDetail(Long shopId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user