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
523626fc
Commit
523626fc
authored
Apr 03, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.3' into MVP1.5.3
parents
da79ca42
4ca56db7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
TEmpContractAlert.java
...cloud/plus/v1/yifu/archives/entity/TEmpContractAlert.java
+22
-0
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+9
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmpContractAlert.java
View file @
523626fc
...
...
@@ -247,6 +247,28 @@ public class TEmpContractAlert extends BaseEntity {
@ExcelIgnore
private
String
contractId
;
/**
* 客户id
*/
@Schema
(
description
=
"客户id"
)
private
String
unitId
;
/**
* 客户名称
*/
@Schema
(
description
=
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@Schema
(
description
=
"客户编码"
)
private
String
unitNo
;
/**
* 手机号码
*/
@Schema
(
description
=
"手机号码"
)
private
String
empPhone
;
/**
* 合同截止日期
*/
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
523626fc
...
...
@@ -237,6 +237,9 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
if
(
Common
.
isNotNull
(
entity
.
getDaysDue
())){
wrapper
.
eq
(
TEmpContractAlert:
:
getDaysDue
,
entity
.
getDaysDue
());
}
if
(
Common
.
isNotNull
(
entity
.
getUnitId
())){
wrapper
.
eq
(
TEmpContractAlert:
:
getUnitId
,
entity
.
getUnitId
());
}
return
wrapper
;
}
/**
...
...
@@ -348,6 +351,12 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
}
else
{
alert
.
setFirstAlertTime
(
new
Date
());
}
// 2023-4-3 09:38:21 hgw 添加
alert
.
setUnitId
(
contract
.
getCustomerId
());
alert
.
setUnitName
(
contract
.
getSubjectUnit
());
alert
.
setUnitNo
(
contract
.
getUnitNo
());
alert
.
setEmpPhone
(
employeeInfo
.
getEmpPhone
());
alert
.
setCreateBy
(
contract
.
getCreateBy
());
alert
.
setCreateName
(
contract
.
getCreateName
());
alert
.
setContractId
(
contract
.
getId
());
...
...
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