Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-process-server
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 e0e73b41
authored
Sep 25, 2023
by
谢海旭
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店模板实例接口改put请求为post请求(前端要求)
1 parent
c38c43ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
platform-process/src/main/java/cn/com/glsx/process/modules/controller/SopInstController.java
platform-process/src/main/java/cn/com/glsx/process/modules/controller/SopInstController.java
View file @
e0e73b4
...
@@ -45,14 +45,14 @@ public class SopInstController extends BaseController {
...
@@ -45,14 +45,14 @@ public class SopInstController extends BaseController {
return
sopInstService
.
findById
(
instId
);
return
sopInstService
.
findById
(
instId
);
}
}
@Operation
(
summary
=
"更新SOP门店模板实例初始参数里的门店自定义参数
"
,
description
=
"更新SOP门店模板实例初始参数里的门店自定义参数
"
)
@Operation
(
summary
=
"更新SOP门店模板实例初始参数里的门店自定义参数
(关联活动)"
,
description
=
"更新SOP门店模板实例初始参数里的门店自定义参数(关联活动)
"
)
@P
u
tMapping
(
"/{instId}/instParam/customData"
)
@P
os
tMapping
(
"/{instId}/instParam/customData"
)
public
Result
<
String
>
updateInstParamCustomData
(
@PathVariable
(
"instId"
)
String
instId
,
@RequestBody
Map
<
String
,
Object
>
customData
)
{
public
Result
<
String
>
updateInstParamCustomData
(
@PathVariable
(
"instId"
)
String
instId
,
@RequestBody
Map
<
String
,
Object
>
customData
)
{
return
sopInstService
.
updateInstParamCustomData
(
instId
,
customData
);
return
sopInstService
.
updateInstParamCustomData
(
instId
,
customData
);
}
}
@Operation
(
summary
=
"更新SOP门店模板实例状态"
,
description
=
"更新SOP门店模板实例状态"
)
@Operation
(
summary
=
"更新SOP门店模板实例状态"
,
description
=
"更新SOP门店模板实例状态"
)
@P
u
tMapping
(
"/{instId}/status"
)
@P
os
tMapping
(
"/{instId}/status"
)
public
Result
<
String
>
updateInstStatus
(
@PathVariable
(
"instId"
)
String
instId
,
@RequestBody
Byte
status
)
{
public
Result
<
String
>
updateInstStatus
(
@PathVariable
(
"instId"
)
String
instId
,
@RequestBody
Byte
status
)
{
return
sopInstService
.
updateInstStatus
(
instId
,
status
);
return
sopInstService
.
updateInstStatus
(
instId
,
status
);
}
}
...
...
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