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
da7e1aa6
Commit
da7e1aa6
authored
Jul 27, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
a4abe059
70768517
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
1348 additions
and
677 deletions
+1348
-677
TSettleDomain.java
...ifu/cloud/plus/v1/yifu/archives/entity/TSettleDomain.java
+6
-0
TSettleDomainListVo.java
...u/cloud/plus/v1/yifu/archives/vo/TSettleDomainListVo.java
+3
-0
TSettleDomainController.java
.../v1/yifu/archives/controller/TSettleDomainController.java
+2
-3
TSettleDomainService.java
...d/plus/v1/yifu/archives/service/TSettleDomainService.java
+1
-1
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+1
-1
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+3
-3
TEmployeeInfoMapper.xml
...ves-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
+1
-1
ValidityConstants.java
....plus.v1/yifu/common/core/constant/ValidityConstants.java
+2
-0
ErrorCodes.java
....cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
+4
-0
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+2
-2
ArchivesDaprUtil.java
...cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
+4
-3
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+53
-12
TInsuranceRefund.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceRefund.java
+4
-34
ValidityUtil.java
...yifu/cloud/plus/v1/yifu/insurances/util/ValidityUtil.java
+14
-0
InsuranceListParam.java
.../cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
+6
-0
InsuranceRefundCheck.java
...loud/plus/v1/yifu/insurances/vo/InsuranceRefundCheck.java
+6
-0
InsuranceRefundListVo.java
...oud/plus/v1/yifu/insurances/vo/InsuranceRefundListVo.java
+6
-0
InsuranceRefundOperationParam.java
.../v1/yifu/insurances/vo/InsuranceRefundOperationParam.java
+1
-1
RefundErrorVo.java
.../yifu/cloud/plus/v1/yifu/insurances/vo/RefundErrorVo.java
+191
-0
RefundExportListParam.java
...oud/plus/v1/yifu/insurances/vo/RefundExportListParam.java
+55
-0
RefundExportListVo.java
.../cloud/plus/v1/yifu/insurances/vo/RefundExportListVo.java
+8
-2
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+8
-8
TInsuranceTypeController.java
.../yifu/insurances/controller/TInsuranceTypeController.java
+5
-7
TInsuranceDetailMapper.java
...lus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
+22
-4
TInsuranceRefundMapper.java
...lus/v1/yifu/insurances/mapper/TInsuranceRefundMapper.java
+9
-1
TInsuranceDetailService.java
...s/v1/yifu/insurances/service/TInsuranceDetailService.java
+4
-4
TInsuranceRefundService.java
...s/v1/yifu/insurances/service/TInsuranceRefundService.java
+4
-0
TInsuranceTypeService.java
...lus/v1/yifu/insurances/service/TInsuranceTypeService.java
+1
-1
TInsuranceCompanyServiceImpl.java
...insurances/service/impl/TInsuranceCompanyServiceImpl.java
+2
-2
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+726
-534
TInsuranceRefundServiceImpl.java
.../insurances/service/impl/TInsuranceRefundServiceImpl.java
+9
-0
TInsuranceTypeServiceImpl.java
...fu/insurances/service/impl/TInsuranceTypeServiceImpl.java
+4
-1
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+106
-13
TInsuranceRefundMapper.xml
...-biz/src/main/resources/mapper/TInsuranceRefundMapper.xml
+14
-4
DispatchConstants.java
...loud/plus/v1/yifu/social/constants/DispatchConstants.java
+4
-2
TAuditInfo.java
...com/yifu/cloud/plus/v1/yifu/social/entity/TAuditInfo.java
+6
-6
TPreDispatchExportVo.java
...fu/cloud/plus/v1/yifu/social/vo/TPreDispatchExportVo.java
+3
-0
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+0
-1
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+41
-18
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+1
-1
SysBaseSetInfoMapper.xml
...al-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
+0
-1
TPreDispatchInfoMapper.xml
...-biz/src/main/resources/mapper/TPreDispatchInfoMapper.xml
+6
-6
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TSettleDomain.java
View file @
da7e1aa6
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -116,6 +117,7 @@ public class TSettleDomain extends BaseEntity {
...
@@ -116,6 +117,7 @@ public class TSettleDomain extends BaseEntity {
* 最后审核时间
* 最后审核时间
*/
*/
@Schema
(
description
=
"最后审核时间"
)
@Schema
(
description
=
"最后审核时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
lastAuditDate
;
private
LocalDateTime
lastAuditDate
;
/**
/**
...
@@ -182,6 +184,7 @@ public class TSettleDomain extends BaseEntity {
...
@@ -182,6 +184,7 @@ public class TSettleDomain extends BaseEntity {
* 首次审核通过时间
* 首次审核通过时间
*/
*/
@Schema
(
description
=
"首次审核通过时间"
)
@Schema
(
description
=
"首次审核通过时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
firstPassTime
;
private
LocalDateTime
firstPassTime
;
/**
/**
...
@@ -218,6 +221,7 @@ public class TSettleDomain extends BaseEntity {
...
@@ -218,6 +221,7 @@ public class TSettleDomain extends BaseEntity {
* 停止时间
* 停止时间
*/
*/
@Schema
(
description
=
"停止时间"
)
@Schema
(
description
=
"停止时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
stopDate
;
private
LocalDateTime
stopDate
;
/**
/**
...
@@ -284,12 +288,14 @@ public class TSettleDomain extends BaseEntity {
...
@@ -284,12 +288,14 @@ public class TSettleDomain extends BaseEntity {
* 审核人审核的时间
* 审核人审核的时间
*/
*/
@Schema
(
description
=
"审核人审核的时间"
)
@Schema
(
description
=
"审核人审核的时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
auditTime
;
private
LocalDateTime
auditTime
;
/**
/**
* 经理审核时间
* 经理审核时间
*/
*/
@Schema
(
description
=
"经理审核时间"
)
@Schema
(
description
=
"经理审核时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
managerAuditTime
;
private
LocalDateTime
managerAuditTime
;
/**
/**
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TSettleDomainListVo.java
View file @
da7e1aa6
...
@@ -3,6 +3,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -3,6 +3,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
@Data
@Data
public
class
TSettleDomainListVo
{
public
class
TSettleDomainListVo
{
...
@@ -12,4 +13,6 @@ public class TSettleDomainListVo {
...
@@ -12,4 +13,6 @@ public class TSettleDomainListVo {
*/
*/
private
List
<
TSettleDomainSelectVo
>
listSelectVO
;
private
List
<
TSettleDomainSelectVo
>
listSelectVO
;
private
Map
<
String
,
TSettleDomainSelectVo
>
mapSlectVo
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TSettleDomainController.java
View file @
da7e1aa6
...
@@ -35,7 +35,6 @@ import org.springframework.security.access.prepost.PreAuthorize;
...
@@ -35,7 +35,6 @@ import org.springframework.security.access.prepost.PreAuthorize;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
...
@@ -149,8 +148,8 @@ public class TSettleDomainController {
...
@@ -149,8 +148,8 @@ public class TSettleDomainController {
**/
**/
@Inner
@Inner
@PostMapping
(
"/getSettleDomainSelectVoById"
)
@PostMapping
(
"/getSettleDomainSelectVoById"
)
public
TSettleDomainSelectVo
getInnerSettleDomainSelectVoByUserId
(
@Request
Param
String
id
)
{
public
TSettleDomainSelectVo
getInnerSettleDomainSelectVoByUserId
(
@Request
Body
TSettleDomainSelectVo
settleDomainSelectVo
)
{
return
tSettleDomainService
.
selectSettleDomainSelectVosById
(
id
);
return
tSettleDomainService
.
selectSettleDomainSelectVosById
(
settleDomainSelectVo
);
}
}
/**
/**
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TSettleDomainService.java
View file @
da7e1aa6
...
@@ -55,7 +55,7 @@ public interface TSettleDomainService extends IService<TSettleDomain> {
...
@@ -55,7 +55,7 @@ public interface TSettleDomainService extends IService<TSettleDomain> {
* @Author fxj
* @Author fxj
* @Date 2019-12-24
* @Date 2019-12-24
**/
**/
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
String
id
);
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
TSettleDomainSelectVo
settleDomainSelectVo
);
/**
/**
* 获取所有客户单位的结算主体信息
* 获取所有客户单位的结算主体信息
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
da7e1aa6
...
@@ -1196,7 +1196,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1196,7 +1196,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
list
=
gettEmpProInfoExportVos
(
idstr
,
projectDTO
);
list
=
gettEmpProInfoExportVos
(
idstr
,
projectDTO
);
ServletOutputStream
out
=
null
;
ServletOutputStream
out
=
null
;
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
if
(
list
==
null
||
list
.
isEmpty
())
{
list
=
new
ArrayList
<>();
list
=
new
ArrayList
<>();
}
}
try
{
try
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
da7e1aa6
...
@@ -87,15 +87,15 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
...
@@ -87,15 +87,15 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
}
}
/**
/**
* @param
id
* @param
settleDomainSelectVo
* @Author: wangan
* @Author: wangan
* @Date: 2019/10/18
* @Date: 2019/10/18
* @Description: dataCheckDepart
* @Description: dataCheckDepart
* @return: com.yifu.cloud.v1.hrms.api.vo.TSettleDomainSelectVo
* @return: com.yifu.cloud.v1.hrms.api.vo.TSettleDomainSelectVo
**/
**/
@Override
@Override
public
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
String
id
)
{
public
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
TSettleDomainSelectVo
settleDomainSelectVo
)
{
return
baseMapper
.
selectSettleDomainSelectVosById
(
id
);
return
baseMapper
.
selectSettleDomainSelectVosById
(
settleDomainSelectVo
.
getId
()
);
}
}
@Override
@Override
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
View file @
da7e1aa6
...
@@ -670,7 +670,7 @@
...
@@ -670,7 +670,7 @@
a.ID_TOWN,a.EMP_REGIS_TYPE,a.FILE_PROVINCE,a.FILE_CITY,a.FILE_TOWN,a.HIGN_EDUCATION,a.FILE_STATUS,
a.ID_TOWN,a.EMP_REGIS_TYPE,a.FILE_PROVINCE,a.FILE_CITY,a.FILE_TOWN,a.HIGN_EDUCATION,a.FILE_STATUS,
b.CONTRACT_NAME,b.CONTRACT_TYPE,
b.CONTRACT_NAME,b.CONTRACT_TYPE,
b.CONTRACT_START,b.CONTRACT_END,b.CONTRACT_TERM,b.CONTRACT_SUB_NAME,b.CONTRACT_ID
b.CONTRACT_START,b.CONTRACT_END,b.CONTRACT_TERM,b.CONTRACT_SUB_NAME,b.CONTRACT_ID
,
c.UNIT_NAME,
c.UNIT_NAME,
c.UNIT_NO,c.DEPT_ID,c.DEPT_NAME,c.DEPT_NO,c.POST
c.UNIT_NO,c.DEPT_ID,c.DEPT_NAME,c.DEPT_NO,c.POST
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/constant/ValidityConstants.java
View file @
da7e1aa6
...
@@ -61,4 +61,6 @@ public class ValidityConstants {
...
@@ -61,4 +61,6 @@ public class ValidityConstants {
public
static
final
String
PATTERN_32
=
"^.{1,32}$"
;
public
static
final
String
PATTERN_32
=
"^.{1,32}$"
;
/** 最多50位 规则 */
/** 最多50位 规则 */
public
static
final
String
PATTERN_50
=
"^.{1,50}$"
;
public
static
final
String
PATTERN_50
=
"^.{1,50}$"
;
/** 最多60位 规则 */
public
static
final
String
PATTERN_60
=
"^.{1,60}$"
;
}
}
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
View file @
da7e1aa6
...
@@ -420,4 +420,8 @@ public interface ErrorCodes {
...
@@ -420,4 +420,8 @@ public interface ErrorCodes {
* 当前社保导入队列不足或者数据量过大,请稍后重试!
* 当前社保导入队列不足或者数据量过大,请稍后重试!
*/
*/
String
SOCIALINFO_LIST_NUM_LARGE
=
"socialinfo.list.num.large"
;
String
SOCIALINFO_LIST_NUM_LARGE
=
"socialinfo.list.num.large"
;
/**
* 派增异常: 自定义缴纳养老基数不可为空
*/
String
EMP_DISPATCH_SOCIAL_DIY_NOT_EMPTY
=
"emp.dispatch.social.diy.not.empty"
;
}
}
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
da7e1aa6
...
@@ -111,9 +111,9 @@ project.person.delete.exit=\u8BE5\u4EBA\u5458\u9879\u76EE\u6863\u6848\u5DF2\u51C
...
@@ -111,9 +111,9 @@ project.person.delete.exit=\u8BE5\u4EBA\u5458\u9879\u76EE\u6863\u6848\u5DF2\u51C
emp.dispatch.contract.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u5408\u
540C
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.contract.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u5408\u
540C
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.social.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u
793E
\u
4FDD
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.social.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u
793E
\u
4FDD
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
(
\u5907\u6848\u
57FA
\u6570
|
\u
7F34
\u
7EB3
\u
7C7B
\u
578B|
\u
517B
\u8001\u
8D77
\u
7F34
\u
65F6
\u
95F4)
emp.dispatch.fund.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u
516C
\u
79EF
\u
91D1
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
emp.dispatch.fund.not.empty
=
\u
6D3E
\u5355\u5458\u
5DE5
\u
516C
\u
79EF
\u
91D1
\u
76F8
\u5173\u
4FE1
\u
606F
\u
4E0D
\u
53EF
\u
4E3A
\u
7A7A
(
\u
8D77
\u
7F34
\u
65E5
\u
671F|
\u
57FA
\u6570
|
\u
6BD4
\u
4F8B)
emp.dispatch.social.existing
=
\u
65B0
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5DF2
\u
5B58
\u5728\u
793E
\u
4FDD
\u6570\u
636E
emp.dispatch.social.existing
=
\u
65B0
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5DF2
\u
5B58
\u5728\u
793E
\u
4FDD
\u6570\u
636E
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
View file @
da7e1aa6
...
@@ -11,7 +11,6 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
...
@@ -11,7 +11,6 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprArchivesProperties
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprArchivesProperties
;
import
lombok.extern.log4j.Log4j2
;
import
lombok.extern.log4j.Log4j2
;
import
org.apache.poi.ss.formula.functions.T
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
...
@@ -82,7 +81,9 @@ public class ArchivesDaprUtil {
...
@@ -82,7 +81,9 @@ public class ArchivesDaprUtil {
* @return
* @return
**/
**/
public
R
<
TSettleDomainSelectVo
>
getSettleDomainSelectVoById
(
String
departId
){
public
R
<
TSettleDomainSelectVo
>
getSettleDomainSelectVoById
(
String
departId
){
R
<
TSettleDomainSelectVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tsettledomain/getSettleDomainSelectVoById"
,
departId
,
Map
.
class
,
SecurityConstants
.
FROM_IN
);
TSettleDomainSelectVo
settleDomainSelectVo
=
new
TSettleDomainSelectVo
();
settleDomainSelectVo
.
setId
(
departId
);
R
<
TSettleDomainSelectVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tsettledomain/getSettleDomainSelectVoById"
,
settleDomainSelectVo
,
TSettleDomainSelectVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
res
)){
if
(
Common
.
isEmpty
(
res
)){
return
R
.
failed
(
"获取派单校验需要的档案信息失败!"
);
return
R
.
failed
(
"获取派单校验需要的档案信息失败!"
);
}
}
...
@@ -97,7 +98,7 @@ public class ArchivesDaprUtil {
...
@@ -97,7 +98,7 @@ public class ArchivesDaprUtil {
* @return
* @return
**/
**/
public
R
<
TSettleDomainListVo
>
selectAllSettleDomainSelectVos
(){
public
R
<
TSettleDomainListVo
>
selectAllSettleDomainSelectVos
(){
R
<
TSettleDomainListVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tsettledomain/selectAllSettleDomainSelectVos"
,
""
,
Map
.
class
,
SecurityConstants
.
FROM_IN
);
R
<
TSettleDomainListVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tsettledomain/selectAllSettleDomainSelectVos"
,
""
,
TSettleDomainListVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
res
)){
if
(
Common
.
isEmpty
(
res
)){
return
R
.
failed
(
"获取所有客户单位的结算主体信息失败!"
);
return
R
.
failed
(
"获取所有客户单位的结算主体信息失败!"
);
}
}
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
View file @
da7e1aa6
...
@@ -77,9 +77,9 @@ public class InsurancesConstants {
...
@@ -77,9 +77,9 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
DATA_IS_NOT_EXIST
=
"投保信息不存在"
;
public
static
final
String
DATA_IS_NOT_EXIST
=
"投保信息不存在"
;
/**
/**
* 被替换
信息
不存在
* 被替换
员工投保记录
不存在
*/
*/
public
static
final
String
REPLACE_IS_NOT_EXIST
=
"被替换
信息
不存在"
;
public
static
final
String
REPLACE_IS_NOT_EXIST
=
"被替换
员工投保记录
不存在"
;
/**
/**
* 项目编码不存在
* 项目编码不存在
*/
*/
...
@@ -89,13 +89,37 @@ public class InsurancesConstants {
...
@@ -89,13 +89,37 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
PROJECT_NOT_FIND_SETTLE_TYPE
=
"未找到结算主体的结算方式"
;
public
static
final
String
PROJECT_NOT_FIND_SETTLE_TYPE
=
"未找到结算主体的结算方式"
;
/**
/**
* 替换
者信息
已存在
* 替换
员工投保记录
已存在
*/
*/
public
static
final
String
REPLACE_IS_EXIST
=
"替换
者信息
已存在"
;
public
static
final
String
REPLACE_IS_EXIST
=
"替换
员工投保记录
已存在"
;
/**
/**
*
无效、已过期、已出险、已减员的 不能
替换
*
当前记录是待投保,无法
替换
*/
*/
public
static
final
String
REPLACE_IS_NOT_ALLOW
=
"无效、已过期、已出险、已减员的 不能替换"
;
public
static
final
String
ONE_REPLACE_IS_NOT_ALLOW
=
"当前记录是待投保,无法替换"
;
/**
* 当前记录是投保中,无法替换
*/
public
static
final
String
TWO_REPLACE_IS_NOT_ALLOW
=
"当前记录是投保中,无法替换"
;
/**
* 当前记录已出险,无法替换
*/
public
static
final
String
USE_REPLACE_IS_NOT_ALLOW
=
"当前记录已出险,无法替换"
;
/**
* 当前记录已失效,无法替换
*/
public
static
final
String
EFFECT_REPLACE_IS_NOT_ALLOW
=
"当前记录已失效,无法替换"
;
/**
* 当前记录已过期,无法替换
*/
public
static
final
String
OVERDUE_REPLACE_IS_NOT_ALLOW
=
"当前记录已过期,无法替换"
;
/**
* 当前记录已减员,无法替换
*/
public
static
final
String
FIVE_REPLACE_IS_NOT_ALLOW
=
"当前记录已减员,无法替换"
;
/**
* 当前记录在减员流程中,无法替换
*/
public
static
final
String
REDUCE_REPLACE_IS_NOT_ALLOW
=
"当前记录在减员流程中,无法替换"
;
/**
/**
* 员工姓名不能为空
* 员工姓名不能为空
*/
*/
...
@@ -108,6 +132,10 @@ public class InsurancesConstants {
...
@@ -108,6 +132,10 @@ public class InsurancesConstants {
* 替换员工姓名不能为空
* 替换员工姓名不能为空
*/
*/
public
static
final
String
REPLACE_EMP_NAME_NOT_EMPTY
=
"替换员工姓名不能为空"
;
public
static
final
String
REPLACE_EMP_NAME_NOT_EMPTY
=
"替换员工姓名不能为空"
;
/**
* 替换员工姓名超过20字符长度限制
*/
public
static
final
String
REPLACE_EMP_NAME_MORE_THAN_20
=
"替换员工姓名超过20字符长度限制"
;
/**
/**
* 员工身份证号不能为空
* 员工身份证号不能为空
*/
*/
...
@@ -125,9 +153,9 @@ public class InsurancesConstants {
...
@@ -125,9 +153,9 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
EMP_ID_CARD_NO_NOT_FIT
=
"员工未通过实名认证"
;
public
static
final
String
EMP_ID_CARD_NO_NOT_FIT
=
"员工未通过实名认证"
;
/**
/**
* 替换员工
姓名、身份证号不一致
* 替换员工
未通过实名认证
*/
*/
public
static
final
String
REPLACE_EMP_ID_CARD_NO_NOT_FIT
=
"替换员工
姓名、身份证号不一致
"
;
public
static
final
String
REPLACE_EMP_ID_CARD_NO_NOT_FIT
=
"替换员工
未通过实名认证
"
;
/**
/**
* 替换员工身份证号格式有误
* 替换员工身份证号格式有误
*/
*/
...
@@ -137,9 +165,9 @@ public class InsurancesConstants {
...
@@ -137,9 +165,9 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
DEPT_NO_NOT_EMPTY
=
"项目编码不能为空"
;
public
static
final
String
DEPT_NO_NOT_EMPTY
=
"项目编码不能为空"
;
/**
/**
* 替换项目编码不能为空
* 替换
员工
项目编码不能为空
*/
*/
public
static
final
String
REPLACE_DEPT_NO_NOT_EMPTY
=
"替换项目编码不能为空"
;
public
static
final
String
REPLACE_DEPT_NO_NOT_EMPTY
=
"替换
员工
项目编码不能为空"
;
/**
/**
* 保险公司名称不能为空
* 保险公司名称不能为空
*/
*/
...
@@ -253,9 +281,17 @@ public class InsurancesConstants {
...
@@ -253,9 +281,17 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
ACTUAL_PREMIUM_NO_EMPTY
=
"保费不能为空"
;
public
static
final
String
ACTUAL_PREMIUM_NO_EMPTY
=
"保费不能为空"
;
/**
/**
* 保单号不存在
* 保单号不存在或已过期
*/
public
static
final
String
POLICY_NO_EXIST
=
"保单号不存在或已过期"
;
/**
* 保险公司错误
*/
*/
public
static
final
String
POLICY_NO_EXIST
=
"保单号不存在"
;
public
static
final
String
POLICY_NO_COMPANY_NAME_NOT_SAME
=
"保险公司错误"
;
/**
* 险种名称错误
*/
public
static
final
String
POLICY_NO_TYPE_NAME_NOT_SAME
=
"险种名称错误"
;
/***********************减员办理错误码********************************/
/***********************减员办理错误码********************************/
...
@@ -359,5 +395,10 @@ public class InsurancesConstants {
...
@@ -359,5 +395,10 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
REFUND_MONEY_IS_NOT_NULL
=
"已更新保单减员退费,不能再次更新"
;
public
static
final
String
REFUND_MONEY_IS_NOT_NULL
=
"已更新保单减员退费,不能再次更新"
;
/**
* 减员导出办理
*/
public
static
final
String
REFUND_EXPORT
=
"减员导出办理"
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceRefund.java
View file @
da7e1aa6
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -15,7 +16,7 @@ import java.util.Date;
...
@@ -15,7 +16,7 @@ import java.util.Date;
*/
*/
@Data
@Data
@Tag
(
name
=
"减员信息表"
)
@Tag
(
name
=
"减员信息表"
)
public
class
TInsuranceRefund
implements
Serializable
{
public
class
TInsuranceRefund
extends
BaseEntity
{
/**
/**
* 主键id
* 主键id
*/
*/
...
@@ -31,24 +32,6 @@ public class TInsuranceRefund implements Serializable {
...
@@ -31,24 +32,6 @@ public class TInsuranceRefund implements Serializable {
*/
*/
private
Integer
reduceHandleStatus
;
private
Integer
reduceHandleStatus
;
/**
* 员工姓名
*/
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证号
*/
@Schema
(
description
=
"员工身份证号"
)
private
String
empIdcardNo
;
/**
* 保单编号
*/
@Schema
(
description
=
"保单编号"
)
private
String
policyNo
;
/**
/**
* 退费金额
* 退费金额
*/
*/
...
@@ -59,21 +42,6 @@ public class TInsuranceRefund implements Serializable {
...
@@ -59,21 +42,6 @@ public class TInsuranceRefund implements Serializable {
*/
*/
private
String
remark
;
private
String
remark
;
/**
* 减员创建时间
*/
private
LocalDateTime
createTime
;
/**
* 减员创建人
*/
private
String
createBy
;
/**
* 减员创建人姓名
*/
private
String
createName
;
/**
/**
* 是否删除 0未删除/1删除
* 是否删除 0未删除/1删除
*/
*/
...
@@ -81,6 +49,8 @@ public class TInsuranceRefund implements Serializable {
...
@@ -81,6 +49,8 @@ public class TInsuranceRefund implements Serializable {
private
Integer
deleteFlag
;
private
Integer
deleteFlag
;
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/ValidityUtil.java
View file @
da7e1aa6
...
@@ -258,6 +258,20 @@ public class ValidityUtil {
...
@@ -258,6 +258,20 @@ public class ValidityUtil {
return
str
.
matches
(
ValidityConstants
.
PATTERN_50
)
;
return
str
.
matches
(
ValidityConstants
.
PATTERN_50
)
;
}
}
/**
* 验证字符串 最多50位
*
* @author licancan
* @param str
* @return {@link boolean}
*/
public
static
boolean
validate60
(
final
String
str
){
if
(
Common
.
isEmpty
(
str
)){
return
Boolean
.
FALSE
;
}
return
str
.
matches
(
ValidityConstants
.
PATTERN_60
)
;
}
/**
/**
* 校验用户姓名是否是初始化的值
* 校验用户姓名是否是初始化的值
*
*
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
View file @
da7e1aa6
...
@@ -44,4 +44,10 @@ public class InsuranceListParam implements Serializable {
...
@@ -44,4 +44,10 @@ public class InsuranceListParam implements Serializable {
*/
*/
@Schema
(
description
=
"保险公司名称"
)
@Schema
(
description
=
"保险公司名称"
)
private
String
insuranceCompanyName
;
private
String
insuranceCompanyName
;
/**
* 险种名称
*/
@Schema
(
description
=
"险种名称"
)
private
String
insuranceTypeName
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceRefundCheck.java
View file @
da7e1aa6
...
@@ -61,6 +61,12 @@ public class InsuranceRefundCheck implements Serializable {
...
@@ -61,6 +61,12 @@ public class InsuranceRefundCheck implements Serializable {
@Schema
(
description
=
"保单结束日期"
)
@Schema
(
description
=
"保单结束日期"
)
private
String
policyEnd
;
private
String
policyEnd
;
/**
* 减员状态 1待减员 2减员中3减员退回
*/
@Schema
(
description
=
"减员状态 1待减员 2减员中3减员退回"
)
private
Integer
reduceHandleStatus
;
/**
/**
* 备注
* 备注
*/
*/
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceRefundListVo.java
View file @
da7e1aa6
...
@@ -165,5 +165,11 @@ public class InsuranceRefundListVo implements Serializable {
...
@@ -165,5 +165,11 @@ public class InsuranceRefundListVo implements Serializable {
@Schema
(
description
=
"减员派单日期"
)
@Schema
(
description
=
"减员派单日期"
)
private
LocalDate
refundCreateTime
;
private
LocalDate
refundCreateTime
;
/**
* 减员状态 1待减员 2减员中3减员退回
*/
@Schema
(
description
=
"减员状态 1待减员 2减员中3减员退回"
)
private
Integer
reduceHandleStatus
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceRefundOperationParam.java
View file @
da7e1aa6
...
@@ -23,7 +23,7 @@ public class InsuranceRefundOperationParam implements Serializable {
...
@@ -23,7 +23,7 @@ public class InsuranceRefundOperationParam implements Serializable {
private
Integer
operationType
;
private
Integer
operationType
;
@Schema
(
name
=
"减员办理列表"
)
@Schema
(
name
=
"减员办理列表"
)
private
List
<
InsuranceRefundHandling
ListVo
>
insuranceRefundHandlingList
;
private
List
<
RefundExport
ListVo
>
insuranceRefundHandlingList
;
@Schema
(
name
=
"办理参数"
)
@Schema
(
name
=
"办理参数"
)
private
InsuranceRefundHandlingParam
param
;
private
InsuranceRefundHandlingParam
param
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/RefundErrorVo.java
0 → 100644
View file @
da7e1aa6
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.time.LocalDate
;
/**
* @author zhaji
* @description 减员办理错误返回类
* @date 2022-07-27 10:29:55
*/
@Data
@Tag
(
name
=
"减员办理错误返回类"
)
public
class
RefundErrorVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
/**
* 主键
*/
private
String
id
;
/**
* 项目名称
*/
@Schema
(
description
=
"项目名称"
)
private
String
projectName
;
/**
* 项目编码
*/
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 员工姓名
*/
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证号
*/
@Schema
(
description
=
"员工身份证号"
)
private
String
empIdcardNo
;
/**
* 投保类型, 1新增、3批增、4替换
*/
@Schema
(
description
=
" 投保类型, 1新增、3批增、4替换"
)
private
Integer
buyType
;
/**
* 减员状态 1待减员 2减员中3减员退回
*/
@Schema
(
description
=
"减员状态 1待减员 2减员中3减员退回"
)
private
Integer
reduceHandleStatus
;
/**
* 投保岗位
*/
@Schema
(
description
=
"投保岗位"
)
private
String
post
;
/**
* 商险购买地省code
*/
@Schema
(
description
=
"商险购买地省code"
)
private
Integer
insuranceProvince
;
/**
* 商险购买地省
*/
@Schema
(
description
=
"商险购买地省"
)
private
String
insuranceProvinceName
;
/**
* 商险购买地市code
*/
@Schema
(
description
=
"商险购买地市code"
)
private
Integer
insuranceCity
;
/**
* 商险购买地市
*/
@Schema
(
description
=
"商险购买地市"
)
private
String
insuranceCityName
;
/**
* 商险办理省code
*/
@Schema
(
description
=
"商险办理省code"
)
private
Integer
insuranceHandleProvince
;
/**
* 商险办理省
*/
@Schema
(
description
=
"商险办理省"
)
private
String
insuranceHandleProvinceName
;
/**
* 商险办理城市code
*/
@Schema
(
description
=
"商险办理城市code"
)
private
Integer
insuranceHandleCity
;
/**
* 商险办理城市
*/
@Schema
(
description
=
"商险办理城市"
)
private
String
insuranceHandleCityName
;
/**
* 保单开始时间
*/
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd"
)
@Schema
(
description
=
"保单开始时间"
)
private
LocalDate
policyStart
;
/**
* 保单结束时间
*/
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd"
)
@Schema
(
description
=
"保单结束时间"
)
private
LocalDate
policyEnd
;
/**
* 保险公司名称(冗余字段)
*/
@Schema
(
description
=
"保险公司名称"
)
private
String
insuranceCompanyName
;
/**
* 险种名称
*/
@Schema
(
description
=
"险种名称"
)
private
String
insuranceTypeName
;
/**
* 购买标准
*/
@Schema
(
description
=
"购买标准"
)
private
String
buyStandard
;
/**
* 医疗额度
*/
@Schema
(
description
=
"医疗额度"
)
private
String
medicalQuota
;
/**
* 身故或残疾额度
*/
@Schema
(
description
=
"身故或残疾额度"
)
private
String
dieDisableQuota
;
/**
* 结算月
*/
@Schema
(
description
=
"结算月"
)
private
String
settleMonth
;
/**
* 结算类型 (0、与薪资合并结算 1、单独结算)
*/
@Schema
(
description
=
"结算类型 (0、预估 1、实缴)"
)
private
Integer
settleType
;
/**
* 创建人姓名
*/
@Schema
(
description
=
"创建人(派单人)"
)
private
String
createName
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 错误原因
*/
@Schema
(
description
=
"错误原因"
)
private
String
errorMessage
;
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/RefundExportListParam.java
0 → 100644
View file @
da7e1aa6
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* @author zhaji
* @description 导出减员办理请求参数
* @date 2022-07-26 15:53:56
*/
@Data
@Schema
(
description
=
"导出减员办理请求参数"
)
public
class
RefundExportListParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
3623027153213352936L
;
/**
* 员工姓名
*/
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证号
*/
@Schema
(
description
=
"员工身份证号"
)
private
String
empIdcardNo
;
/**
* 项目编码
*/
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 保险公司名称
*/
@Schema
(
description
=
"保险公司名称"
)
private
String
insuranceCompanyName
;
/**
* 险种名称
*/
@Schema
(
description
=
"险种名称"
)
private
String
insuranceTypeName
;
/**
* 商险id集合
*/
@Schema
(
description
=
"商险id集合"
)
private
List
<
String
>
idList
;
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/
InsuranceRefundHandling
ListVo.java
→
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/
RefundExport
ListVo.java
View file @
da7e1aa6
...
@@ -15,7 +15,7 @@ import java.time.LocalDate;
...
@@ -15,7 +15,7 @@ import java.time.LocalDate;
*/
*/
@Data
@Data
@Tag
(
name
=
"减员办理返回类"
)
@Tag
(
name
=
"减员办理返回类"
)
public
class
InsuranceRefundHandling
ListVo
implements
Serializable
{
public
class
RefundExport
ListVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
...
@@ -54,6 +54,12 @@ public class InsuranceRefundHandlingListVo implements Serializable {
...
@@ -54,6 +54,12 @@ public class InsuranceRefundHandlingListVo implements Serializable {
@Schema
(
description
=
" 投保类型, 1新增、3批增、4替换"
)
@Schema
(
description
=
" 投保类型, 1新增、3批增、4替换"
)
private
Integer
buyType
;
private
Integer
buyType
;
/**
* 减员状态 1待减员 2减员中3减员退回
*/
@Schema
(
description
=
"减员状态 1待减员 2减员中3减员退回"
)
private
Integer
reduceHandleStatus
;
/**
/**
* 投保岗位
* 投保岗位
*/
*/
...
@@ -169,7 +175,7 @@ public class InsuranceRefundHandlingListVo implements Serializable {
...
@@ -169,7 +175,7 @@ public class InsuranceRefundHandlingListVo implements Serializable {
* 创建人姓名
* 创建人姓名
*/
*/
@Schema
(
description
=
"创建人(派单人)"
)
@Schema
(
description
=
"创建人(派单人)"
)
private
String
refundC
reateName
;
private
String
c
reateName
;
/**
/**
* 备注
* 备注
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
View file @
da7e1aa6
...
@@ -291,11 +291,11 @@ public class TInsuranceDetailController {
...
@@ -291,11 +291,11 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param param 查询条件
* @param param 查询条件
* @return {@link R<IPage<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<IPage<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"减员办理列表分页查询"
,
description
=
"减员办理列表分页查询"
)
@Operation
(
summary
=
"减员办理列表分页查询"
,
description
=
"减员办理列表分页查询"
)
@PostMapping
(
"/getInsuranceRefundHandlingPageList"
)
@PostMapping
(
"/getInsuranceRefundHandlingPageList"
)
public
R
<
IPage
<
InsuranceRefundHandling
ListVo
>>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
@RequestBody
InsuranceRefundHandlingParam
param
)
{
public
R
<
IPage
<
RefundExport
ListVo
>>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
@RequestBody
InsuranceRefundHandlingParam
param
)
{
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceRefundHandlingPageList
(
page
,
param
));
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceRefundHandlingPageList
(
page
,
param
));
}
}
...
@@ -304,11 +304,11 @@ public class TInsuranceDetailController {
...
@@ -304,11 +304,11 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param param 查询条件
* @param param 查询条件
* @return {@link R<List<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<List<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"导出减员列表"
,
description
=
"导出减员列表"
)
@Operation
(
summary
=
"导出减员列表"
,
description
=
"导出减员列表"
)
@PostMapping
(
"/getInsuranceRefundHandlingList"
)
@PostMapping
(
"/getInsuranceRefundHandlingList"
)
public
R
<
List
<
InsuranceRefundHandlingListVo
>>
getInsuranceRefundHandlingList
(
@RequestBody
InsuranceRefundOperation
Param
param
)
{
public
R
<
List
<
RefundExportListVo
>>
getInsuranceRefundHandlingList
(
@RequestBody
RefundExportList
Param
param
)
{
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceRefundHandlingList
(
param
));
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceRefundHandlingList
(
param
));
}
}
...
@@ -317,7 +317,7 @@ public class TInsuranceDetailController {
...
@@ -317,7 +317,7 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param insuranceDetail 减员信息
* @param insuranceDetail 减员信息
* @return {@link R<List<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<List<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"减员办理"
,
description
=
"减员办理"
)
@Operation
(
summary
=
"减员办理"
,
description
=
"减员办理"
)
@PostMapping
(
"/updateInsuranceRefund"
)
@PostMapping
(
"/updateInsuranceRefund"
)
...
@@ -330,7 +330,7 @@ public class TInsuranceDetailController {
...
@@ -330,7 +330,7 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param CompanyName 保险公司id
* @param CompanyName 保险公司id
* @return {@link R<List<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<List<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"根据保险公司名称查询保单明细"
,
description
=
"根据保险公司名称查询保单明细"
)
@Operation
(
summary
=
"根据保险公司名称查询保单明细"
,
description
=
"根据保险公司名称查询保单明细"
)
@GetMapping
(
"/selectByCompanyName"
)
@GetMapping
(
"/selectByCompanyName"
)
...
@@ -343,7 +343,7 @@ public class TInsuranceDetailController {
...
@@ -343,7 +343,7 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param id 险种id
* @param id 险种id
* @return {@link R<List<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<List<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"根据险种名称查询保单明细"
,
description
=
"根据险种名称查询保单明细"
)
@Operation
(
summary
=
"根据险种名称查询保单明细"
,
description
=
"根据险种名称查询保单明细"
)
@GetMapping
(
"/selectByTypeId"
)
@GetMapping
(
"/selectByTypeId"
)
...
@@ -356,7 +356,7 @@ public class TInsuranceDetailController {
...
@@ -356,7 +356,7 @@ public class TInsuranceDetailController {
*
*
* @author zhaji
* @author zhaji
* @param id 险种id
* @param id 险种id
* @return {@link R<List<
InsuranceRefundHandlingListVo
>>}
* @return {@link R<List<
RefundExportListVo
>>}
*/
*/
@Operation
(
summary
=
"出险"
,
description
=
"出险"
)
@Operation
(
summary
=
"出险"
,
description
=
"出险"
)
@GetMapping
(
"/updateIsUse"
)
@GetMapping
(
"/updateIsUse"
)
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceTypeController.java
View file @
da7e1aa6
...
@@ -7,6 +7,7 @@ import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
...
@@ -7,6 +7,7 @@ import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceCompany
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceCompany
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceType
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceType
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceTypeService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceTypeService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundHandlingParam
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceTypeVo
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceTypeVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
...
@@ -40,8 +41,8 @@ public class TInsuranceTypeController {
...
@@ -40,8 +41,8 @@ public class TInsuranceTypeController {
* @return
* @return
*/
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@
Ge
tMapping
(
"/page"
)
@
Pos
tMapping
(
"/page"
)
public
R
<
IPage
<
InsuranceTypeVo
>>
getInsuranceTypePage
(
Page
page
,
TInsuranceType
insuranceType
)
{
public
R
<
IPage
<
InsuranceTypeVo
>>
getInsuranceTypePage
(
Page
<
TInsuranceType
>
page
,
@RequestBody
TInsuranceType
insuranceType
)
{
return
R
.
ok
(
insuranceTypeService
.
pageDiy
(
page
,
insuranceType
));
return
R
.
ok
(
insuranceTypeService
.
pageDiy
(
page
,
insuranceType
));
}
}
...
@@ -53,7 +54,6 @@ public class TInsuranceTypeController {
...
@@ -53,7 +54,6 @@ public class TInsuranceTypeController {
@Operation
(
summary
=
"新增险种"
,
description
=
"新增险种:hasPermission('demo_insuranceType_add')"
)
@Operation
(
summary
=
"新增险种"
,
description
=
"新增险种:hasPermission('demo_insuranceType_add')"
)
@SysLog
(
"新增险种"
)
@SysLog
(
"新增险种"
)
@PostMapping
(
"/save"
)
@PostMapping
(
"/save"
)
//@PreAuthorize("@pms.hasPermission('demo_insuranceType_add')" )
public
R
save
(
@RequestBody
TInsuranceType
insuranceType
)
{
public
R
save
(
@RequestBody
TInsuranceType
insuranceType
)
{
return
insuranceTypeService
.
saveInsuranceType
(
insuranceType
);
return
insuranceTypeService
.
saveInsuranceType
(
insuranceType
);
}
}
...
@@ -65,7 +65,6 @@ public class TInsuranceTypeController {
...
@@ -65,7 +65,6 @@ public class TInsuranceTypeController {
*/
*/
@Operation
(
summary
=
"通过id查询险种详情"
,
description
=
"通过id查询:hasPermission('demo_insuranceType_get')"
)
@Operation
(
summary
=
"通过id查询险种详情"
,
description
=
"通过id查询:hasPermission('demo_insuranceType_get')"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
//@PreAuthorize("@pms.hasPermission('demo_insuranceType_get')" )
public
R
getInsuranceTypeDetail
(
@PathVariable
(
"id"
)
String
id
)
{
public
R
getInsuranceTypeDetail
(
@PathVariable
(
"id"
)
String
id
)
{
return
insuranceTypeService
.
getInsuranceTypeDetail
(
id
);
return
insuranceTypeService
.
getInsuranceTypeDetail
(
id
);
}
}
...
@@ -79,7 +78,6 @@ public class TInsuranceTypeController {
...
@@ -79,7 +78,6 @@ public class TInsuranceTypeController {
@Operation
(
summary
=
"修改险种"
,
description
=
"新增险种:hasPermission('demo_insuranceType_add')"
)
@Operation
(
summary
=
"修改险种"
,
description
=
"新增险种:hasPermission('demo_insuranceType_add')"
)
@SysLog
(
"修改险种"
)
@SysLog
(
"修改险种"
)
@PostMapping
(
"/update"
)
@PostMapping
(
"/update"
)
//@PreAuthorize("@pms.hasPermission('demo_insuranceType_add')" )
public
R
update
(
@RequestBody
TInsuranceType
insuranceType
)
{
public
R
update
(
@RequestBody
TInsuranceType
insuranceType
)
{
return
insuranceTypeService
.
updateInsuranceType
(
insuranceType
);
return
insuranceTypeService
.
updateInsuranceType
(
insuranceType
);
}
}
...
@@ -90,8 +88,8 @@ public class TInsuranceTypeController {
...
@@ -90,8 +88,8 @@ public class TInsuranceTypeController {
* @return
* @return
*/
*/
@Operation
(
summary
=
"查询险种列表"
,
description
=
"查询险种列表"
)
@Operation
(
summary
=
"查询险种列表"
,
description
=
"查询险种列表"
)
@
Ge
tMapping
(
"/list"
)
@
Pos
tMapping
(
"/list"
)
public
R
getInsuranceTypeList
(
TInsuranceType
insuranceType
)
{
public
R
getInsuranceTypeList
(
@RequestBody
TInsuranceType
insuranceType
)
{
return
insuranceTypeService
.
getInsuranceTypeList
(
insuranceType
);
return
insuranceTypeService
.
getInsuranceTypeList
(
insuranceType
);
}
}
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
View file @
da7e1aa6
...
@@ -111,18 +111,18 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
...
@@ -111,18 +111,18 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
* @author zhaji
* @author zhaji
* @param page 分页参数
* @param page 分页参数
* @param param 查询参数
* @param param 查询参数
* @return {@link IPage<
InsuranceRefundHandlingListVo
>}
* @return {@link IPage<
RefundExportListVo
>}
*/
*/
IPage
<
InsuranceRefundHandling
ListVo
>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
@Param
(
"param"
)
InsuranceRefundHandlingParam
param
);
IPage
<
RefundExport
ListVo
>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
@Param
(
"param"
)
InsuranceRefundHandlingParam
param
);
/**
/**
* 减员办理列表不分页查询
* 减员办理列表不分页查询
*
*
* @author zhaji
* @author zhaji
* @param param 查询参数
* @param param 查询参数
* @return {@link List<
InsuranceRefundHandlingListVo
>}
* @return {@link List<
RefundExportListVo
>}
*/
*/
List
<
InsuranceRefundHandling
ListVo
>
getInsuranceRefundHandlingList
(
@Param
(
"param"
)
InsuranceRefundHandlingParam
param
);
List
<
RefundExport
ListVo
>
getInsuranceRefundHandlingList
(
@Param
(
"param"
)
InsuranceRefundHandlingParam
param
);
/**
/**
* 减员办理
* 减员办理
...
@@ -150,4 +150,22 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
...
@@ -150,4 +150,22 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
* @return {@link TInsuranceRefundDetail}
* @return {@link TInsuranceRefundDetail}
*/
*/
TInsuranceRefundDetail
selectRefundDetail
(
@Param
(
"param"
)
TInsuranceRefundDetail
refundDetail
);
TInsuranceRefundDetail
selectRefundDetail
(
@Param
(
"param"
)
TInsuranceRefundDetail
refundDetail
);
/**
* TODO
*
* @author zhaji
* @param idList
* @return {@link List< RefundExportListVo>}
*/
List
<
RefundExportListVo
>
getRefundExportListBySelect
(
@Param
(
"idList"
)
List
<
String
>
idList
);
/**
* TODO
*
* @author zhaji
* @param param
* @return {@link List< RefundExportListVo>}
*/
List
<
RefundExportListVo
>
getRefundExportList
(
@Param
(
"param"
)
RefundExportListParam
param
);
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceRefundMapper.java
View file @
da7e1aa6
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.mapper;
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefund
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefund
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Service
;
/**
/**
* @author Administrator
* @author Administrator
...
@@ -14,5 +13,14 @@ import org.springframework.stereotype.Service;
...
@@ -14,5 +13,14 @@ import org.springframework.stereotype.Service;
@Mapper
@Mapper
public
interface
TInsuranceRefundMapper
extends
BaseMapper
<
TInsuranceRefund
>
{
public
interface
TInsuranceRefundMapper
extends
BaseMapper
<
TInsuranceRefund
>
{
/**
* 根据保单id查询减员信息
*
* @author zhaji
* @param id
* @return {@link TInsuranceRefund}
*/
TInsuranceRefund
getByInsDetailId
(
String
id
);
void
updateByInsDetailId
(
TInsuranceRefund
insuranceRefund
);
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/TInsuranceDetailService.java
View file @
da7e1aa6
...
@@ -181,18 +181,18 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
...
@@ -181,18 +181,18 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
* @author zhaji
* @author zhaji
* @param page 分页数据
* @param page 分页数据
* @param param 查询参数
* @param param 查询参数
* @return {@link IPage<
InsuranceRefundHandlingListVo
>}
* @return {@link IPage<
RefundExportListVo
>}
*/
*/
IPage
<
InsuranceRefundHandling
ListVo
>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
InsuranceRefundHandlingParam
param
);
IPage
<
RefundExport
ListVo
>
getInsuranceRefundHandlingPageList
(
Page
<
InsuranceRefundHandlingParam
>
page
,
InsuranceRefundHandlingParam
param
);
/**
/**
* 减员办理列表不分页查询
* 减员办理列表不分页查询
*
*
* @author zhaji
* @author zhaji
* @param param 查询参数
* @param param 查询参数
* @return {@link List<
InsuranceRefundHandlingListVo
>}
* @return {@link List<
RefundExportListVo
>}
*/
*/
List
<
InsuranceRefundHandlingListVo
>
getInsuranceRefundHandlingList
(
InsuranceRefundOperation
Param
param
);
List
<
RefundExportListVo
>
getInsuranceRefundHandlingList
(
RefundExportList
Param
param
);
/**
/**
* 减员办理
* 减员办理
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/TInsuranceRefundService.java
View file @
da7e1aa6
...
@@ -11,4 +11,8 @@ import org.springframework.stereotype.Service;
...
@@ -11,4 +11,8 @@ import org.springframework.stereotype.Service;
*/
*/
public
interface
TInsuranceRefundService
extends
IService
<
TInsuranceRefund
>
{
public
interface
TInsuranceRefundService
extends
IService
<
TInsuranceRefund
>
{
TInsuranceRefund
getByInsDetailId
(
String
id
);
void
updateByInsDetailId
(
TInsuranceRefund
insuranceRefund
);
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/TInsuranceTypeService.java
View file @
da7e1aa6
...
@@ -25,7 +25,7 @@ public interface TInsuranceTypeService extends IService<TInsuranceType> {
...
@@ -25,7 +25,7 @@ public interface TInsuranceTypeService extends IService<TInsuranceType> {
* @param insuranceType 分页查询参数
* @param insuranceType 分页查询参数
* @return {@link IPage< TInsuranceType>}
* @return {@link IPage< TInsuranceType>}
*/
*/
IPage
<
InsuranceTypeVo
>
pageDiy
(
Page
page
,
TInsuranceType
insuranceType
);
IPage
<
InsuranceTypeVo
>
pageDiy
(
Page
<
TInsuranceType
>
page
,
TInsuranceType
insuranceType
);
/**
/**
* 新增险种信息
* 新增险种信息
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceCompanyServiceImpl.java
View file @
da7e1aa6
...
@@ -16,6 +16,7 @@ import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail;
...
@@ -16,6 +16,7 @@ import com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail;
import
com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceCompanyMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceCompanyMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceCompanyService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceCompanyService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceDetailService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceDetailService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.util.ValidityUtil
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -53,8 +54,7 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
...
@@ -53,8 +54,7 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
if
(!
CommonConstants
.
ZERO_STRING
.
equals
(
billingType
)
&&
!
CommonConstants
.
ONE_STRING
.
equals
(
billingType
)){
if
(!
CommonConstants
.
ZERO_STRING
.
equals
(
billingType
)
&&
!
CommonConstants
.
ONE_STRING
.
equals
(
billingType
)){
return
R
.
failed
(
"计费方式格式不正确"
);
return
R
.
failed
(
"计费方式格式不正确"
);
}
}
String
companyName
=
insuranceCompany
.
getCompanyName
();
if
(!
ValidityUtil
.
validate60
(
insuranceCompany
.
getCompanyName
())){
if
(
companyName
.
length
()>
CommonConstants
.
SIXTY_INT
){
return
R
.
failed
(
"保险公司名称过长"
);
return
R
.
failed
(
"保险公司名称过长"
);
}
}
boolean
b
=
companyIsExists
(
insuranceCompany
.
getCompanyName
());
boolean
b
=
companyIsExists
(
insuranceCompany
.
getCompanyName
());
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
da7e1aa6
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceRefundServiceImpl.java
View file @
da7e1aa6
...
@@ -15,4 +15,13 @@ import org.springframework.stereotype.Service;
...
@@ -15,4 +15,13 @@ import org.springframework.stereotype.Service;
public
class
TInsuranceRefundServiceImpl
extends
ServiceImpl
<
TInsuranceRefundMapper
,
TInsuranceRefund
>
public
class
TInsuranceRefundServiceImpl
extends
ServiceImpl
<
TInsuranceRefundMapper
,
TInsuranceRefund
>
implements
TInsuranceRefundService
{
implements
TInsuranceRefundService
{
@Override
public
TInsuranceRefund
getByInsDetailId
(
String
id
)
{
return
this
.
baseMapper
.
getByInsDetailId
(
id
);
}
@Override
public
void
updateByInsDetailId
(
TInsuranceRefund
insuranceRefund
)
{
this
.
baseMapper
.
updateByInsDetailId
(
insuranceRefund
);
}
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceTypeServiceImpl.java
View file @
da7e1aa6
...
@@ -50,7 +50,7 @@ public class TInsuranceTypeServiceImpl extends ServiceImpl<TInsuranceTypeMapper,
...
@@ -50,7 +50,7 @@ public class TInsuranceTypeServiceImpl extends ServiceImpl<TInsuranceTypeMapper,
* @return {@link IPage< TInsuranceType>}
* @return {@link IPage< TInsuranceType>}
*/
*/
@Override
@Override
public
IPage
<
InsuranceTypeVo
>
pageDiy
(
Page
page
,
TInsuranceType
insuranceType
)
{
public
IPage
<
InsuranceTypeVo
>
pageDiy
(
Page
<
TInsuranceType
>
page
,
TInsuranceType
insuranceType
)
{
return
this
.
baseMapper
.
selectInsuranceTypePage
(
page
,
insuranceType
);
return
this
.
baseMapper
.
selectInsuranceTypePage
(
page
,
insuranceType
);
}
}
...
@@ -75,6 +75,9 @@ public class TInsuranceTypeServiceImpl extends ServiceImpl<TInsuranceTypeMapper,
...
@@ -75,6 +75,9 @@ public class TInsuranceTypeServiceImpl extends ServiceImpl<TInsuranceTypeMapper,
if
(
Common
.
isEmpty
(
insuranceCompany
)){
if
(
Common
.
isEmpty
(
insuranceCompany
)){
return
R
.
failed
(
"所属保险公司不存在或已被删除"
);
return
R
.
failed
(
"所属保险公司不存在或已被删除"
);
}
}
if
(!
ValidityUtil
.
validate50
(
insuranceType
.
getName
())){
return
R
.
failed
(
"险种名称过长"
);
}
LambdaQueryWrapper
<
TInsuranceType
>
typeWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
TInsuranceType
>
typeWrapper
=
new
LambdaQueryWrapper
<>();
typeWrapper
.
eq
(
TInsuranceType
::
getInsuranceCompanyId
,
companyId
).
eq
(
TInsuranceType:
:
getName
,
insuranceType
.
getName
()).
eq
(
TInsuranceType:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
);
typeWrapper
.
eq
(
TInsuranceType
::
getInsuranceCompanyId
,
companyId
).
eq
(
TInsuranceType:
:
getName
,
insuranceType
.
getName
()).
eq
(
TInsuranceType:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
);
TInsuranceType
type
=
getOne
(
typeWrapper
);
TInsuranceType
type
=
getOne
(
typeWrapper
);
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
da7e1aa6
...
@@ -97,6 +97,9 @@
...
@@ -97,6 +97,9 @@
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and detail.INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
and detail.INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.insuranceTypeName != null and param.insuranceTypeName.trim() != ''"
>
and detail.INSURANCE_TYPE_NAME like concat('%',replace(replace(#{param.insuranceTypeName},'_','\_'),'%','\%'),'%')
</if>
ORDER BY detail.CREATE_TIME DESC
ORDER BY detail.CREATE_TIME DESC
</select>
</select>
...
@@ -133,6 +136,9 @@
...
@@ -133,6 +136,9 @@
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and detail.INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
and detail.INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.insuranceTypeName != null and param.insuranceTypeName.trim() != ''"
>
and detail.INSURANCE_TYPE_NAME like concat('%',replace(replace(#{param.insuranceTypeName},'_','\_'),'%','\%'),'%')
</if>
ORDER BY detail.CREATE_TIME DESC
ORDER BY detail.CREATE_TIME DESC
</select>
</select>
...
@@ -251,6 +257,7 @@
...
@@ -251,6 +257,7 @@
</select>
</select>
<!-- ***********************减员办理******************************** -->
<!-- ***********************减员办理******************************** -->
<!-- 已投保列表分页查询-->
<select
id=
"getInsuredListPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuredListVo"
>
<select
id=
"getInsuredListPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuredListVo"
>
select
select
detail.id as id,
detail.id as id,
...
@@ -316,7 +323,7 @@
...
@@ -316,7 +323,7 @@
</if>
</if>
ORDER BY detail.CREATE_TIME DESC
ORDER BY detail.CREATE_TIME DESC
</select>
</select>
<!-- 已投保列表不分页查询-->
<select
id=
"getInsuredList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuredListVo"
>
<select
id=
"getInsuredList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuredListVo"
>
select
select
detail.id as id,
detail.id as id,
...
@@ -394,6 +401,7 @@
...
@@ -394,6 +401,7 @@
</if>
</if>
ORDER BY detail.CREATE_TIME DESC
ORDER BY detail.CREATE_TIME DESC
</select>
</select>
<!-- 已减员列表分页查询-->
<select
id=
"getInsuranceRefundPageList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundListVo"
>
<select
id=
"getInsuranceRefundPageList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundListVo"
>
select
select
detail.id as id,
detail.id as id,
...
@@ -445,6 +453,7 @@
...
@@ -445,6 +453,7 @@
</if>
</if>
ORDER BY refund.CREATE_TIME DESC
ORDER BY refund.CREATE_TIME DESC
</select>
</select>
<!-- 已减员列表不分页查询-->
<select
id=
"getInsuranceRefundList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundListVo"
>
<select
id=
"getInsuranceRefundList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundListVo"
>
select
select
detail.id as id,
detail.id as id,
...
@@ -504,8 +513,10 @@
...
@@ -504,8 +513,10 @@
</if>
</if>
ORDER BY refund.CREATE_TIME DESC
ORDER BY refund.CREATE_TIME DESC
</select>
</select>
<select
id=
"getInsuranceRefundHandlingPageList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundHandlingListVo"
>
<!-- 减员办理列表分页查询-->
<select
id=
"getInsuranceRefundHandlingPageList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.RefundExportListVo"
>
select
select
DISTINCT
detail.id as id,
detail.id as id,
detail.EMP_NAME as empName,
detail.EMP_NAME as empName,
detail.EMP_IDCARD_NO as empIdcardNo,
detail.EMP_IDCARD_NO as empIdcardNo,
...
@@ -523,7 +534,7 @@
...
@@ -523,7 +534,7 @@
detail.BUY_STANDARD as buyStandard,
detail.BUY_STANDARD as buyStandard,
detail.MEDICAL_QUOTA as medicalQuota,
detail.MEDICAL_QUOTA as medicalQuota,
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail
.CREATE_NAME as createName,
refund
.CREATE_NAME as createName,
detail.REDUCE_HANDLE_STATUS as reduceHandleStatus
detail.REDUCE_HANDLE_STATUS as reduceHandleStatus
from
from
t_insurance_detail detail,
t_insurance_detail detail,
...
@@ -541,8 +552,8 @@
...
@@ -541,8 +552,8 @@
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
and detail.DEPT_NO like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
and detail.DEPT_NO like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.reduceHandleStatus != null
and param.reduceHandleStatus.trim() != ''
"
>
<if
test=
"param.reduceHandleStatus != null"
>
and detail.REDUCE_HANDLE_STATUS
like concat('%',replace(replace(#{param.reduceHandleStatus},'_','\_'),'%','\%'),'%')
and detail.REDUCE_HANDLE_STATUS
= #{param.reduceHandleStatus}
</if>
</if>
<if
test=
"param.isOverdue != null"
>
<if
test=
"param.isOverdue != null"
>
and detail.IS_OVERDUE like concat('%',replace(replace(#{param.isOverdue},'_','\_'),'%','\%'),'%')
and detail.IS_OVERDUE like concat('%',replace(replace(#{param.isOverdue},'_','\_'),'%','\%'),'%')
...
@@ -552,8 +563,10 @@
...
@@ -552,8 +563,10 @@
</if>
</if>
ORDER BY refund.CREATE_TIME DESC
ORDER BY refund.CREATE_TIME DESC
</select>
</select>
<select
id=
"getInsuranceRefundHandlingList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundHandlingListVo"
>
<!-- 减员办理列表不分页查询-->
<select
id=
"getInsuranceRefundHandlingList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.RefundExportListVo"
>
select
select
DISTINCT
detail.id as id,
detail.id as id,
detail.DEPT_NO as deptNo,
detail.DEPT_NO as deptNo,
detail.EMP_NAME as empName,
detail.EMP_NAME as empName,
...
@@ -573,13 +586,17 @@
...
@@ -573,13 +586,17 @@
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail.SETTLE_TYPE as settleType,
detail.SETTLE_TYPE as settleType,
detail.SETTLE_MONTH as settleMonth,
detail.SETTLE_MONTH as settleMonth,
detail.CREATE_NAME as createName,
refund.CREATE_NAME as createName,
detail.REMARK as remark
detail.REMARK as remark,
detail.REDUCE_HANDLE_STATUS as reduceHandleStatus
from
from
t_insurance_detail detail
t_insurance_detail detail,
t_insurance_refund refund
where
where
detail.DELETE_FLAG = 0
detail.DELETE_FLAG = 0
and
and
detail.ID = refund.INS_DETAIL_ID
and
detail.REDUCE_HANDLE_STATUS = 1
detail.REDUCE_HANDLE_STATUS = 1
<if
test=
"param.empName != null and param.empName.trim() != ''"
>
<if
test=
"param.empName != null and param.empName.trim() != ''"
>
and detail.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%')
and detail.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%')
...
@@ -590,8 +607,8 @@
...
@@ -590,8 +607,8 @@
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
and detail.DEPT_NO like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
and detail.DEPT_NO like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
</if>
</if>
<if
test=
"param.reduceHandleStatus != null
and param.reduceHandleStatus.trim() != ''
"
>
<if
test=
"param.reduceHandleStatus != null "
>
and detail.REDUCE_HANDLE_STATUS
like concat('%',replace(replace(#{param.reduceHandleStatus},'_','\_'),'%','\%'),'%')
and detail.REDUCE_HANDLE_STATUS
= #{param.reduceHandleStatus}
</if>
</if>
<if
test=
"param.isOverdue != null "
>
<if
test=
"param.isOverdue != null "
>
and detail.IS_OVERDUE like concat('%',replace(replace(#{param.isOverdue},'_','\_'),'%','\%'),'%')
and detail.IS_OVERDUE like concat('%',replace(replace(#{param.isOverdue},'_','\_'),'%','\%'),'%')
...
@@ -601,6 +618,7 @@
...
@@ -601,6 +618,7 @@
</if>
</if>
ORDER BY detail.REFUND_CREATE_TIME DESC
ORDER BY detail.REFUND_CREATE_TIME DESC
</select>
</select>
<!-- 查询保单列表-->
<select
id=
"selectDetailListByIds"
<select
id=
"selectDetailListByIds"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail"
>
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail"
>
select
select
...
@@ -613,6 +631,7 @@
...
@@ -613,6 +631,7 @@
#{item}
#{item}
</foreach>
</foreach>
</select>
</select>
<!-- 查询保单减员退费信息-->
<select
id=
"selectRefundDetail"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefundDetail"
>
<select
id=
"selectRefundDetail"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefundDetail"
>
select
select
detail.DEPT_NO as deptNo,
detail.DEPT_NO as deptNo,
...
@@ -642,6 +661,82 @@
...
@@ -642,6 +661,82 @@
and detail.POLICY_NO = #{param.policyNo}
and detail.POLICY_NO = #{param.policyNo}
</if>
</if>
</select>
</select>
<!-- 已投保列表分页查询-->
<select
id=
"getRefundExportListBySelect"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.RefundExportListVo"
>
select
detail.id as id,
detail.DEPT_NO as deptNo,
detail.EMP_NAME as empName,
detail.EMP_IDCARD_NO as empIdcardNo,
detail.BUY_TYPE as buyType,
detail.POST as post,
detail.INSURANCE_PROVINCE_NAME as insuranceProvinceName,
detail.INSURANCE_CITY_NAME as insuranceCityName,
detail.INSURANCE_HANDLE_PROVINCE_NAME as insuranceHandleProvinceName,
detail.INSURANCE_HANDLE_CITY_NAME as insuranceHandleCityName,
detail.POLICY_START as policyStart,
detail.POLICY_END as policyEnd,
detail.INSURANCE_COMPANY_NAME as insuranceCompanyName,
detail.INSURANCE_TYPE_NAME as insuranceTypeName,
detail.BUY_STANDARD as buyStandard,
detail.MEDICAL_QUOTA as medicalQuota,
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail.SETTLE_MONTH as settleMonth,
detail.SETTLE_TYPE as settleType,
detail.CREATE_NAME as createName,
detail.REMARK as remark
from
t_insurance_detail detail
where
detail.id in
<foreach
collection=
"idList"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
ORDER BY detail.CREATE_TIME DESC
</select>
<!-- 已投保列表分页查询-->
<select
id=
"getRefundExportList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.RefundExportListVo"
>
select
detail.id as id,
detail.DEPT_NO as deptNo,
detail.EMP_NAME as empName,
detail.EMP_IDCARD_NO as empIdcardNo,
detail.BUY_TYPE as buyType,
detail.POST as post,
detail.INSURANCE_PROVINCE_NAME as insuranceProvinceName,
detail.INSURANCE_CITY_NAME as insuranceCityName,
detail.INSURANCE_HANDLE_PROVINCE_NAME as insuranceHandleProvinceName,
detail.INSURANCE_HANDLE_CITY_NAME as insuranceHandleCityName,
detail.POLICY_START as policyStart,
detail.POLICY_END as policyEnd,
detail.INSURANCE_COMPANY_NAME as insuranceCompanyName,
detail.INSURANCE_TYPE_NAME as insuranceTypeName,
detail.BUY_STANDARD as buyStandard,
detail.MEDICAL_QUOTA as medicalQuota,
detail.DIE_DISABLE_QUOTA as dieDisableQuota,
detail.SETTLE_MONTH as settleMonth,
detail.SETTLE_TYPE as settleType,
detail.CREATE_NAME as createName,
detail.REMARK as remark
from
t_insurance_detail detail
where
detail.DELETE_FLAG = 0 and detail.REDUCE_HANDLE_STATUS = 1
<if
test=
"param.empName != null and param.empName.trim() != ''"
>
and detail.EMP_NAME like concat('%',replace(replace(#{param.empName},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.empIdcardNo != null and param.empIdcardNo.trim() != ''"
>
and detail.EMP_IDCARD_NO like concat('%',replace(replace(#{param.empIdcardNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
and detail.DEPT_NO like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and detail.INSURANCE_COMPANY_NAME like concat('%',replace(replace(#{param.insuranceCompanyName},'_','\_'),'%','\%'),'%')
</if>
ORDER BY detail.CREATE_TIME DESC
</select>
<!-- 已投保列表分页查询-->
<update
id=
"updateInsuranceRefund"
>
<update
id=
"updateInsuranceRefund"
>
update
update
t_insurance_detail detail
t_insurance_detail detail
...
@@ -655,6 +750,4 @@
...
@@ -655,6 +750,4 @@
#{item}
#{item}
</foreach>
</foreach>
</update>
</update>
</mapper>
</mapper>
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceRefundMapper.xml
View file @
da7e1aa6
...
@@ -8,9 +8,6 @@
...
@@ -8,9 +8,6 @@
<id
property=
"id"
column=
"ID"
jdbcType=
"BIGINT"
/>
<id
property=
"id"
column=
"ID"
jdbcType=
"BIGINT"
/>
<result
property=
"insDetailId"
column=
"INS_DETAIL_ID"
jdbcType=
"BIGINT"
/>
<result
property=
"insDetailId"
column=
"INS_DETAIL_ID"
jdbcType=
"BIGINT"
/>
<result
property=
"reduceHandleStatus"
column=
"REDUCE_HANDLE_STATUS"
jdbcType=
"TINYINT"
/>
<result
property=
"reduceHandleStatus"
column=
"REDUCE_HANDLE_STATUS"
jdbcType=
"TINYINT"
/>
<result
property=
"empName"
column=
"EMP_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"empIdcardNo"
column=
"EMP_IDCARD_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"policyNo"
column=
"POLICY_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"refundMoney"
column=
"REFUND_MONEY"
jdbcType=
"DECIMAL"
/>
<result
property=
"refundMoney"
column=
"REFUND_MONEY"
jdbcType=
"DECIMAL"
/>
<result
property=
"remark"
column=
"REMARK"
jdbcType=
"VARCHAR"
/>
<result
property=
"remark"
column=
"REMARK"
jdbcType=
"VARCHAR"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
...
@@ -21,6 +18,19 @@
...
@@ -21,6 +18,19 @@
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
ID,INS_DETAIL_ID,REDUCE_HANDLE_STATUS,
ID,INS_DETAIL_ID,REDUCE_HANDLE_STATUS,
REFUND_MONEY,REMARK,CREATE_TIME,
REFUND_MONEY,REMARK,CREATE_TIME,
CREATE_BY,CREATE_NAME
,EMP_NAME,EMP_IDCARD_NO,POLICY_NO
CREATE_BY,CREATE_NAME
</sql>
</sql>
<update
id=
"updateByInsDetailId"
>
update
t_insurance_refund
set
REDUCE_HANDLE_STATUS = #{reduceHandleStatus},
UPDATE_BY = #{createBy},
UPDATE_TIME = #{createTime}
where
INS_DETAIL_ID = #{insDetailId}
</update>
<select
id=
"getByInsDetailId"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceRefund"
>
</select>
</mapper>
</mapper>
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/constants/DispatchConstants.java
View file @
da7e1aa6
...
@@ -26,10 +26,12 @@ public class DispatchConstants {
...
@@ -26,10 +26,12 @@ public class DispatchConstants {
public
static
final
String
DISPATCH_ADD
=
"派增"
;
public
static
final
String
DISPATCH_ADD
=
"派增"
;
public
static
final
String
DISPATCH_REDUCE
=
"派减"
;
public
static
final
String
DISPATCH_REDUCE
=
"派减"
;
public
static
final
String
DISPATCH_SOCIAL_ADD
=
"社保派增"
;
public
static
final
String
DISPATCH_SOCIAL_ADD
=
"社保派增"
;
public
static
final
String
DISPATCH_
SOCIAL_
HANDLE_SUCCESS
=
"办理成功:"
;
public
static
final
String
DISPATCH_HANDLE_SUCCESS
=
"办理成功:"
;
public
static
final
String
DISPATCH_
SOCIAL_
HANDLE_FAIL
=
"办理失败:"
;
public
static
final
String
DISPATCH_HANDLE_FAIL
=
"办理失败:"
;
public
static
final
String
DISPATCH_FUND_ADD_SUCCESS
=
"公积金派增办理成功:"
;
public
static
final
String
DISPATCH_FUND_ADD_SUCCESS
=
"公积金派增办理成功:"
;
public
static
final
String
DISPATCH_FUND_ADD_FAIL
=
"公积金派增办理失败:"
;
public
static
final
String
DISPATCH_FUND_ADD_FAIL
=
"公积金派增办理失败:"
;
public
static
final
String
DISPATCH_FUND_REDUCE
=
"公积金派减"
;
public
static
final
String
DISPATCH_SOCIAL_REDUCE
=
"社保派减"
;
/**
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TAuditInfo.java
View file @
da7e1aa6
...
@@ -56,13 +56,13 @@ public class TAuditInfo implements Serializable {
...
@@ -56,13 +56,13 @@ public class TAuditInfo implements Serializable {
@ExcelProperty
(
"社保ID"
)
@ExcelProperty
(
"社保ID"
)
private
String
socialId
;
private
String
socialId
;
/**
/**
* 审核状态(0
wait/1success/2fail
)
* 审核状态(0
待审核 1 审核通过 2 审核不通过 3 办理成功 4 办理失败 5 部分办理失败 6派减
)
*/
*/
@NotBlank
(
message
=
"审核状态
(0wait/1success/2fail)
不能为空"
)
@NotBlank
(
message
=
"审核状态不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态
(0wait/1success/2fail)
不能超过1个字符"
)
@Length
(
max
=
1
,
message
=
"审核状态 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"审核状态
(0wait/1success/2fail)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0wait/1success/2fail)
不能为空"
,
maxLength
=
1
)
@ExcelAttribute
(
name
=
"审核状态
"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态
不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"审核状态(0
wait/1success/2fail
)"
)
@Schema
(
description
=
"审核状态(0
待审核 1 审核通过 2 审核不通过 3 办理成功 4 办理失败 5 部分办理失败 6派减
)"
)
@ExcelProperty
(
"审核状态
(0wait/1success/2fail)
"
)
@ExcelProperty
(
"审核状态"
)
private
String
auditStatus
;
private
String
auditStatus
;
/**
/**
* 审核意见
* 审核意见
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPreDispatchExportVo.java
View file @
da7e1aa6
...
@@ -17,6 +17,9 @@ import java.time.LocalDateTime;
...
@@ -17,6 +17,9 @@ import java.time.LocalDateTime;
@Data
@Data
public
class
TPreDispatchExportVo
implements
Serializable
{
public
class
TPreDispatchExportVo
implements
Serializable
{
@ExcelAttribute
(
name
=
"主键"
,
needExport
=
true
)
private
String
id
;
/**
/**
* 0 派增 1 派减
* 0 派增 1 派减
*/
*/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
View file @
da7e1aa6
...
@@ -26,7 +26,6 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
...
@@ -26,7 +26,6 @@ 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.core.vo.YifuUser
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils
;
import
com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils
;
import
com.yifu.cloud.plus.v1.yifu.social.constants.DispatchConstants
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TDispatchInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TDispatchInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.DispatchDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.DispatchDetailVo
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
da7e1aa6
...
@@ -57,12 +57,10 @@ import org.springframework.stereotype.Service;
...
@@ -57,12 +57,10 @@ import org.springframework.stereotype.Service;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.sql.CommonDataSource
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.net.URLEncoder
;
import
java.net.URLEncoder
;
import
java.time.LocalDateTime
;
import
java.util.*
;
import
java.util.*
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
...
@@ -1117,7 +1115,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -1117,7 +1115,6 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
List
<
SysBaseSetInfo
>
socialBases
=
baseSetMapper
.
selectList
(
Wrappers
.<
SysBaseSetInfo
>
query
().
lambda
()
List
<
SysBaseSetInfo
>
socialBases
=
baseSetMapper
.
selectList
(
Wrappers
.<
SysBaseSetInfo
>
query
().
lambda
()
.
eq
(
SysBaseSetInfo:
:
getBaseType
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysBaseSetInfo:
:
getBaseType
,
CommonConstants
.
ZERO_STRING
)
.
le
(
SysBaseSetInfo:
:
getApplyStartDate
,
now
)
.
le
(
SysBaseSetInfo:
:
getApplyStartDate
,
now
)
.
ge
(
SysBaseSetInfo:
:
getApplyEndDate
,
now
)
.
in
(
SysBaseSetInfo:
:
getDepartName
,
socialholds
)
.
in
(
SysBaseSetInfo:
:
getDepartName
,
socialholds
)
.
eq
(
SysBaseSetInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysBaseSetInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
)
.
groupBy
(
SysBaseSetInfo:
:
getDepartName
));
.
groupBy
(
SysBaseSetInfo:
:
getDepartName
));
...
@@ -1346,11 +1343,15 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -1346,11 +1343,15 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
Common
.
isEmpty
(
excel
.
getRecordBase
())
Common
.
isEmpty
(
excel
.
getRecordBase
())
||
Common
.
isEmpty
(
excel
.
getPensionStart
())
||
Common
.
isEmpty
(
excel
.
getPensionStart
())
||
Common
.
isEmpty
(
excel
.
getPaymentType
())
||
Common
.
isEmpty
(
excel
.
getPaymentType
())
||
Common
.
isEmpty
(
excel
.
getPensionCardinal
())
))
{
))
{
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_SOCIAL_NOT_EMPTY
)));
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_SOCIAL_NOT_EMPTY
)));
return
true
;
return
true
;
}
}
if
(
CommonConstants
.
ONE_STRING
.
equals
(
excel
.
getPaymentType
())
&&
Common
.
isEmpty
(
excel
.
getPensionCardinal
())
){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_SOCIAL_DIY_NOT_EMPTY
)));
return
true
;
}
if
(
Common
.
isNotNull
(
excel
.
getProvidentHousehold
())
&&
(
if
(
Common
.
isNotNull
(
excel
.
getProvidentHousehold
())
&&
(
Common
.
isEmpty
(
excel
.
getProvidentCardinal
())
Common
.
isEmpty
(
excel
.
getProvidentCardinal
())
||
Common
.
isEmpty
(
excel
.
getProvidentStart
())
||
Common
.
isEmpty
(
excel
.
getProvidentStart
())
...
@@ -2020,13 +2021,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2020,13 +2021,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_ADD
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_ADD
);
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
DispatchConstants
.
DISPATCH_
SOCIAL_
HANDLE_SUCCESS
);
temp
.
append
(
DispatchConstants
.
DISPATCH_HANDLE_SUCCESS
);
initAuditInfo
(
auditInfo
,
(
temp
+
handleRemark
),
handleStatus
,
user
,
temp
.
toString
());
initAuditInfo
(
auditInfo
,
(
temp
+
handleRemark
),
handleStatus
,
user
,
temp
.
toString
());
}
else
{
}
else
{
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_ADD
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_ADD
);
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
DispatchConstants
.
DISPATCH_
SOCIAL_
HANDLE_FAIL
);
temp
.
append
(
DispatchConstants
.
DISPATCH_HANDLE_FAIL
);
initAuditInfo
(
auditInfo
,
(
temp
+
handleRemark
),
handleStatus
,
user
,
temp
.
toString
());
initAuditInfo
(
auditInfo
,
(
temp
+
handleRemark
),
handleStatus
,
user
,
temp
.
toString
());
}
}
dis
.
setSocialHandleStatus
(
socialInfo
.
getHandleStatus
());
dis
.
setSocialHandleStatus
(
socialInfo
.
getHandleStatus
());
...
@@ -2046,9 +2047,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2046,9 +2047,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
if
(
CommonConstants
.
dingleDigitStrArray
[
0
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ZERO_INT
==
flag
)
{
if
(
CommonConstants
.
dingleDigitStrArray
[
0
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ZERO_INT
==
flag
)
{
//派增办理通过 改成可派减状态
//派增办理通过 改成可派减状态
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
sf
.
setFundAddStatus
(
CommonConstants
.
TWO_STRING
);
sf
.
setFundStatus
(
CommonConstants
.
THREE_STRING
);
}
else
if
(
CommonConstants
.
dingleDigitStrArray
[
0
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ONE_INT
==
flag
)
{
}
else
if
(
CommonConstants
.
dingleDigitStrArray
[
0
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ONE_INT
==
flag
)
{
//派增办理不通过 改成不可派减状态
//派增办理不通过 改成不可派减状态
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
1
]);
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
1
]);
sf
.
setFundAddStatus
(
CommonConstants
.
THREE_STRING
);
sf
.
setFundStatus
(
CommonConstants
.
FOUR_STRING
);
// 同步预估库数据 TODO
// 同步预估库数据 TODO
}
}
fundMapper
.
updateById
(
providentFund
);
fundMapper
.
updateById
(
providentFund
);
...
@@ -2068,11 +2073,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2068,11 +2073,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
dis
.
getType
()))
{
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
dis
.
getType
()))
{
//社保派减办理
//社保派减办理
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
typeSub
))
{
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
typeSub
))
{
if
(
null
!=
socialInfo
&&
Common
.
isNotNull
(
socialInfo
.
getId
()))
{
if
(
Common
.
isNotNull
(
socialInfo
)
&&
Common
.
isNotNull
(
socialInfo
.
getId
()))
{
// 社保办理状态补充判断:
// 社保办理状态补充判断:
this
.
setSocialHandleStatus
(
handleStatus
,
socialType
,
flag
,
socialInfo
,
dis
,
sf
);
this
.
setSocialHandleStatus
(
handleStatus
,
socialType
,
flag
,
socialInfo
,
dis
,
sf
);
//社保派减办理成功才变更社保的办理状态
//社保派减办理成功才变更社保的办理状态
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
socialInfo
.
setHandleStatus
(
CommonConstants
.
THREE_STRING
);
socialInfo
.
setHandleStatus
(
CommonConstants
.
THREE_STRING
);
...
@@ -2080,23 +2083,38 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2080,23 +2083,38 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
socialInfo
.
setReduceHandleTime
(
now
);
socialInfo
.
setReduceHandleTime
(
now
);
if
(
Common
.
isNotNull
(
dis
.
getSocialReduceDate
()))
{
if
(
Common
.
isNotNull
(
dis
.
getSocialReduceDate
()))
{
socialInfo
.
setSocialReduceDate
(
dis
.
getSocialReduceDate
());
socialInfo
.
setSocialReduceDate
(
dis
.
getSocialReduceDate
());
sf
.
setSocialReduceDate
(
dis
.
getSocialReduceDate
());
}
}
sf
.
setSocialReduceStatus
(
CommonConstants
.
TWO_STRING
);
sf
.
setSocialStatus
(
CommonConstants
.
EIGHT_STRING
);
// 同步预估库数据 TODO
}
}
socialInfo
.
setHandleTime
(
now
);
socialInfo
.
setHandleTime
(
now
);
socialInfo
.
setHandleUser
(
user
.
getId
()
.
toString
()
);
socialInfo
.
setHandleUser
(
user
.
getId
());
if
(
CommonConstants
.
dingleDigitStrArray
[
1
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ONE_INT
==
flag
)
{
if
(
CommonConstants
.
ONE_INT
==
flag
)
{
//派减办理不通过
//派减办理不通过
socialInfo
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
//改成可派减状态
socialInfo
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
//改成可派减状态
// 同步预估库数据
sf
.
setSocialReduceStatus
(
CommonConstants
.
THREE_STRING
);
sf
.
setSocialStatus
(
CommonConstants
.
NINE_STRING
);
}
}
socialMapper
.
updateById
(
socialInfo
);
socialMapper
.
updateById
(
socialInfo
);
dis
.
setSocialHandleRemark
(
null
==
handleRemark
?
""
:
handleRemark
);
dis
.
setSocialHandleRemark
(
ServiceUtil
.
ifNullToEmpty
(
handleRemark
)
);
auditInfo
=
new
TAuditInfo
();
auditInfo
=
new
TAuditInfo
();
auditInfo
.
setType
(
CommonConstants
.
ONE_STRING
);
auditInfo
.
setType
(
CommonConstants
.
ONE_STRING
);
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
initAuditInfo
(
auditInfo
,
(
"社保派减"
+
socialTypeRemark
.
toString
()
+
"办理成功:"
+
handleRemark
),
handleStatus
,
user
,
""
);
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_REDUCE
);
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
DispatchConstants
.
DISPATCH_HANDLE_SUCCESS
);
temp
.
append
(
handleRemark
);
initAuditInfo
(
auditInfo
,
temp
.
toString
(),
handleStatus
,
user
,
temp
.
toString
());
}
else
{
}
else
{
initAuditInfo
(
auditInfo
,
(
"社保派减"
+
socialTypeRemark
.
toString
()
+
"办理失败:"
+
handleRemark
),
handleStatus
,
user
,
""
);
temp
.
setLength
(
CommonConstants
.
ZERO_INT
);
temp
.
append
(
DispatchConstants
.
DISPATCH_SOCIAL_REDUCE
);
temp
.
append
(
socialTypeRemark
.
toString
());
temp
.
append
(
DispatchConstants
.
DISPATCH_HANDLE_FAIL
);
temp
.
append
(
handleRemark
);
initAuditInfo
(
auditInfo
,
temp
.
toString
(),
handleStatus
,
user
,
temp
.
toString
());
}
}
dis
.
setSocialHandleStatus
(
handleStatus
);
dis
.
setSocialHandleStatus
(
handleStatus
);
auditInfo
.
setSocialId
(
dis
.
getId
());
auditInfo
.
setSocialId
(
dis
.
getId
());
...
@@ -2106,7 +2124,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2106,7 +2124,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
//公积金派减办理
//公积金派减办理
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
typeSub
))
{
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
typeSub
))
{
if
(
null
!=
providentFund
&&
Common
.
isNotNull
(
providentFund
.
getId
()))
{
if
(
Common
.
isNotNull
(
providentFund
)
&&
Common
.
isNotNull
(
providentFund
.
getId
()))
{
//公积金派减办理成功才变更公积金的办理状态
//公积金派减办理成功才变更公积金的办理状态
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
if
(
CommonConstants
.
ZERO_INT
==
flag
)
{
providentFund
.
setHandleStatus
(
CommonConstants
.
THREE_STRING
);
providentFund
.
setHandleStatus
(
CommonConstants
.
THREE_STRING
);
...
@@ -2114,14 +2132,19 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -2114,14 +2132,19 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
providentFund
.
setReduceHandleUser
(
user
.
getId
().
toString
());
providentFund
.
setReduceHandleUser
(
user
.
getId
().
toString
());
if
(
Common
.
isNotNull
(
dis
.
getFundReduceDate
()))
{
if
(
Common
.
isNotNull
(
dis
.
getFundReduceDate
()))
{
providentFund
.
setFundReduceDate
(
dis
.
getFundReduceDate
());
providentFund
.
setFundReduceDate
(
dis
.
getFundReduceDate
());
sf
.
setFundReduceDate
(
dis
.
getFundReduceDate
());
}
}
// 派减办理成功后,同步预估库数据清理
sf
.
setFundReduceStatus
(
CommonConstants
.
TWO_STRING
);
sf
.
setFundStatus
(
CommonConstants
.
SEVEN_STRING
);
// 派减办理成功后,同步预估库数据清理 TODO
}
}
providentFund
.
setHandleTime
(
now
);
providentFund
.
setHandleTime
(
now
);
providentFund
.
setHandleUser
(
user
.
getId
().
toString
());
providentFund
.
setHandleUser
(
user
.
getId
().
toString
());
if
(
CommonConstants
.
dingleDigitStrArray
[
1
].
equals
(
dis
.
getType
())
&&
CommonConstants
.
ONE_INT
==
flag
)
{
if
(
CommonConstants
.
ONE_INT
==
flag
)
{
//派减办理不通过
//派减办理不通过
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
//改成可派减状态
providentFund
.
setReduceCan
(
CommonConstants
.
dingleDigitStrArray
[
0
]);
//改成可派减状态
sf
.
setSocialReduceStatus
(
CommonConstants
.
THREE_STRING
);
sf
.
setSocialStatus
(
CommonConstants
.
NINE_STRING
);
// 同步预估库数据
// 同步预估库数据
}
}
fundMapper
.
updateById
(
providentFund
);
fundMapper
.
updateById
(
providentFund
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
da7e1aa6
...
@@ -772,7 +772,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
...
@@ -772,7 +772,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
list
=
baseMapper
.
getListForExport
(
tPreDispatchInfo
);
list
=
baseMapper
.
getListForExport
(
tPreDispatchInfo
);
ServletOutputStream
out
=
null
;
ServletOutputStream
out
=
null
;
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
if
(
list
==
null
||
list
.
isEmpty
())
{
list
=
new
ArrayList
<>();
list
=
new
ArrayList
<>();
}
}
try
{
try
{
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
View file @
da7e1aa6
...
@@ -356,7 +356,6 @@
...
@@ -356,7 +356,6 @@
<where>
<where>
1=1
1=1
and a.APPLY_START_DATE
<![CDATA[ <= ]]>
now()
and a.APPLY_START_DATE
<![CDATA[ <= ]]>
now()
and a.APPLY_END_DATE >= now()
<if
test=
"fundHolds != null and fundHolds.size > 0"
>
<if
test=
"fundHolds != null and fundHolds.size > 0"
>
and a.DEPART_NAME in
and a.DEPART_NAME in
<foreach
collection=
"fundHolds"
item=
"item"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"fundHolds"
item=
"item"
open=
"("
close=
")"
separator=
","
>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPreDispatchInfoMapper.xml
View file @
da7e1aa6
...
@@ -233,12 +233,12 @@
...
@@ -233,12 +233,12 @@
</sql>
</sql>
<sql
id=
"tPreDispatchInfo_where"
>
<sql
id=
"tPreDispatchInfo_where"
>
<if
test=
"tPreDispatchInfo != null"
>
<if
test=
"tPreDispatchInfo != null"
>
<if
test=
"tPreDispatchInfo.idList != null"
>
<if
test=
"tPreDispatchInfo.idList != null"
>
AND a.id in
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"tPreDispatchInfo.idList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"idStr"
index=
"index"
collection=
"tPreDispatchInfo.idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
#{idStr}
</foreach>
</foreach>
</if>
</if>
<if
test=
"tPreDispatchInfo.idList == null"
>
<if
test=
"tPreDispatchInfo.idList == null"
>
<if
test=
"tPreDispatchInfo.id != null and tPreDispatchInfo.id.trim() != ''"
>
<if
test=
"tPreDispatchInfo.id != null and tPreDispatchInfo.id.trim() != ''"
>
AND a.ID = #{tPreDispatchInfo.id}
AND a.ID = #{tPreDispatchInfo.id}
...
...
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