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
e7a282da
Commit
e7a282da
authored
Jul 25, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社保-批量调基
parent
92e8b945
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
945 additions
and
473 deletions
+945
-473
TForecastLibrary.java
...fu/cloud/plus/v1/yifu/social/entity/TForecastLibrary.java
+0
-7
TSocialFundHistory.java
.../cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
+78
-120
TSocialFundInfo.java
...ifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
+1
-0
TSocialFundHistoryVo.java
...fu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
+11
-7
TForecastLibraryController.java
...v1/yifu/social/controller/TForecastLibraryController.java
+1
-1
TSocialFundInfoController.java
.../v1/yifu/social/controller/TSocialFundInfoController.java
+0
-2
SysBaseSetInfoService.java
...ud/plus/v1/yifu/social/service/SysBaseSetInfoService.java
+11
-0
TForecastLibraryService.java
.../plus/v1/yifu/social/service/TForecastLibraryService.java
+6
-7
SysBaseSetInfoServiceImpl.java
...1/yifu/social/service/impl/SysBaseSetInfoServiceImpl.java
+30
-0
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+247
-80
TSocialFundInfoServiceImpl.java
.../yifu/social/service/impl/TSocialFundInfoServiceImpl.java
+384
-28
SysBaseSetInfoMapper.xml
...al-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
+4
-0
TForecastLibraryMapper.xml
...-biz/src/main/resources/mapper/TForecastLibraryMapper.xml
+0
-5
TSocialFundHistoryMapper.xml
...iz/src/main/resources/mapper/TSocialFundHistoryMapper.xml
+172
-216
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TForecastLibrary.java
View file @
e7a282da
...
...
@@ -481,13 +481,6 @@ public class TForecastLibrary extends BaseEntity {
@Length
(
max
=
50
,
message
=
"公积金户不能超过50个字符"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHouseholdName
;
/**
* 公积金编号
*/
@ExcelAttribute
(
name
=
"公积金编号"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"公积金编号不能超过50个字符"
)
@ExcelProperty
(
"公积金编号"
)
private
String
providentNo
;
/**
* 数据同步:0未同步;1已同步
*/
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
View file @
e7a282da
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
View file @
e7a282da
...
...
@@ -460,6 +460,7 @@ public class TSocialFundInfo extends BaseEntity {
private
BigDecimal
unitBigailmentPer
;
/**
* 社保停缴日期
* 社保减少日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
View file @
e7a282da
...
...
@@ -42,13 +42,13 @@ public class TSocialFundHistoryVo extends RowIndex implements Serializable {
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
maxLength
=
20
,
needExport
=
true
,
errorInfo
=
"员工姓名必填且不可超过20位"
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
n
ame
;
private
String
empN
ame
;
@Length
(
max
=
20
,
message
=
"身份证号 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
maxLength
=
20
,
needExport
=
true
,
errorInfo
=
"身份证号必填且不可超过20位"
)
@Schema
(
description
=
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
private
String
idC
ard
;
private
String
empIdc
ard
;
@ExcelAttribute
(
name
=
"缴纳类型"
,
isNotEmpty
=
true
,
errorInfo
=
"缴纳类型必填"
,
readConverterExp
=
"0=最低缴纳,1=自定义缴纳,2=最高缴纳"
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
...
...
@@ -58,23 +58,27 @@ public class TSocialFundHistoryVo extends RowIndex implements Serializable {
@ExcelAttribute
(
name
=
"养老基数"
)
@Schema
(
description
=
"养老基数"
)
@ExcelProperty
(
"养老基数"
)
private
BigDecimal
unitPensionBase
;
private
BigDecimal
unitPensionCardinal
;
@ExcelAttribute
(
name
=
"医疗基数"
)
@Schema
(
description
=
"医疗基数"
)
@ExcelProperty
(
"医疗基数"
)
private
BigDecimal
unitMedicalBase
;
private
BigDecimal
unitMedicalCardinal
;
@ExcelAttribute
(
name
=
"失业基数"
)
@Schema
(
description
=
"失业基数"
)
@ExcelProperty
(
"失业基数"
)
private
BigDecimal
unitUnemploymentBase
;
private
BigDecimal
unitUnemploymentCardinal
;
@ExcelAttribute
(
name
=
"工伤基数"
)
@Schema
(
description
=
"工伤基数"
)
@ExcelProperty
(
"工伤基数"
)
private
BigDecimal
unitInjuryBase
;
private
BigDecimal
unitWorkInjuryCardinal
;
@ExcelAttribute
(
name
=
"生育基数"
)
@Schema
(
description
=
"生育基数"
)
@ExcelProperty
(
"生育基数"
)
private
BigDecimal
unitBirth
Base
;
private
BigDecimal
unitBirth
Cardinal
;
@ExcelAttribute
(
name
=
"单位大病救助金额"
)
@Schema
(
description
=
"单位大病救助金额"
)
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TForecastLibraryController.java
View file @
e7a282da
...
...
@@ -159,7 +159,7 @@ public class TForecastLibraryController {
@SysLog
(
"按缴纳月重新生成"
)
@PostMapping
(
"/createForecastlibary"
)
@PreAuthorize
(
"@pms.hasPermission('social_tforecastlibrary_create')"
)
public
R
<
Boolean
>
createForecastlibary
(
@RequestParam
String
payMonths
,
public
R
<
String
>
createForecastlibary
(
@RequestParam
String
payMonths
,
@RequestParam
(
value
=
"empIdCard"
,
required
=
false
)
String
empIdCard
,
@RequestParam
(
value
=
"settleDomainIds"
,
required
=
false
)
String
settleDomainIds
)
{
if
(
Common
.
isEmpty
(
empIdCard
)
&&
Common
.
isEmpty
(
settleDomainIds
))
{
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialFundInfoController.java
View file @
e7a282da
...
...
@@ -27,11 +27,9 @@ import com.yifu.cloud.plus.v1.yifu.social.service.TSocialFundInfoService;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/SysBaseSetInfoService.java
View file @
e7a282da
...
...
@@ -23,6 +23,8 @@ import com.baomidou.mybatisplus.extension.service.IService;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysBaseSetInfo
;
import
java.util.Map
;
/**
* 基数设置表
*
...
...
@@ -56,4 +58,13 @@ public interface SysBaseSetInfoService extends IService<SysBaseSetInfo> {
**/
R
<
String
>
updateSysBase
(
SysBaseSetInfo
sysBaseSetInfo
);
/**
* @param
* @Description: 获取社保基数配置的Map
* @Author: hgw
* @Date: 2020/10/27 16:44
* @return: java.util.Map<java.lang.String, com.yifu.cloud.v1.hrms.api.entity.SysBaseSetInfo>
**/
Map
<
String
,
SysBaseSetInfo
>
getSysBaseSetInfoMap
(
String
baseType
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TForecastLibraryService.java
View file @
e7a282da
...
...
@@ -57,16 +57,15 @@ public interface TForecastLibraryService extends IService<TForecastLibrary> {
* @Date: 2022/7/18 17:11
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.Boolean>
**/
R
<
Boolean
>
createForecastlibary
(
String
payMonths
,
String
empIdCard
,
String
settleDomainIds
);
R
<
String
>
createForecastlibary
(
String
payMonths
,
String
empIdCard
,
String
settleDomainIds
);
/**
* @Description: 填充预估实际金额
* @param socialFundInfo
* @Description: 批量调基,同步预估库
* @Author: hgw
* @Date: 202
0/10/10 16:45
* @return:
com.yifu.cloud.v1.hrms.api.entity.TForecastLibrary
* @Date: 202
2/7/25 17:33
* @return:
void
**/
TForecastLibrary
initForecastLibrary
(
TForecastLibrary
library
,
TSocialFundInfo
socialInfo
,
TSocialFundInfo
fund
,
Integer
month
,
boolean
isReduceFund
,
boolean
isReduceSocial
,
HashMap
<
String
,
TAgentConfig
>
agentConfigMap
);
R
<
String
>
updateToneForecastLibary
(
TSocialFundInfo
socialFundInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysBaseSetInfoServiceImpl.java
View file @
e7a282da
...
...
@@ -34,8 +34,11 @@ import com.yifu.cloud.plus.v1.yifu.social.service.TSocialLogService;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 基数设置表
...
...
@@ -261,4 +264,31 @@ public class SysBaseSetInfoServiceImpl extends ServiceImpl<SysBaseSetInfoMapper,
}
}
}
@Override
public
Map
<
String
,
SysBaseSetInfo
>
getSysBaseSetInfoMap
(
String
baseType
)
{
// 基数配置
SysBaseSetInfo
sysBaseSetInfo
=
new
SysBaseSetInfo
();
sysBaseSetInfo
.
setBaseType
(
baseType
);
sysBaseSetInfo
.
setDeleteFlag
(
CommonConstants
.
STATUS_NORMAL
);
sysBaseSetInfo
.
setStatus
(
CommonConstants
.
ZERO_INT
);
sysBaseSetInfo
.
setApplyStartDate
(
new
Date
());
// 查询符合条件的基数列表
List
<
SysBaseSetInfo
>
sysBaseSetInfoList
=
baseMapper
.
getSysBaseSetInfoNoPage
(
sysBaseSetInfo
);
// 返回的map
Map
<
String
,
SysBaseSetInfo
>
setInfoMap
=
new
HashMap
<>();
if
(
sysBaseSetInfoList
!=
null
&&
!
sysBaseSetInfoList
.
isEmpty
())
{
// map的键
String
key
;
for
(
SysBaseSetInfo
setInfo
:
sysBaseSetInfoList
)
{
key
=
setInfo
.
getDepartId
()
+
CommonConstants
.
DOWN_LINE_STRING
+
setInfo
.
getProvince
()
+
CommonConstants
.
DOWN_LINE_STRING
+
setInfo
.
getCity
();
if
(
setInfo
.
getTown
()
!=
null
)
{
key
+=
CommonConstants
.
DOWN_LINE_STRING
+
setInfo
.
getTown
();
}
setInfoMap
.
put
(
key
,
setInfo
);
}
}
return
setInfoMap
;
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TForecastLibraryServiceImpl.java
View file @
e7a282da
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFundInfoServiceImpl.java
View file @
e7a282da
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
View file @
e7a282da
...
...
@@ -161,6 +161,10 @@
<if
test=
"sysBaseSetInfo.applyStartDate != null"
>
AND a.APPLY_START_DATE = #{sysBaseSetInfo.applyStartDate}
</if>
<if
test=
"sysBaseSetInfo.applyStartDate != null"
>
AND a.APPLY_START_DATE
<![CDATA[ <= ]]>
#{sysBaseSetInfo.applyStartDate}
AND (a.APPLY_END_DATE is null or a.APPLY_END_DATE
<![CDATA[ >= ]]>
#{sysBaseSetInfo.applyStartDate})
</if>
<if
test=
"sysBaseSetInfo.applyEndDate != null"
>
AND a.APPLY_END_DATE = #{sysBaseSetInfo.applyEndDate}
</if>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TForecastLibraryMapper.xml
View file @
e7a282da
...
...
@@ -92,7 +92,6 @@
<result
property=
"socialHouseholdName"
column=
"SOCIAL_HOUSEHOLD_NAME"
/>
<result
property=
"providentHousehold"
column=
"PROVIDENT_HOUSEHOLD"
/>
<result
property=
"providentHouseholdName"
column=
"PROVIDENT_HOUSEHOLD_NAME"
/>
<result
property=
"providentNo"
column=
"PROVIDENT_NO"
/>
<result
property=
"dataPush"
column=
"DATA_PUSH"
/>
<result
property=
"dataType"
column=
"DATA_TYPE"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
...
...
@@ -170,7 +169,6 @@
a.SOCIAL_HOUSEHOLD_NAME,
a.PROVIDENT_HOUSEHOLD,
a.PROVIDENT_HOUSEHOLD_NAME,
a.PROVIDENT_NO,
a.DATA_PUSH,
a.DATA_TYPE,
a.CREATE_BY,
...
...
@@ -391,9 +389,6 @@
<if
test=
"tForecastLibrary.providentHouseholdName != null and tForecastLibrary.providentHouseholdName.trim() != ''"
>
AND a.PROVIDENT_HOUSEHOLD_NAME = #{tForecastLibrary.providentHouseholdName}
</if>
<if
test=
"tForecastLibrary.providentNo != null and tForecastLibrary.providentNo.trim() != ''"
>
AND a.PROVIDENT_NO = #{tForecastLibrary.providentNo}
</if>
<if
test=
"tForecastLibrary.dataPush != null"
>
AND a.DATA_PUSH = #{tForecastLibrary.dataPush}
</if>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundHistoryMapper.xml
View file @
e7a282da
...
...
@@ -25,19 +25,16 @@
<resultMap
id=
"tSocialFundHistoryMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundHistory"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"name"
column=
"NAME"
/>
<result
property=
"idCard"
column=
"ID_CARD"
/>
<result
property=
"employeeId"
column=
"EMPLOYEE_ID"
/>
<result
property=
"unitPensionBase"
column=
"UNIT_PENSION_BASE"
/>
<result
property=
"unitMedicalBase"
column=
"UNIT_MEDICAL_BASE"
/>
<result
property=
"unitUnemploymentBase"
column=
"UNIT_UNEMPLOYMENT_BASE"
/>
<result
property=
"unitInjuryBase"
column=
"UNIT_INJURY_BASE"
/>
<result
property=
"unitBirthBase"
column=
"UNIT_BIRTH_BASE"
/>
<result
property=
"unitBigailmentBase"
column=
"UNIT_BIGAILMENT_BASE"
/>
<result
property=
"personalPensionBase"
column=
"PERSONAL_PENSION_BASE"
/>
<result
property=
"personalMedicalBase"
column=
"PERSONAL_MEDICAL_BASE"
/>
<result
property=
"personalUnemploymentBase"
column=
"PERSONAL_UNEMPLOYMENT_BASE"
/>
<result
property=
"personalBigailmentBase"
column=
"PERSONAL_BIGAILMENT_BASE"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"ID_CARD"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"unitPensionCardinal"
column=
"UNIT_PENSION_CARDINAL"
/>
<result
property=
"unitMedicalCardinal"
column=
"UNIT_MEDICAL_CARDINAL"
/>
<result
property=
"unitUnemploymentCardinal"
column=
"UNIT_UNEMPLOYMENT_CARDINAL"
/>
<result
property=
"unitWorkInjuryCardinal"
column=
"UNIT_WORK_INJURY_CARDINAL"
/>
<result
property=
"unitBirthCardinal"
column=
"UNIT_BIRTH_CARDINAL"
/>
<result
property=
"unitBigailmentCardinal"
column=
"UNIT_BIGAILMENT_CARDINAL"
/>
<result
property=
"unitPersionPro"
column=
"UNIT_PERSION_PRO"
/>
<result
property=
"unitPersionMoney"
column=
"UNIT_PERSION_MONEY"
/>
<result
property=
"unitMedicalPro"
column=
"UNIT_MEDICAL_PRO"
/>
...
...
@@ -64,12 +61,10 @@
<result
property=
"personalFundProp"
column=
"PERSONAL_FUND_PROP"
/>
<result
property=
"unitFundMoney"
column=
"UNIT_FUND_MONEY"
/>
<result
property=
"personalFundMoney"
column=
"PERSONAL_FUND_MONEY"
/>
<result
property=
"isOld"
column=
"IS_OLD"
/>
<result
property=
"paymentType"
column=
"PAYMENT_TYPE"
/>
<result
property=
"isSocial"
column=
"IS_SOCIAL"
/>
<result
property=
"isFund"
column=
"IS_FUND"
/>
<result
property=
"socialId"
column=
"SOCIAL_ID"
/>
<result
property=
"fundId"
column=
"FUND_ID"
/>
<result
property=
"socialFundId"
column=
"SOCIAL_FUND_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
...
...
@@ -77,19 +72,17 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.NAME,
a.ID_CARD,
a.EMPLOYEE_ID,
a.UNIT_PENSION_BASE,
a.UNIT_MEDICAL_BASE,
a.UNIT_UNEMPLOYMENT_BASE,
a.UNIT_INJURY_BASE,
a.UNIT_BIRTH_BASE,
a.UNIT_BIGAILMENT_BASE,
a.PERSONAL_PENSION_BASE,
a.PERSONAL_MEDICAL_BASE,
a.PERSONAL_UNEMPLOYMENT_BASE,
a.PERSONAL_BIGAILMENT_BASE,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_ID,
a.UNIT_PENSION_CARDINAL,
a.UNIT_MEDICAL_CARDINAL,
a.UNIT_UNEMPLOYMENT_CARDINAL,
a.UNIT_WORK_INJURY_CARDINAL,
a.UNIT_BIRTH_CARDINAL,
a.UNIT_BIGAILMENT_CARDINAL,
a.UNIT_PERSION_PRO,
a.UNIT_PERSION_MONEY,
a.UNIT_MEDICAL_PRO,
...
...
@@ -116,12 +109,10 @@
a.PERSONAL_FUND_PROP,
a.UNIT_FUND_MONEY,
a.PERSONAL_FUND_MONEY,
a.IS_OLD,
a.PAYMENT_TYPE,
a.IS_SOCIAL,
a.IS_FUND,
a.SOCIAL_ID,
a.FUND_ID,
a.SOCIAL_FUND_ID,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
...
...
@@ -132,45 +123,16 @@
<if
test=
"tSocialFundHistory.id != null and tSocialFundHistory.id.trim() != ''"
>
AND a.ID = #{tSocialFundHistory.id}
</if>
<if
test=
"tSocialFundHistory.name != null and tSocialFundHistory.name.trim() != ''"
>
AND a.NAME = #{tSocialFundHistory.name}
</if>
<if
test=
"tSocialFundHistory.idCard != null and tSocialFundHistory.idCard.trim() != ''"
>
AND a.ID_CARD = #{tSocialFundHistory.idCard}
</if>
<if
test=
"tSocialFundHistory.employeeId != null and tSocialFundHistory.employeeId.trim() != ''"
>
AND a.EMPLOYEE_ID = #{tSocialFundHistory.employeeId}
</if>
<if
test=
"tSocialFundHistory.unitPensionBase != null"
>
AND a.UNIT_PENSION_BASE = #{tSocialFundHistory.unitPensionBase}
</if>
<if
test=
"tSocialFundHistory.unitMedicalBase != null"
>
AND a.UNIT_MEDICAL_BASE = #{tSocialFundHistory.unitMedicalBase}
</if>
<if
test=
"tSocialFundHistory.unitUnemploymentBase != null"
>
AND a.UNIT_UNEMPLOYMENT_BASE = #{tSocialFundHistory.unitUnemploymentBase}
<if
test=
"tSocialFundHistory.empName != null and tSocialFundHistory.empName.trim() != ''"
>
AND a.EMP_NAME = #{tSocialFundHistory.empName}
</if>
<if
test=
"tSocialFundHistory.unitInjuryBase != null
"
>
AND a.UNIT_INJURY_BASE = #{tSocialFundHistory.unitInjuryBase
}
<if
test=
"tSocialFundHistory.empIdcard != null and tSocialFundHistory.empIdcard.trim() != ''
"
>
AND a.EMP_IDCARD = #{tSocialFundHistory.empIdcard
}
</if>
<if
test=
"tSocialFundHistory.unitBirthBase != null"
>
AND a.UNIT_BIRTH_BASE = #{tSocialFundHistory.unitBirthBase}
</if>
<if
test=
"tSocialFundHistory.unitBigailmentBase != null"
>
AND a.UNIT_BIGAILMENT_BASE = #{tSocialFundHistory.unitBigailmentBase}
</if>
<if
test=
"tSocialFundHistory.personalPensionBase != null"
>
AND a.PERSONAL_PENSION_BASE = #{tSocialFundHistory.personalPensionBase}
</if>
<if
test=
"tSocialFundHistory.personalMedicalBase != null"
>
AND a.PERSONAL_MEDICAL_BASE = #{tSocialFundHistory.personalMedicalBase}
</if>
<if
test=
"tSocialFundHistory.personalUnemploymentBase != null"
>
AND a.PERSONAL_UNEMPLOYMENT_BASE = #{tSocialFundHistory.personalUnemploymentBase}
</if>
<if
test=
"tSocialFundHistory.personalBigailmentBase != null"
>
AND a.PERSONAL_BIGAILMENT_BASE = #{tSocialFundHistory.personalBigailmentBase}
<if
test=
"tSocialFundHistory.empId != null and tSocialFundHistory.empId.trim() != ''"
>
AND a.EMP_ID = #{tSocialFundHistory.empId}
</if>
<if
test=
"tSocialFundHistory.unitPersionPro != null"
>
AND a.UNIT_PERSION_PRO = #{tSocialFundHistory.unitPersionPro}
</if>
...
...
@@ -249,9 +211,6 @@
<if
test=
"tSocialFundHistory.personalFundMoney != null"
>
AND a.PERSONAL_FUND_MONEY = #{tSocialFundHistory.personalFundMoney}
</if>
<if
test=
"tSocialFundHistory.isOld != null"
>
AND a.IS_OLD = #{tSocialFundHistory.isOld}
</if>
<if
test=
"tSocialFundHistory.paymentType != null"
>
AND a.PAYMENT_TYPE = #{tSocialFundHistory.paymentType}
</if>
...
...
@@ -261,11 +220,8 @@
<if
test=
"tSocialFundHistory.isFund != null"
>
AND a.IS_FUND = #{tSocialFundHistory.isFund}
</if>
<if
test=
"tSocialFundHistory.socialId != null and tSocialFundHistory.socialId.trim() != ''"
>
AND a.SOCIAL_ID = #{tSocialFundHistory.socialId}
</if>
<if
test=
"tSocialFundHistory.fundId != null and tSocialFundHistory.fundId.trim() != ''"
>
AND a.FUND_ID = #{tSocialFundHistory.fundId}
<if
test=
"tSocialFundHistory.socialFundId != null and tSocialFundHistory.socialFundId.trim() != ''"
>
AND a.SOCIAL_FUND_ID = #{tSocialFundHistory.socialFundId}
</if>
<if
test=
"tSocialFundHistory.createBy != null and tSocialFundHistory.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tSocialFundHistory.createBy}
...
...
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