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 0b998966
authored
Aug 16, 2021
by
licy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
字段调整
1 parent
e07eefcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
src/main/java/cn/com/glsx/merchants/request/function/FunctionUpdateRequest.java
src/main/java/cn/com/glsx/merchants/service/MerchantAccountTypeService.java
src/main/java/cn/com/glsx/merchants/request/function/FunctionUpdateRequest.java
View file @
0b99896
...
@@ -68,4 +68,10 @@ public class FunctionUpdateRequest extends DefaultRequest implements Serializabl
...
@@ -68,4 +68,10 @@ public class FunctionUpdateRequest extends DefaultRequest implements Serializabl
@ApiModelProperty
(
notes
=
"排序"
)
@ApiModelProperty
(
notes
=
"排序"
)
private
Integer
sort
;
private
Integer
sort
;
/**
* 所属商户/门店
*/
@ApiModelProperty
(
notes
=
"所属商户/门店"
)
private
String
ownedMerchant
;
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/merchants/service/MerchantAccountTypeService.java
View file @
0b99896
...
@@ -192,7 +192,8 @@ public class MerchantAccountTypeService {
...
@@ -192,7 +192,8 @@ public class MerchantAccountTypeService {
}
}
MerchantAccountTypeRequest
typeRequest
=
new
MerchantAccountTypeRequest
();
MerchantAccountTypeRequest
typeRequest
=
new
MerchantAccountTypeRequest
();
dozerMapper
.
map
(
request
,
typeRequest
);
dozerMapper
.
map
(
request
,
typeRequest
);
this
.
dataTransfer
(
typeRequest
,
request
.
getRequestList
());
//数据转换
//数据转换
this
.
dataTransfer
(
typeRequest
,
request
.
getRequestList
());
RpcResponse
<
Boolean
>
response
=
accountTypeRemote
.
updateRemote
(
typeRequest
);
RpcResponse
<
Boolean
>
response
=
accountTypeRemote
.
updateRemote
(
typeRequest
);
if
(
response
.
isSuccess
()){
if
(
response
.
isSuccess
()){
return
response
.
getResult
();
return
response
.
getResult
();
...
...
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