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
09c8efcc
Commit
09c8efcc
authored
Apr 09, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-入职登记商险待办提交
parent
1b462ede
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
62 additions
and
7 deletions
+62
-7
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+1
-0
EmployeeRegistrationCustomerUserUpdateVo.java
...s/v1/csp/vo/EmployeeRegistrationCustomerUserUpdateVo.java
+3
-0
EmployeeRegistrationServiceImpl.java
.../v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
+1
-0
TEmployeeInsurancePre.java
...plus/v1/yifu/insurances/entity/TEmployeeInsurancePre.java
+3
-0
TEmployeeInsurancePreVo.java
...d/plus/v1/yifu/insurances/vo/TEmployeeInsurancePreVo.java
+7
-0
TEmployeeInsurancePreController.java
...nsurances/controller/TEmployeeInsurancePreController.java
+26
-0
TEmployeeInsurancePreMapper.java
...rances/mapper/insurances/TEmployeeInsurancePreMapper.java
+2
-0
TEmployeeInsurancePreService.java
...ances/service/insurance/TEmployeeInsurancePreService.java
+3
-1
TEmployeeInsurancePreServiceImpl.java
...vice/insurance/impl/TEmployeeInsurancePreServiceImpl.java
+13
-2
TEmployeeInsurancePreMapper.xml
...sources/mapper/insurances/TEmployeeInsurancePreMapper.xml
+3
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
09c8efcc
...
...
@@ -560,6 +560,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
.
set
(
EmployeeRegistrationPre:
:
getCustomerUsernameNew
,
vo
.
getName
());
registrationPreService
.
update
(
updateWrapper
);
//更新商险待购买的前端客服
updateVo
.
setCustomerUserLoginName
(
vo
.
getLoginName
());
insuranceDaprUtil
.
updateInsurancePreCustomerName
(
updateVo
);
}
}
...
...
yifu-csp/yifu-csp-api/src/main/java/com/yifu/cloud/plus/v1/csp/vo/EmployeeRegistrationCustomerUserUpdateVo.java
View file @
09c8efcc
...
...
@@ -20,4 +20,7 @@ public class EmployeeRegistrationCustomerUserUpdateVo implements Serializable {
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
@Schema
(
description
=
"最新的前端客服登录名"
)
private
String
customerUserLoginName
;
}
yifu-csp/yifu-csp-biz/src/main/java/com/yifu/cloud/plus/v1/csp/service/impl/EmployeeRegistrationServiceImpl.java
View file @
09c8efcc
...
...
@@ -1197,6 +1197,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
YifuUser
user
,
String
id
)
throws
ParseException
{
preVo
.
setRegisterId
(
id
);
preVo
.
setCustomerUsername
(
registration
.
getCustomerUsername
());
preVo
.
setCustomerUserLoginname
(
registration
.
getCustomerUserLoginname
());
preVo
.
setDeptName
(
registration
.
getDeptName
());
preVo
.
setDeptId
(
registration
.
getDeptId
());
preVo
.
setDataSource
(
registration
.
getDataSource
());
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TEmployeeInsurancePre.java
View file @
09c8efcc
...
...
@@ -48,6 +48,9 @@ public class TEmployeeInsurancePre extends BaseEntity {
@Schema
(
description
=
"前端客服"
)
private
String
customerUsername
;
@Schema
(
description
=
"前端客服登录名"
)
private
String
customerUserLoginname
;
@Schema
(
description
=
"项目名称"
)
private
String
deptName
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/TEmployeeInsurancePreVo.java
View file @
09c8efcc
...
...
@@ -61,6 +61,13 @@ public class TEmployeeInsurancePreVo implements Serializable {
@Schema
(
description
=
"前端客服"
)
@ExcelProperty
(
"前端客服"
)
private
String
customerUsername
;
/**
* 前端客服登录名
*/
@ExcelAttribute
(
name
=
"前端客服登录名"
)
@Schema
(
description
=
"前端客服登录名"
)
@ExcelProperty
(
"前端客服登录名"
)
private
String
customerUserLoginname
;
/**
* 项目名称
*/
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TEmployeeInsurancePreController.java
View file @
09c8efcc
...
...
@@ -3,6 +3,7 @@ package com.yifu.cloud.plus.v1.yifu.insurances.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.csp.vo.EmployeeRegistrationCustomerUserUpdateVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeRegistrationPreVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.util.MenuUtil
;
...
...
@@ -148,6 +149,18 @@ public class TEmployeeInsurancePreController {
return
tEmployeeInsurancePreService
.
selectInsurancePreInfoList
(
preVo
);
}
/**
* 新增商险待购买
* @author huych
* @date 2025-04-09 9:26:35
**/
@Operation
(
description
=
"新增商险待购买"
)
@Inner
@PostMapping
(
"/inner/saveInsurancePreInfo"
)
public
Boolean
saveInsurancePreInfo
(
@RequestBody
EmployeeRegistrationPreVo
preVo
)
{
return
tEmployeeInsurancePreService
.
saveInsurancePreInfo
(
preVo
);
}
/**
* 更新商险待购买的前端客服姓名
* @author huych
...
...
@@ -160,4 +173,17 @@ public class TEmployeeInsurancePreController {
tEmployeeInsurancePreService
.
updateInsurancePreCustomerName
(
updateVo
);
}
/**
* 派单当日9点统一推送确认信息
* @author huych
* @date 2025-04-09 9:33:16
* @return void
*/
@SysLog
(
"派单当日9点统一推送确认信息"
)
@Inner
@PostMapping
(
"/inner/pushWxConfrimMessage"
)
public
void
pushWxConfrimMessage
()
{
tEmployeeInsurancePreService
.
pushWxConfrimMessage
();
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/insurances/TEmployeeInsurancePreMapper.java
View file @
09c8efcc
...
...
@@ -29,4 +29,6 @@ public interface TEmployeeInsurancePreMapper extends BaseMapper<TEmployeeInsuran
long
selectExportCount
(
@Param
(
"employeeRegistration"
)
TEmployeeInsurancePreSearchVo
employeeRegistration
);
List
<
TEmployeeInsurancePreExportVo
>
selectExportList
(
@Param
(
"employeeRegistration"
)
TEmployeeInsurancePreSearchVo
employeeRegistration
);
List
<
TEmployeeInsurancePre
>
getAllUnconfimData
();
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/TEmployeeInsurancePreService.java
View file @
09c8efcc
...
...
@@ -79,10 +79,12 @@ public interface TEmployeeInsurancePreService extends IService<TEmployeeInsuranc
* @param status 状态
* @return
*/
void
sav
eInsurancePreInfo
(
String
id
,
String
status
);
void
updat
eInsurancePreInfo
(
String
id
,
String
status
);
TEmployeeInsuranceSelectVo
selectInsurancePreInfoList
(
TEmployeeInsurancePreVo
preVo
);
void
updateInsurancePreCustomerName
(
EmployeeRegistrationCustomerUserUpdateVo
updateVo
);
void
pushWxConfrimMessage
();
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TEmployeeInsurancePreServiceImpl.java
View file @
09c8efcc
...
...
@@ -288,7 +288,7 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
}
@Override
public
void
sav
eInsurancePreInfo
(
String
id
,
String
status
)
{
public
void
updat
eInsurancePreInfo
(
String
id
,
String
status
)
{
if
(
Common
.
isNotNull
(
id
)
&&
Common
.
isNotNull
(
status
))
{
TEmployeeInsurancePre
preExit
=
baseMapper
.
selectById
(
id
);
if
(
Common
.
isNotNull
(
preExit
))
{
...
...
@@ -317,10 +317,21 @@ public class TEmployeeInsurancePreServiceImpl extends ServiceImpl<TEmployeeInsur
public
void
updateInsurancePreCustomerName
(
EmployeeRegistrationCustomerUserUpdateVo
updateVo
)
{
LambdaUpdateWrapper
<
TEmployeeInsurancePre
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
TEmployeeInsurancePre:
:
getDeptNo
,
updateVo
.
getDeptNo
())
.
set
(
TEmployeeInsurancePre:
:
getCustomerUsername
,
updateVo
.
getCustomerUserName
());
.
set
(
TEmployeeInsurancePre:
:
getCustomerUsername
,
updateVo
.
getCustomerUserName
())
.
set
(
TEmployeeInsurancePre:
:
getCustomerUserLoginname
,
updateVo
.
getCustomerUserLoginName
());
this
.
update
(
updateWrapper
);
}
@Override
public
void
pushWxConfrimMessage
()
{
//获取所有预计派单时间为当天而且状态是待确认的商险待购买数据
List
<
TEmployeeInsurancePre
>
unConfirmList
=
baseMapper
.
getAllUnconfimData
();
if
(
Common
.
isNotNull
(
unConfirmList
)
&&
!
unConfirmList
.
isEmpty
())
{
}
}
/**
* @Description: 获取前端客服的所有项目权限
* @Author: huych
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TEmployeeInsurancePreMapper.xml
View file @
09c8efcc
...
...
@@ -17,6 +17,7 @@
<result
property=
"deptNo"
column=
"dept_no"
/>
<result
property=
"deptId"
column=
"dept_id"
/>
<result
property=
"expectedCollectionTime"
column=
"expected_collection_time"
/>
<result
property=
"customerUserLoginname"
column=
"customer_user_loginname"
/>
<result
property=
"registUser"
column=
"regist_user"
/>
<result
property=
"registTime"
column=
"regist_time"
/>
<result
property=
"insuranceCompanyName"
column=
"insurance_company_name"
/>
...
...
@@ -73,6 +74,7 @@
a.dept_no,
a.dept_id,
a.expected_collection_time,
a.customer_user_loginname,
a.regist_user,
a.regist_time,
a.insurance_company_name,
...
...
@@ -274,9 +276,6 @@
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_employee_insurance_pre a
<where>
1=1
<include
refid=
"tEmployeeInsurancePre_where"
/>
</where>
where a.process_status = '0' and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d") = CURDATE()
</select>
</mapper>
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