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
9db9e5ef
Commit
9db9e5ef
authored
Sep 07, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
b3b1ae96
404c4ce1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
289 additions
and
199 deletions
+289
-199
CommonConstants.java
...ud.plus.v1/yifu/common/core/constant/CommonConstants.java
+8
-0
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+11
-0
TInsuranceEkp.java
...u/cloud/plus/v1/yifu/insurances/entity/TInsuranceEkp.java
+2
-2
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+10
-6
TInsuranceDetailService.java
...insurances/service/insurance/TInsuranceDetailService.java
+4
-4
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+57
-18
TInsuranceEkpServiceImpl.java
...nces/service/insurance/impl/TInsuranceEkpServiceImpl.java
+167
-158
TInsuranceEkpMapper.xml
.../main/resources/mapper/insurances/TInsuranceEkpMapper.xml
+2
-1
OrderConstants.java
...fu/cloud/plus/v1/yifu/order/constants/OrderConstants.java
+4
-0
OrderController.java
.../cloud/plus/v1/yifu/order/controller/OrderController.java
+1
-1
TOrderService.java
.../yifu/cloud/plus/v1/yifu/order/service/TOrderService.java
+2
-2
TOrderServiceImpl.java
...ud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
+7
-2
IncomeExportVo.java
...com/yifu/cloud/plus/v1/yifu/social/vo/IncomeExportVo.java
+2
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+2
-1
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+6
-0
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+4
-4
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/constant/CommonConstants.java
View file @
9db9e5ef
...
...
@@ -91,7 +91,15 @@ public interface CommonConstants {
*/
Integer
SUCCESS
=
200
;
/**
* 商险导出最大值
*/
Integer
EXPORT_TWENTY_THOUSAND
=
20000
;
/**
* 商险导入最大值
*/
Integer
IMPORT_TWENTY_THOUSAND
=
20000
;
/**
* 失败标记
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
View file @
9db9e5ef
...
...
@@ -1066,6 +1066,17 @@ public class InsurancesConstants {
public
static
final
String
SYSTEM_TRIGGER
=
"系统触发"
;
/**
* 一次性导出不可超过20000条,请分批导出
*/
public
static
final
String
EXPORT_TOO_LONG
=
"一次性导出不可超过20000条,请分批导出"
;
/**
* 一次性导入不可超过20000条,请分批导入
*/
public
static
final
String
IMPORT_TOO_LONG
=
"一次性导入不可超过20000条,请分批导入"
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceEkp.java
View file @
9db9e5ef
...
...
@@ -38,7 +38,7 @@ public class TInsuranceEkp implements Serializable {
/**
* 单据类型 (0、与薪资合并结算 1、单独结算)
*/
private
Integer
settleType
;
private
String
settleType
;
/**
* 项目编码
...
...
@@ -138,7 +138,7 @@ public class TInsuranceEkp implements Serializable {
/**
* 单据状态
*/
private
Integer
interactiveType
;
private
String
interactiveType
;
/**
* 重发标识
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
View file @
9db9e5ef
...
...
@@ -9,6 +9,7 @@ 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.security.annotation.Inner
;
import
com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils
;
import
com.yifu.cloud.plus.v1.yifu.insurances.constants.InsurancesConstants
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceOperate
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.Dept
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.insurance.TInsuranceDetailService
;
...
...
@@ -94,7 +95,7 @@ public class TInsuranceDetailController {
@PostMapping
(
"/getInsuranceList"
)
@PreAuthorize
(
"@pms.hasPermission('insurance_custserve_insure_export')"
)
public
R
<
List
<
InsuranceListVO
>>
getInsuranceList
(
@RequestBody
InsuranceListParam
param
)
{
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceList
(
param
)
);
return
tInsuranceDetailService
.
getInsuranceList
(
param
);
}
/**
...
...
@@ -255,6 +256,9 @@ public class TInsuranceDetailController {
if
(
user
==
null
||
Common
.
isEmpty
(
user
.
getId
()))
{
return
R
.
failed
(
CommonConstants
.
PLEASE_LOG_IN
);
}
if
(
param
.
size
()
>
CommonConstants
.
IMPORT_TWENTY_THOUSAND
){
return
R
.
failed
(
InsurancesConstants
.
IMPORT_TOO_LONG
);
}
return
tInsuranceDetailService
.
insuranceHandleImport
(
user
,
param
);
}
...
...
@@ -355,8 +359,8 @@ public class TInsuranceDetailController {
@Operation
(
summary
=
"已投保列表不分页查询"
,
description
=
"已投保列表不分页查询"
)
@PostMapping
(
"/getInsuredList"
)
@PreAuthorize
(
"@pms.hasPermission('insurance_custserve_insured_export')"
)
public
R
<
List
<
InsuredListVo
>>
getInsuredList
(
@RequestBody
InsuredParam
param
)
{
return
R
.
ok
(
tInsuranceDetailService
.
getInsuredList
(
param
),
"查询成功"
);
public
R
getInsuredList
(
@RequestBody
InsuredParam
param
)
{
return
tInsuranceDetailService
.
getInsuredList
(
param
);
}
/**
...
...
@@ -382,8 +386,8 @@ public class TInsuranceDetailController {
@Operation
(
summary
=
"已减员列表导出"
,
description
=
"已减员列表导出"
)
@PostMapping
(
"/getInsuranceRefundList"
)
@PreAuthorize
(
"@pms.hasPermission('insurance_custserve_reduction_export')"
)
public
R
<
List
<
InsuranceRefundListVo
>>
getInsuranceRefundList
(
@RequestBody
InsuranceRefundParam
param
)
{
return
R
.
ok
(
tInsuranceDetailService
.
getInsuranceRefundList
(
param
)
);
public
R
getInsuranceRefundList
(
@RequestBody
InsuranceRefundParam
param
)
{
return
tInsuranceDetailService
.
getInsuranceRefundList
(
param
);
}
...
...
@@ -410,7 +414,7 @@ public class TInsuranceDetailController {
@Operation
(
summary
=
"导出减员列表"
,
description
=
"导出减员列表"
)
@PostMapping
(
"/getInsuranceRefundHandlingList"
)
@PreAuthorize
(
"@pms.hasPermission('handle_down_export')"
)
public
R
<
List
<
RefundExportListVo
>>
getInsuranceRefundHandlingList
(
@RequestBody
RefundExportListParam
param
)
{
public
R
getInsuranceRefundHandlingList
(
@RequestBody
RefundExportListParam
param
)
{
return
tInsuranceDetailService
.
getInsuranceRefundHandlingList
(
param
);
}
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/TInsuranceDetailService.java
View file @
9db9e5ef
...
...
@@ -54,9 +54,9 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
*
* @author licancan
* @param param
* @return {@link
List<InsuranceListVO
>}
* @return {@link
R<List<InsuranceListVO>
>}
*/
List
<
InsuranceListVO
>
getInsuranceList
(
InsuranceListParam
param
);
R
<
List
<
InsuranceListVO
>
>
getInsuranceList
(
InsuranceListParam
param
);
/**
* 投保办理分页查询
...
...
@@ -206,7 +206,7 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
* @param param 查询参数
* @return {@link List< InsuredListVo>}
*/
List
<
InsuredListVo
>
getInsuredList
(
InsuredParam
param
);
R
getInsuredList
(
InsuredParam
param
);
/**
* 已减员列表分页查询
...
...
@@ -225,7 +225,7 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
* @param param 查询参数
* @return {@link List< InsuranceRefundListVo >}
*/
List
<
InsuranceRefundListVo
>
getInsuranceRefundList
(
InsuranceRefundParam
param
);
R
getInsuranceRefundList
(
InsuranceRefundParam
param
);
/**
* 减员办理列表分页查询
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
9db9e5ef
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceEkpServiceImpl.java
View file @
9db9e5ef
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceEkpMapper.xml
View file @
9db9e5ef
...
...
@@ -32,6 +32,7 @@
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"pushTime"
column=
"PUSH_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"pushType"
column=
"PUSH_TYPE"
jdbcType=
"TINYINT"
/>
<result
property=
"settleType"
column=
"SETTLE_TYPE"
jdbcType=
"TINYINT"
/>
</resultMap>
...
...
@@ -44,7 +45,7 @@
POLICY_END,BUY_STANDARD,MEDICAL_QUOTA,
DIE_DISABLE_QUOTA,ACTUAL_PREMIUM,ESTIMATE_PREMIUM,
SETTLE_MONTH,INTERACTIVE_TYPE,RESEND_FLAG,
CREATE_TIME,PUSH_TIME,PUSH_TYPE
CREATE_TIME,PUSH_TIME,PUSH_TYPE
,SETTLE_TYPE
</sql>
<select
id=
"getEkpRefundList"
resultMap=
"BaseResultMap"
>
...
...
yifu-order/yifu-order-api/src/main/java/com/yifu/cloud/plus/v1/yifu/order/constants/OrderConstants.java
View file @
9db9e5ef
...
...
@@ -110,4 +110,8 @@ public class OrderConstants {
* 附件超出上传上限
*/
public
static
final
String
ENCLOSURE_SIZE_ERROR
=
"附件超出上传上限"
;
/**
* 一次性导出不可超过20000条,请分批导出
*/
public
static
final
String
EXPORT_TOO_LONG
=
"一次性导出不可超过20000条,请分批导出"
;
}
yifu-order/yifu-order-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/order/controller/OrderController.java
View file @
9db9e5ef
...
...
@@ -60,7 +60,7 @@ public class OrderController {
@GetMapping
(
"/getOrderList"
)
@PreAuthorize
(
"@pms.hasPermission('order:order_getOrderList')"
)
public
R
<
List
<
OrderListVO
>>
getOrderList
(
OrderListParam
param
)
{
return
R
.
ok
(
tOrderService
.
getOrderList
(
param
)
);
return
tOrderService
.
getOrderList
(
param
);
}
/**
...
...
yifu-order/yifu-order-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/order/service/TOrderService.java
View file @
9db9e5ef
...
...
@@ -34,9 +34,9 @@ public interface TOrderService extends IService<TOrder> {
*
* @author licancan
* @param param
* @return {@link
List<OrderListVO
>}
* @return {@link
R<List<OrderListVO>
>}
*/
List
<
OrderListVO
>
getOrderList
(
OrderListParam
param
);
R
<
List
<
OrderListVO
>
>
getOrderList
(
OrderListParam
param
);
/**
* 变更订单状态
...
...
yifu-order/yifu-order-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
View file @
9db9e5ef
...
...
@@ -83,7 +83,7 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
* @author licancan
*/
@Override
public
List
<
OrderListVO
>
getOrderList
(
OrderListParam
param
)
{
public
R
<
List
<
OrderListVO
>
>
getOrderList
(
OrderListParam
param
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
List
<
OrderListVO
>
list
;
if
(
CollectionUtils
.
isNotEmpty
(
param
.
getIdList
())){
...
...
@@ -91,7 +91,12 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
}
else
{
list
=
baseMapper
.
getOrderList
(
param
,
user
.
getUsername
());
}
return
list
;
if
(
CollectionUtils
.
isNotEmpty
(
list
)){
if
(
list
.
size
()
>
CommonConstants
.
EXPORT_TWENTY_THOUSAND
){
return
R
.
failed
(
OrderConstants
.
EXPORT_TOO_LONG
);
}
}
return
R
.
ok
(
list
);
}
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/IncomeExportVo.java
View file @
9db9e5ef
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
...
...
@@ -124,6 +125,7 @@ public class IncomeExportVo implements Serializable {
/**
* 数据生成时间
*/
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@NotBlank
(
message
=
"数据生成时间 不能为空"
)
@ExcelAttribute
(
name
=
"数据生成时间"
,
isNotEmpty
=
true
,
errorInfo
=
"数据生成时间 不能为空"
,
isDate
=
true
)
@Schema
(
description
=
"数据生成时间"
)
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
9db9e5ef
...
...
@@ -1868,7 +1868,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
// 五险派单 如果前面兼职工伤没派减 不可派增
flag
=
(
BigDecimalUtils
.
safeAdd
(
sf
.
getUnitPersionMoney
(),
sf
.
getUnitBigailmentMoney
(),
sf
.
getUnitBirthMoney
(),
sf
.
getUnitMedicalMoney
(),
sf
.
getUnitUnemploymentMoney
(),
sf
.
getUnitInjuryMoney
()).
compareTo
(
BigDecimalUtils
.
isNullToZero
(
sf
.
getUnitInjuryMoney
()))
==
0
)
sf
.
getUnitInjuryMoney
()).
compareTo
(
BigDecimalUtils
.
isNullToZero
(
sf
.
getUnitInjuryMoney
()))
==
0
&&
BigDecimalUtils
.
isNullToZero
(
sf
.
getUnitInjuryMoney
()).
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
&&
!(
CommonConstants
.
TEN_STRING
.
equals
(
sf
.
getSocialStatus
())
||
CommonConstants
.
THREE_STRING
.
equals
(
sf
.
getWorkInjuryHandle
())
||
CommonConstants
.
TWO_STRING
.
equals
(
sf
.
getWorkInjuryHandle
()));
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TForecastLibraryServiceImpl.java
View file @
9db9e5ef
...
...
@@ -2223,6 +2223,9 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
}
}
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
settleDomain
.
getSocialType
()))
{
continue
;
}
EkpPushSocialParam
socialParam
=
new
EkpPushSocialParam
();
//员工姓名
socialParam
.
setFd_3adfe8c79989d4
(
library
.
getEmpName
());
...
...
@@ -2451,6 +2454,9 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
}
}
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
settleDomain
.
getFundType
()))
{
continue
;
}
EkpPushFundParam
fundParam
=
new
EkpPushFundParam
();
//员工姓名
fundParam
.
setFd_3adfe8c79989d4
(
library
.
getEmpName
());
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
9db9e5ef
...
...
@@ -2381,8 +2381,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
//订单类型
socialParam
.
setFd_3add9dd7833db8
(
SocialConstants
.
DIFF_TYPE_THR
);
//是否有预估
if
(
Common
.
isNotNull
(
settleDomain
.
get
MrSettle
Type
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
settleDomain
.
get
MrSettle
Type
()))
{
if
(
Common
.
isNotNull
(
settleDomain
.
get
Social
Type
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
settleDomain
.
get
Social
Type
()))
{
socialParam
.
setFd_3add9de0be85e4
(
CommonConstants
.
IS_TRUE
);
}
else
{
socialParam
.
setFd_3add9de0be85e4
(
CommonConstants
.
IS_FALSE
);
...
...
@@ -2598,8 +2598,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
//订单类型
fundParam
.
setFd_3add9dd7833db8
(
SocialConstants
.
DIFF_TYPE_THR
);
//是否有预估
if
(
Common
.
isNotNull
(
settleDomain
.
get
MrSettle
Type
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
settleDomain
.
get
MrSettle
Type
()))
{
if
(
Common
.
isNotNull
(
settleDomain
.
get
Fund
Type
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
settleDomain
.
get
Fund
Type
()))
{
fundParam
.
setFd_3add9de0be85e4
(
CommonConstants
.
IS_TRUE
);
}
else
{
fundParam
.
setFd_3add9de0be85e4
(
CommonConstants
.
IS_FALSE
);
...
...
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