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 8efb0469
authored
Aug 08, 2021
by
zhouhb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码提交
1 parent
475dc0b2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
src/main/java/cn/com/glsx/merchants/request/function/FunctionListSearchRequest.java
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantSaveRequest.java
src/main/java/cn/com/glsx/merchants/response/MerchantRopResponse.java
src/main/java/cn/com/glsx/merchants/service/MerchantService.java
src/main/java/cn/com/glsx/merchants/request/function/FunctionListSearchRequest.java
View file @
8efb046
...
@@ -56,6 +56,6 @@ public class FunctionListSearchRequest extends AbstractRopRequest {
...
@@ -56,6 +56,6 @@ public class FunctionListSearchRequest extends AbstractRopRequest {
* 所属客户群体值
* 所属客户群体值
*/
*/
@ApiModelProperty
(
notes
=
"所属客户群体值"
)
@ApiModelProperty
(
notes
=
"所属客户群体值"
)
private
List
<
String
>
ownedCusg
roupValues
;
private
List
<
Integer
>
ownedCusG
roupValues
;
}
}
src/main/java/cn/com/glsx/merchants/request/merchant/MerchantSaveRequest.java
View file @
8efb046
...
@@ -94,7 +94,7 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable
...
@@ -94,7 +94,7 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable
* 1.工厂 2.省代 3.市代 4.门店
* 1.工厂 2.省代 3.市代 4.门店
*/
*/
@ApiModelProperty
(
notes
=
"1.工厂 2.省代 3.市代 4.门店"
,
required
=
true
)
@ApiModelProperty
(
notes
=
"1.工厂 2.省代 3.市代 4.门店"
,
required
=
true
)
private
Byte
merchantAccountLevel
;
private
Integer
merchantAccountLevel
;
@ApiModelProperty
(
notes
=
"父商户id"
)
@ApiModelProperty
(
notes
=
"父商户id"
)
private
Integer
parentId
;
private
Integer
parentId
;
...
...
src/main/java/cn/com/glsx/merchants/response/MerchantRopResponse.java
View file @
8efb046
...
@@ -124,6 +124,12 @@ public class MerchantRopResponse {
...
@@ -124,6 +124,12 @@ public class MerchantRopResponse {
private
String
residentPhone
;
private
String
residentPhone
;
/**
/**
* 密码
*/
@ApiModelProperty
(
name
=
"merchantLoginPassword"
,
notes
=
"密码"
,
dataType
=
"String"
,
required
=
true
,
example
=
"1"
)
private
String
merchantLoginPassword
;
/**
* 区域
* 区域
*/
*/
@ApiModelProperty
(
name
=
"areaCode"
,
notes
=
"区域"
,
dataType
=
"Integer"
,
required
=
true
,
example
=
"1"
)
@ApiModelProperty
(
name
=
"areaCode"
,
notes
=
"区域"
,
dataType
=
"Integer"
,
required
=
true
,
example
=
"1"
)
...
...
src/main/java/cn/com/glsx/merchants/service/MerchantService.java
View file @
8efb046
...
@@ -77,7 +77,7 @@ public class MerchantService {
...
@@ -77,7 +77,7 @@ public class MerchantService {
*/
*/
@SysLog
(
value
=
"更新商户"
,
action
=
OperateType
.
EDIT
,
module
=
"商户模块"
)
@SysLog
(
value
=
"更新商户"
,
action
=
OperateType
.
EDIT
,
module
=
"商户模块"
)
public
void
updateMerchant
(
MerchantUpdateRequest
merchantUpdateRequest
)
{
public
void
updateMerchant
(
MerchantUpdateRequest
merchantUpdateRequest
)
{
RpcResponse
<
Boolean
>
booleanRpcResponse
=
merchantRemote
.
sav
eMerchantRemote
(
converUpdateMerchant
(
merchantUpdateRequest
));
RpcResponse
<
Boolean
>
booleanRpcResponse
=
merchantRemote
.
updat
eMerchantRemote
(
converUpdateMerchant
(
merchantUpdateRequest
));
if
(
booleanRpcResponse
.
isFailed
())
{
if
(
booleanRpcResponse
.
isFailed
())
{
throw
new
RpcServiceException
(
booleanRpcResponse
.
getException
().
getErrId
(),
booleanRpcResponse
.
getMessage
());
throw
new
RpcServiceException
(
booleanRpcResponse
.
getException
().
getErrId
(),
booleanRpcResponse
.
getMessage
());
}
}
...
...
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