Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
061d8c98
Commit
061d8c98
authored
Sep 27, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-风险管控提交
parent
099fd84c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
TRiskMonitor.java
...yifu/cloud/plus/v1/yifu/archives/entity/TRiskMonitor.java
+1
-2
TRiskMonitorVo.java
...m/yifu/cloud/plus/v1/yifu/archives/vo/TRiskMonitorVo.java
+3
-3
TRiskMonitorController.java
...s/v1/yifu/archives/controller/TRiskMonitorController.java
+1
-1
TRiskMonitorServiceImpl.java
...1/yifu/archives/service/impl/TRiskMonitorServiceImpl.java
+1
-1
TRiskMonitorMapper.xml
...ives-biz/src/main/resources/mapper/TRiskMonitorMapper.xml
+11
-8
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TRiskMonitor.java
View file @
061d8c98
...
...
@@ -12,7 +12,6 @@ import lombok.EqualsAndHashCode;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 风险管控统计
...
...
@@ -186,7 +185,7 @@ public class TRiskMonitor extends BaseEntity {
@ExcelAttribute
(
name
=
"最后一次发薪日期"
,
isDate
=
true
)
@ExcelProperty
(
"最后一次发薪日期"
)
@Schema
(
description
=
"最后一次发薪日期"
)
private
Date
lastSalaryTime
;
private
String
lastSalaryTime
;
/**
* 所属客户名称
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TRiskMonitorVo.java
View file @
061d8c98
...
...
@@ -20,7 +20,7 @@ import java.util.Date;
*/
@Data
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ColumnWidth
(
2
5
)
@ColumnWidth
(
1
5
)
public
class
TRiskMonitorVo
implements
Serializable
{
/**
...
...
@@ -167,10 +167,10 @@ public class TRiskMonitorVo implements Serializable {
/**
* 最后发薪日期
*/
@ExcelAttribute
(
name
=
"最后一次发薪日期"
,
isDate
=
true
)
@ExcelAttribute
(
name
=
"最后一次发薪日期"
)
@ExcelProperty
(
"最后一次发薪日期"
)
@Schema
(
description
=
"最后一次发薪日期"
)
private
Date
lastSalaryTime
;
private
String
lastSalaryTime
;
/**
* 所属客户名称
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TRiskMonitorController.java
View file @
061d8c98
...
...
@@ -104,7 +104,7 @@ public class TRiskMonitorController {
@Operation
(
description
=
"生成风险管控统计"
)
@Inner
@PostMapping
(
"/inner/createRiskMonitor"
)
public
void
createRiskMonitor
()
throws
IllegalAccessException
{
public
void
createRiskMonitor
(){
tRiskMonitorService
.
createRiskMonitor
();
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TRiskMonitorServiceImpl.java
View file @
061d8c98
...
...
@@ -125,7 +125,7 @@ public class TRiskMonitorServiceImpl extends ServiceImpl<TRiskMonitorMapper, TRi
public
void
createRiskMonitor
()
{
//批量删除之前生成的管控统计
baseMapper
.
delete
(
Wrappers
.<
TRiskMonitor
>
query
().
lambda
()
.
eq
(
TRiskMonitor:
:
getDeleteFlag
,
CommonConstants
.
ONE
_STRING
));
.
eq
(
TRiskMonitor:
:
getDeleteFlag
,
CommonConstants
.
ZERO
_STRING
));
//批量生成统计数据
List
<
TRiskMonitor
>
list
=
baseMapper
.
selectRiskMonitorList
();
if
(!
list
.
isEmpty
())
{
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TRiskMonitorMapper.xml
View file @
061d8c98
...
...
@@ -221,14 +221,14 @@
select A.id as DEPT_ID,
a.DEPART_NAME,
a.DEPART_NO,
a.
SECOND_INDICATOR_BELONG,
ifnull(a.SECOND_INDICATOR_BELONG,'')
SECOND_INDICATOR_BELONG,
a.CUSTOMER_NAME,
a.CUSTOMER_NO,
a.
BUSINESS_SECOND_TYPE,
a.
BUSINESS_PRIMARY_TYPE,
a.
BUSINESS_THIRD_TYPE,
a.
BU_BELONG,
a.
LINE_TYPE,
ifnull(a.BUSINESS_SECOND_TYPE,'')
BUSINESS_SECOND_TYPE,
ifnull(a.BUSINESS_PRIMARY_TYPE,'')
BUSINESS_PRIMARY_TYPE,
ifnull(a.BUSINESS_THIRD_TYPE,'')
BUSINESS_THIRD_TYPE,
ifnull(a.BU_BELONG,'')
BU_BELONG,
ifnull(a.LINE_TYPE,'')
LINE_TYPE,
CONCAT(if(ifnull(pro.countPer,0) > ifnull(q.onContractNum,0),'合同漏签 / ','')
,if(ifnull(ht.countContract,0) - ifnull(q.onContractNum,0) > 0,'合同漏减 / ','')
,if(ifnull(pro.countPer,0) > ifnull(r.onInsuranceNum,0),'商险漏买 / ','')
...
...
@@ -261,8 +261,11 @@
ifnull(fu.countFund, 0) - ifnull(e.onFundNum, 0) UNPRO_FUND_NUM,
ifnull(sx.countInsurance, 0) - ifnull(r.onInsuranceNum, 0) UNPRO_INSURANCE_NUM,
ifnull(sa.countSalary, 0) - ifnull(t.onSalaryNum, 0) UNPRO_SALARY_NUM,
sa.CREATE_TIME LAST_SALARY_TIME,
ifnull(pro.countPer, 0) ROJECT_NUM
ifnull(DATE_FORMAT(sa.CREATE_TIME,'%Y-%m-%d %H:%i:%s'),'') LAST_SALARY_TIME,
ifnull(pro.countPer, 0) PROJECT_NUM,
'1' create_by,
'超管' create_name,
'1' UPDATE_BY
from t_settle_domain a
left join (
select a.DEPT_NO,
...
...
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