Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
V
volunteer_service
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
licc
volunteer_service
Commits
3fdd0a02
Commit
3fdd0a02
authored
Mar 26, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
展示不完整方案,优化
parent
dc3bab05
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
SchemeServiceImpl.java
...java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
+6
-6
PayController.java
.../cn/wisenergy/web/admin/controller/app/PayController.java
+1
-0
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/SchemeServiceImpl.java
View file @
3fdd0a02
...
...
@@ -227,7 +227,12 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
list
=
getSportsList
(
total
,
firstRule
,
secondRule
,
className
,
professionName
);
}
//4判断是否展示全部方案
//4、判断返回的结果数据是否大于totalResult
if
(
list
.
size
()
>
totalResult
)
{
list
=
getVolunteerList
(
list
,
totalResult
);
}
//5判断是否展示全部方案
if
(
queryVo
.
getIsShowAll
()
==
0
)
{
List
<
Volunteer
>
result
;
if
(
list
.
size
()
<
10
)
{
...
...
@@ -242,11 +247,6 @@ public class SchemeServiceImpl extends ServiceImpl<SchemeMapper, SchemeInfo> imp
return
R
.
ok
(
volunteerVo
);
}
//5、判断返回的结果数据是否大于totalResult
if
(
list
.
size
()
>
totalResult
)
{
list
=
getVolunteerList
(
list
,
totalResult
);
}
//6保存用户方案记录、志愿之间的关联关系,扣减查询次数
R
<
Integer
>
bool
=
volunteerManager
.
saveUserVolunteer
(
user
,
list
,
scoreInfo
,
queryVo
.
getBigMajorNames
());
if
(
null
!=
bool
&&
bool
.
getCode
()
==
500
)
{
...
...
wisenergy-web-admin/src/main/java/cn/wisenergy/web/admin/controller/app/PayController.java
View file @
3fdd0a02
...
...
@@ -134,6 +134,7 @@ public class PayController {
public
R
<
String
>
h5WxPay
(
@RequestBody
PayPageDto
payPageDto
,
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
JsonProcessingException
{
return
testWxPayService
.
h5WxPay
(
payPageDto
,
request
,
response
);
}
/**
* 微信回调函数
* 支付成功后微信服务器会调用此方法
...
...
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