Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-scrm-equity
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 f8f70c61
authored
Oct 13, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合同批量替换
1 parent
633cf5c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
src/main/java/cn/com/glsx/scrm/equity/controller/service/ServiceContractTemplateConfigController.java
src/main/java/cn/com/glsx/scrm/equity/controller/service/ServiceContractTemplateConfigController.java
View file @
f8f70c6
...
@@ -255,4 +255,20 @@ public class ServiceContractTemplateConfigController {
...
@@ -255,4 +255,20 @@ public class ServiceContractTemplateConfigController {
return
RopResponse
.
success
(
response
.
getResult
());
return
RopResponse
.
success
(
response
.
getResult
());
}
}
@ServiceMethod
(
method
=
"scrm.api.equity.service.contract.parent.template.batch.replaceTemplate"
)
@ApiOperation
(
"批量替换套餐合同模板"
)
public
RopResponse
<
Integer
>
batchReplaceParentTemplate
(
ContractTemplateCopyRequest
request
)
{
ContractTemplateCopyDTO
contractTemplateCopyDTO
=
CommonUtil
.
convertRequest
(
ContractTemplateCopyDTO
.
class
);
LoginUserDTO
loginUserDTO
=
RopThreadLocal
.
getLoginUser
(
LoginUserDTO
.
class
);
if
(
loginUserDTO
==
null
)
{
return
RopResponse
.
error
(
"登陆状态异常,请重新登陆"
);
}
contractTemplateCopyDTO
.
setUpdatedBy
(
loginUserDTO
.
getAccountName
());
RpcResponse
<
Integer
>
response
=
serviceContractTemplateConfigRemote
.
batchReplaceParentTemplate
(
contractTemplateCopyDTO
);
if
(
response
.
hasError
())
{
return
RopResponse
.
error
(
response
.
getError
(),
response
.
getMessage
());
}
return
RopResponse
.
success
(
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