Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-riskmanage
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 bb9753ca
authored
Dec 11, 2025
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/dj/rop-dj-riskmanage
2 parents
36c79029
ce7d256d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
16 deletions
src/main/java/cn/com/glsx/dj/riskmanage/controller/learningcenter/LevelExamController.java
src/main/java/cn/com/glsx/dj/riskmanage/controller/learningcenter/TrainingPlanPersonController.java
src/main/java/cn/com/glsx/dj/riskmanage/request/learningcenter/LevelExamPageListRequest.java
src/main/java/cn/com/glsx/dj/riskmanage/request/learningcenter/TrainingPlanPersonPageRequest.java
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/CourseDetailExportVo.java
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/LevelExamExportVO.java
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/TrainingPlanPersonPageResponse.java
src/main/java/cn/com/glsx/dj/riskmanage/controller/learningcenter/LevelExamController.java
View file @
bb9753c
...
@@ -214,10 +214,11 @@ public class LevelExamController {
...
@@ -214,10 +214,11 @@ public class LevelExamController {
public
RopResponse
<
String
>
levelExamExportAsync
(
LevelExamPageListRequest
request
)
{
public
RopResponse
<
String
>
levelExamExportAsync
(
LevelExamPageListRequest
request
)
{
try
{
try
{
RpcPagination
<
LevelExamPageListRequestDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
LevelExamPageListRequestDTO
.
class
);
RpcPagination
<
LevelExamPageListRequestDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
LevelExamPageListRequestDTO
.
class
);
pagination
.
setPageSize
(
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10001"
)));
int
exportLimitNum
=
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10000"
));
pagination
.
setPageSize
(
exportLimitNum
+
1
);
RpcResponse
<
RpcPagination
<
LevelExamPageListResponseDTO
>>
page
=
levelExamRemote
.
levelExamListPage
(
pagination
);
RpcResponse
<
RpcPagination
<
LevelExamPageListResponseDTO
>>
page
=
levelExamRemote
.
levelExamListPage
(
pagination
);
if
(
page
.
getResult
().
getTotal
()
>
10000
)
{
if
(
page
.
getResult
().
getTotal
()
>
exportLimitNum
)
{
return
RopResponse
.
error
(
"导出数据超过
10000
行无法导出"
);
return
RopResponse
.
error
(
"导出数据超过
"
+
exportLimitNum
+
"
行无法导出"
);
}
}
AtomicInteger
idx
=
new
AtomicInteger
(
1
);
AtomicInteger
idx
=
new
AtomicInteger
(
1
);
List
<
LevelExamExportVO
>
exportVOList
=
page
.
getResult
().
getList
().
stream
().
map
(
p
->
{
List
<
LevelExamExportVO
>
exportVOList
=
page
.
getResult
().
getList
().
stream
().
map
(
p
->
{
...
@@ -240,10 +241,11 @@ public class LevelExamController {
...
@@ -240,10 +241,11 @@ public class LevelExamController {
public
RopResponse
<
String
>
levelExamPersonDataExportAsync
(
LevelExamPersonPageRequest
request
)
{
public
RopResponse
<
String
>
levelExamPersonDataExportAsync
(
LevelExamPersonPageRequest
request
)
{
try
{
try
{
RpcPagination
<
LevelExamPersonDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
LevelExamPersonDTO
.
class
);
RpcPagination
<
LevelExamPersonDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
LevelExamPersonDTO
.
class
);
pagination
.
setPageSize
(
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10001"
)));
int
exportLimitNum
=
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10000"
));
pagination
.
setPageSize
(
exportLimitNum
+
1
);
RpcResponse
<
RpcPagination
<
LevelExamPersonDTO
>>
page
=
levelExamRemote
.
levelExamDataPersonPage
(
pagination
);
RpcResponse
<
RpcPagination
<
LevelExamPersonDTO
>>
page
=
levelExamRemote
.
levelExamDataPersonPage
(
pagination
);
if
(
page
.
getResult
().
getTotal
()
>
10000
)
{
if
(
page
.
getResult
().
getTotal
()
>
exportLimitNum
)
{
return
RopResponse
.
error
(
"导出数据超过
10000
行无法导出"
);
return
RopResponse
.
error
(
"导出数据超过
"
+
exportLimitNum
+
"
行无法导出"
);
}
}
AtomicInteger
idx
=
new
AtomicInteger
(
1
);
AtomicInteger
idx
=
new
AtomicInteger
(
1
);
List
<
LevelExamPersonDataExportVO
>
exportVOList
=
page
.
getResult
().
getList
().
stream
().
map
(
p
->
{
List
<
LevelExamPersonDataExportVO
>
exportVOList
=
page
.
getResult
().
getList
().
stream
().
map
(
p
->
{
...
...
src/main/java/cn/com/glsx/dj/riskmanage/controller/learningcenter/TrainingPlanPersonController.java
View file @
bb9753c
...
@@ -92,10 +92,11 @@ public class TrainingPlanPersonController {
...
@@ -92,10 +92,11 @@ public class TrainingPlanPersonController {
public
RopResponse
<
String
>
trainingPlanPersonExportAsync
(
TrainingPlanPersonPageRequest
request
)
{
public
RopResponse
<
String
>
trainingPlanPersonExportAsync
(
TrainingPlanPersonPageRequest
request
)
{
try
{
try
{
RpcPagination
<
TrainingPlanPersonPageDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
TrainingPlanPersonPageDTO
.
class
);
RpcPagination
<
TrainingPlanPersonPageDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
TrainingPlanPersonPageDTO
.
class
);
pagination
.
setPageSize
(
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10001"
)));
int
exportLimitNum
=
Integer
.
parseInt
(
env
.
getProperty
(
"export_limit_num"
,
"10000"
));
pagination
.
setPageSize
(
exportLimitNum
+
1
);
RpcResponse
<
RpcPagination
<
TrainingPlanPersonPageDTO
>>
page
=
learningCenterTrainingPlanPersonRemote
.
pageList
(
pagination
);
RpcResponse
<
RpcPagination
<
TrainingPlanPersonPageDTO
>>
page
=
learningCenterTrainingPlanPersonRemote
.
pageList
(
pagination
);
if
(
page
.
getResult
().
getTotal
()
>
10000
)
{
if
(
page
.
getResult
().
getTotal
()
>
exportLimitNum
)
{
return
RopResponse
.
error
(
"导出数据超过
10000
行无法导出"
);
return
RopResponse
.
error
(
"导出数据超过
"
+
exportLimitNum
+
"
行无法导出"
);
}
}
if
(
CollectionUtils
.
isEmpty
(
page
.
getResult
().
getList
()))
{
if
(
CollectionUtils
.
isEmpty
(
page
.
getResult
().
getList
()))
{
return
RopResponse
.
error
(
"暂无数据,无法导出"
);
return
RopResponse
.
error
(
"暂无数据,无法导出"
);
...
...
src/main/java/cn/com/glsx/dj/riskmanage/request/learningcenter/LevelExamPageListRequest.java
View file @
bb9753c
...
@@ -70,4 +70,8 @@ public class LevelExamPageListRequest extends CommonPageRequest {
...
@@ -70,4 +70,8 @@ public class LevelExamPageListRequest extends CommonPageRequest {
@ApiModelProperty
(
notes
=
"是否只查询未关联培训计划的考试: true-是, false-否,不传默认查全部"
)
@ApiModelProperty
(
notes
=
"是否只查询未关联培训计划的考试: true-是, false-否,不传默认查全部"
)
private
Boolean
notRelatedPlan
;
private
Boolean
notRelatedPlan
;
/** 培训计划ID */
@ApiModelProperty
(
notes
=
"培训计划ID"
)
private
Integer
planId
;
}
}
src/main/java/cn/com/glsx/dj/riskmanage/request/learningcenter/TrainingPlanPersonPageRequest.java
View file @
bb9753c
...
@@ -34,7 +34,7 @@ public class TrainingPlanPersonPageRequest extends CommonPageRequest {
...
@@ -34,7 +34,7 @@ public class TrainingPlanPersonPageRequest extends CommonPageRequest {
/** 人员状态(下拉单选,来自列表字段) */
/** 人员状态(下拉单选,来自列表字段) */
@ApiModelProperty
(
notes
=
"人员状态(下拉单选)"
)
@ApiModelProperty
(
notes
=
"人员状态(下拉单选)"
)
private
String
personStatus
;
private
Integer
personStatus
;
/** 开单权限(0:已锁定, 1:已解锁,下拉单选) */
/** 开单权限(0:已锁定, 1:已解锁,下拉单选) */
@ApiModelProperty
(
notes
=
"开单权限(0:已锁定, 1:已解锁)"
)
@ApiModelProperty
(
notes
=
"开单权限(0:已锁定, 1:已解锁)"
)
...
...
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/CourseDetailExportVo.java
View file @
bb9753c
...
@@ -11,8 +11,6 @@ import java.math.BigDecimal;
...
@@ -11,8 +11,6 @@ import java.math.BigDecimal;
@Data
@Data
public
class
CourseDetailExportVo
implements
Serializable
{
public
class
CourseDetailExportVo
implements
Serializable
{
@ExcelProperty
(
value
=
"员工id"
)
private
String
userId
;
@ExcelProperty
(
value
=
"员工"
)
@ExcelProperty
(
value
=
"员工"
)
private
String
userName
;
private
String
userName
;
...
...
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/LevelExamExportVO.java
View file @
bb9753c
...
@@ -24,9 +24,6 @@ public class LevelExamExportVO {
...
@@ -24,9 +24,6 @@ public class LevelExamExportVO {
@ExcelProperty
(
value
=
"序号"
)
@ExcelProperty
(
value
=
"序号"
)
private
Integer
index
;
private
Integer
index
;
@ExcelProperty
(
"北森考试ID"
)
private
String
beisenExamId
;
@ExcelProperty
(
"考试名称"
)
@ExcelProperty
(
"考试名称"
)
private
String
beisenExamName
;
private
String
beisenExamName
;
...
...
src/main/java/cn/com/glsx/dj/riskmanage/response/learningcenter/TrainingPlanPersonPageResponse.java
View file @
bb9753c
...
@@ -45,7 +45,7 @@ public class TrainingPlanPersonPageResponse implements Serializable {
...
@@ -45,7 +45,7 @@ public class TrainingPlanPersonPageResponse implements Serializable {
/** 人员状态 */
/** 人员状态 */
@ApiModelProperty
(
notes
=
"人员状态"
)
@ApiModelProperty
(
notes
=
"人员状态"
)
private
String
personStatus
;
private
Integer
personStatus
;
/** 入职日期(支持排序) */
/** 入职日期(支持排序) */
@ApiModelProperty
(
notes
=
"入职日期(支持排序)"
)
@ApiModelProperty
(
notes
=
"入职日期(支持排序)"
)
...
...
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