Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
b1dac781
Commit
b1dac781
authored
Jul 08, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
63106b0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
TestController.java
src/main/java/com/schneider_distributor/TestController.java
+16
-2
No files found.
src/main/java/com/schneider_distributor/TestController.java
View file @
b1dac781
package
com
.
schneider_distributor
;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.alibaba.fastjson.JSON
;
@RestController
@RequestMapping
public
class
TestController
{
...
...
@@ -11,9 +17,17 @@ public class TestController {
@Autowired
ZMISD009SOCREATIONTask
task
;
@RequestMapping
(
"/EX009"
)
public
void
executeZMISD009SOCREATIONTask
()
{
@RequestMapping
(
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
String
list
()
{
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>();
map
.
put
(
"009_SO_CREATION"
,
"分销商采购(特价采购)订单,EDI平台调用SAP接口上传数据"
);
return
JSON
.
toJSONString
(
map
,
true
);
}
@RequestMapping
(
value
=
{
"/009_SO_CREATION"
},
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
String
executeZMISD009SOCREATIONTask
()
{
task
.
runTask
();
return
"OK"
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment