Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
ee359ae3
Commit
ee359ae3
authored
Apr 10, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单宽注释
parent
9888c057
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
apply-net/src/main/java/com/winsun/controller/DankuanController.java
+26
-2
No files found.
apply-net/src/main/java/com/winsun/controller/DankuanController.java
View file @
ee359ae3
...
...
@@ -120,6 +120,22 @@ public class DankuanController {
return
ResponseData
.
success
(
universityInfo
);
}
/**
* 创建单宽order_view
*
* @param orderName
* @param orderPhone
* @param orderNumber
* @param orderCustomerStudentId
* @param orderCustomerAccount
* @param orderCustomerPwd
* @param orderSetMeal
* @param productId
* @param webOrderAmount
* @param partner
* @return
* @throws Exception
*/
@RequestMapping
(
"/createProductOrder"
)
public
ResponseData
<
OrderView
>
createProductOrder
(
@RequestParam
(
"orderName"
)
String
orderName
,
@RequestParam
(
"orderPhone"
)
String
orderPhone
,
@RequestParam
(
"orderNumber"
)
String
orderNumber
,
@RequestParam
(
"orderCustomerStudentId"
)
String
orderCustomerStudentId
,
...
...
@@ -206,6 +222,14 @@ public class DankuanController {
return
ResponseData
.
error
(
"提交失败!"
);
}
/**
* 0元调用 创建order
* @param orderView
* @param userId
* @param orderseq
* @return
* @throws Exception
*/
public
ResponseData
<
OrderView
>
createOrder
(
OrderView
orderView
,
String
userId
,
String
orderseq
)
throws
Exception
{
String
uuid
=
UUID
.
randomUUID
().
toString
();
String
id
=
uuid
.
split
(
"-"
)[
0
]
+
uuid
.
split
(
"-"
)[
1
];
...
...
@@ -231,10 +255,10 @@ public class DankuanController {
order
.
setHehuorenSchool
(
school
.
getSchoolName
());
order
.
setHehuorenName
(
sysUser
.
getName
());
order
.
setHehuorenArea
(
sysUser
.
getSubstName
());
/*
List<String> userId1 = appMapper.selectsupervisorBySchool(schoolId);
List
<
String
>
userId1
=
appMapper
.
selectsupervisorBySchool
(
schoolId
);
SysUser
user
=
sysUserMapper
.
selectById
(
userId1
.
get
(
0
));
order
.
setSupervisorName
(
user
.
getName
());
order.setLzgh(school.getLzgh());
*/
order
.
setLzgh
(
school
.
getLzgh
());
// 根据学校名称,获取该学校信息
Wrapper
<
UniversityInfo
>
wrapper1
=
new
EntityWrapper
<>();
wrapper1
.
eq
(
"university_name"
,
orderView
.
getOrderUniversityName
());
...
...
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