Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
eca19548
Commit
eca19548
authored
Jan 15, 2020
by
lu
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
培训学员分页查询
parent
57c2bc6c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
BLessonController.java
...cisoft/business/blesson/controller/BLessonController.java
+3
-2
BLessonService.java
.../org/rcisoft/business/blesson/service/BLessonService.java
+1
-1
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/blesson/controller/BLessonController.java
View file @
eca19548
...
@@ -565,11 +565,12 @@ public class BLessonController extends PaginationController<BLesson> {
...
@@ -565,11 +565,12 @@ public class BLessonController extends PaginationController<BLesson> {
@ApiOperation
(
value
=
"630 培训学员"
,
notes
=
"培训学员"
,
response
=
BLessonPerson
.
class
)
@ApiOperation
(
value
=
"630 培训学员"
,
notes
=
"培训学员"
,
response
=
BLessonPerson
.
class
)
@GetMapping
(
value
=
"/trainPersons"
)
@GetMapping
(
value
=
"/trainPersons"
)
public
Result
trainPersons
(
CurUser
curUser
,
@Valid
FindTrainPersonDTO
param
,
BindingResult
bindingResult
)
{
public
Result
trainPersons
(
CurUser
curUser
,
@Valid
FindTrainPersonDTO
param
,
BindingResult
bindingResult
)
{
bLessonService
.
trainPersonsByPagination
(
getPaginationUtility
(),
param
);
GridModel
gridModel
=
getGridModelResponse
();
return
Result
.
builder
(
new
PersistModel
(
1
),
return
Result
.
builder
(
new
PersistModel
(
1
),
MessageConstant
.
MESSAGE_ALERT_SUCCESS
,
MessageConstant
.
MESSAGE_ALERT_SUCCESS
,
MessageConstant
.
MESSAGE_ALERT_ERROR
,
MessageConstant
.
MESSAGE_ALERT_ERROR
,
bLessonService
.
trainPersons
(
param
)
);
gridModel
);
}
}
/**
/**
...
...
src/main/java/org/rcisoft/business/blesson/service/BLessonService.java
View file @
eca19548
...
@@ -187,7 +187,7 @@ public interface BLessonService{
...
@@ -187,7 +187,7 @@ public interface BLessonService{
* @param param
* @param param
* @return
* @return
*/
*/
List
<
BLessonPerson
>
trainPersons
(
FindTrainPersonDTO
param
);
List
<
BLessonPerson
>
trainPersons
ByPagination
(
PageUtil
pageUtil
,
FindTrainPersonDTO
param
);
/**
/**
* 分页查询列表页全部
* 分页查询列表页全部
...
...
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
eca19548
...
@@ -959,7 +959,7 @@ public class BLessonServiceImpl implements BLessonService {
...
@@ -959,7 +959,7 @@ public class BLessonServiceImpl implements BLessonService {
@Override
@Override
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
readOnly
=
false
)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
readOnly
=
false
)
public
List
<
BLessonPerson
>
trainPersons
(
FindTrainPersonDTO
param
)
{
public
List
<
BLessonPerson
>
trainPersons
ByPagination
(
PageUtil
pageUtil
,
FindTrainPersonDTO
param
)
{
List
<
BLessonPerson
>
bLessonPersonList
=
bLessonPersonRepository
.
trainPersons
(
param
);
List
<
BLessonPerson
>
bLessonPersonList
=
bLessonPersonRepository
.
trainPersons
(
param
);
if
(
bLessonPersonList
!=
null
&&
bLessonPersonList
.
size
()
>
0
)
{
if
(
bLessonPersonList
!=
null
&&
bLessonPersonList
.
size
()
>
0
)
{
List
<
String
>
departs
=
new
ArrayList
<>();
List
<
String
>
departs
=
new
ArrayList
<>();
...
...
Ghost User
@ghost
Mentioned in commit
8d532955
·
Mar 16, 2020
Mentioned in commit
8d532955
Mentioned in commit 8d5329550a773014edf13736c742813a99ec58de
Toggle commit list
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