Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-merchant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9a0f03dc
authored
Jan 22, 2025
by
yelq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Merge all from rop-merchant v4.49.0_20250121
1 parent
ef9a57e3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletions
pom.xml
src/main/java/cn/com/glsx/merchants/controller/OpenController.java
src/main/java/cn/com/glsx/merchants/response/serviceCenter/ServiceStaffRopResponse.java
src/main/java/cn/com/glsx/merchants/service/OpenService.java
pom.xml
View file @
9a0f03d
...
@@ -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.4
8
.0-SNAPSHOT
</version>
<version>
4.4
9
.0-SNAPSHOT
</version>
</dependency>
</dependency>
<!--引用GSON,用于打印-->
<!--引用GSON,用于打印-->
<dependency>
<dependency>
...
...
src/main/java/cn/com/glsx/merchants/controller/OpenController.java
View file @
9a0f03d
...
@@ -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
){
...
...
src/main/java/cn/com/glsx/merchants/response/serviceCenter/ServiceStaffRopResponse.java
View file @
9a0f03d
...
@@ -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
;
...
...
src/main/java/cn/com/glsx/merchants/service/OpenService.java
View file @
9a0f03d
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment