Commit 232a338b by zhouhaibao

Revert "[+]新增商户创建open接口,以及查询上级商户接口"

This reverts commit 51bff076.
1 parent 51bff076
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</parent> </parent>
<groupId>cn.com.glsx.merchants</groupId> <groupId>cn.com.glsx.merchants</groupId>
<artifactId>platform-merchants-api</artifactId> <artifactId>platform-merchants-api</artifactId>
<version>5.8.0-SNAPSHOT</version> <version>5.7.0-SNAPSHOT</version>
<name>platform-merchants-api</name> <name>platform-merchants-api</name>
<properties> <properties>
<deploy.scanPackage>cn.com.glsx.merchants.remote</deploy.scanPackage> <deploy.scanPackage>cn.com.glsx.merchants.remote</deploy.scanPackage>
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,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>5.8.0-SNAPSHOT</version> <version>5.7.0-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
......
...@@ -66,9 +66,4 @@ public class DefaultRequest { ...@@ -66,9 +66,4 @@ public class DefaultRequest {
public DefaultRequest(Integer createdBy) { public DefaultRequest(Integer createdBy) {
this.createdBy = createdBy; this.createdBy = createdBy;
} }
public DefaultRequest(String createdAccount,String source) {
this.createdAccount = createdAccount;
this.source = source;
}
} }
package cn.com.glsx.merchants.remote;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import cn.com.glsx.merchants.model.request.CreateMerchantWithPermissionsRequest;
import cn.com.glsx.merchants.model.request.QueryParentMerchantListRequest;
import cn.com.glsx.merchants.model.response.CreateMerchantWithPermissionsResponse;
import cn.com.glsx.merchants.model.response.ParentMerchantInfoResponse;
import java.util.List;
/**
* 创建商户并分配权限远程接口
*
* @author glsx
* @version 1.0
* @date 2026-04-20
*/
public interface MerchantWithPermissionsRemote {
/**
* 创建园区店商户并分配权限
*
* @param request 创建商户请求参数
* @return 创建结果
*/
RpcResponse<CreateMerchantWithPermissionsResponse> createMerchantWithPermissions(CreateMerchantWithPermissionsRequest request);
/**
* 查询上级商户列表
* <p>
* 根据当前商户的账户等级和商户类型,查询账户等级大于当前等级的全部商户
* </p>
*
* @param request 查询参数
* @return 上级商户列表
*/
RpcResponse<List<ParentMerchantInfoResponse>> queryParentMerchantList(QueryParentMerchantListRequest request);
}
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,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>5.8.0-SNAPSHOT</version> <version>5.7.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.glsx</groupId> <groupId>com.glsx</groupId>
......
...@@ -920,9 +920,6 @@ ...@@ -920,9 +920,6 @@
<if test="request.status != null"> <if test="request.status != null">
AND status = #{request.status} AND status = #{request.status}
</if> </if>
<if test="request.accountType != null">
AND find_in_set(#{request.accountType},account_type)
</if>
</select> </select>
<select id="findAccountTypeNameByIds" resultType="java.lang.String"> <select id="findAccountTypeNameByIds" resultType="java.lang.String">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!