Commit 9a0f03dc by yelq

Merge all from rop-merchant v4.49.0_20250121

1 parent ef9a57e3
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<dependency> <dependency>
<groupId>cn.com.glsx.merchants</groupId> <groupId>cn.com.glsx.merchants</groupId>
<artifactId>platform-merchants-api</artifactId> <artifactId>platform-merchants-api</artifactId>
<version>4.48.0-SNAPSHOT</version> <version>4.49.0-SNAPSHOT</version>
</dependency> </dependency>
<!--引用GSON,用于打印--> <!--引用GSON,用于打印-->
<dependency> <dependency>
......
...@@ -695,6 +695,17 @@ public class OpenController { ...@@ -695,6 +695,17 @@ public class OpenController {
} }
} }
@ApiOperation("查询商户信息(带开关)新")
@ServiceMethod(method = "merchants.api.open.merchant.info.new", needInSession = NeedInSessionType.NO)
public RopResponse<Pagination<MerchantBasicInfoListResponse>> findMerchantBasicInfoListNew(MerchantBasicInfoRopRequest request){
try {
return RopResponse.success(openService.findMerchantBasicInfoListNew(request));
} catch (Exception e) {
log.info("查询商户信息(带开关):{}",e);
return RopResponse.error(e.getMessage());
}
}
@ApiOperation("查询商户品牌数据") @ApiOperation("查询商户品牌数据")
@ServiceMethod(method = "merchants.api.open.merchant.brand.info", needInSession = NeedInSessionType.NO) @ServiceMethod(method = "merchants.api.open.merchant.brand.info", needInSession = NeedInSessionType.NO)
public RopResponse<List<MerchantBrandDTO>> getCarBrandList(MerchantNoRopRequest request){ public RopResponse<List<MerchantBrandDTO>> getCarBrandList(MerchantNoRopRequest request){
......
...@@ -55,6 +55,9 @@ public class ServiceStaffRopResponse implements Serializable { ...@@ -55,6 +55,9 @@ public class ServiceStaffRopResponse implements Serializable {
@JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy.MM.dd", timezone = "GMT+8")
private Date createdDate; private Date createdDate;
@ApiModelProperty(notes = "创建来源 1:账户中心 2:SCRM 3:生意助手 4:门店助手")
private Integer createdSource;
@ApiModelProperty(notes = "员工标签") @ApiModelProperty(notes = "员工标签")
private String staffLabel; private String staffLabel;
......
...@@ -539,6 +539,14 @@ public class OpenService { ...@@ -539,6 +539,14 @@ public class OpenService {
throw new RpcServiceException(rpcResponse.getError(),rpcResponse.getException().getErrId(), rpcResponse.getMessage()); throw new RpcServiceException(rpcResponse.getError(),rpcResponse.getException().getErrId(), rpcResponse.getMessage());
} }
public Pagination<MerchantBasicInfoListResponse> findMerchantBasicInfoListNew(MerchantBasicInfoRopRequest request) {
RpcResponse<RpcPagination<MerchantBasicInfoListResponse>> rpcResponse = merchantRemote.findMerchantBasicInfoListNew(ConvertRequest.convertRequest(request,new MerchantBasicInfoRequest()));
if (rpcResponse.isSuccess()) {
return ConvertResponse.convertPage(rpcResponse.getResult(),MerchantBasicInfoListResponse.class);
}
throw new RpcServiceException(rpcResponse.getError(),rpcResponse.getException().getErrId(), rpcResponse.getMessage());
}
public List<MerchantBrandDTO> getCarBrandList(MerchantNoRopRequest request) { public List<MerchantBrandDTO> getCarBrandList(MerchantNoRopRequest request) {
MerchantRequest rpcRequest = ConvertRequest.convertRequest(request, new MerchantRequest()); MerchantRequest rpcRequest = ConvertRequest.convertRequest(request, new MerchantRequest());
RpcResponse<List<CarbrandResponse>> rpcResponse = merchantRemote.getCarBrandList(rpcRequest); RpcResponse<List<CarbrandResponse>> rpcResponse = merchantRemote.getCarBrandList(rpcRequest);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!