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
332b68d8
Commit
332b68d8
authored
Nov 07, 2022
by
李灿灿
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature-licancan
parents
5843ddff
8668b87d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
174 additions
and
65 deletions
+174
-65
TEmployeeContractInfoMapper.xml
...src/main/resources/mapper/TEmployeeContractInfoMapper.xml
+2
-2
TEmployeeInfoMapper.xml
...ves-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
+1
-1
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+4
-4
YFSocialImportThreadPoolExecutor.java
...ncurrent/threadpool/YFSocialImportThreadPoolExecutor.java
+2
-2
TPaymentInfoController.java
...lus/v1/yifu/social/controller/TPaymentInfoController.java
+1
-1
TPaymentInfoService.java
...loud/plus/v1/yifu/social/service/TPaymentInfoService.java
+1
-1
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+149
-40
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+8
-8
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+4
-4
TSocialFundInfoMapper.xml
...l-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
+2
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml
View file @
332b68d8
...
@@ -247,10 +247,10 @@
...
@@ -247,10 +247,10 @@
AND a.EMP_ID = #{tEmployeeContractInfo.empId}
AND a.EMP_ID = #{tEmployeeContractInfo.empId}
</if>
</if>
<if
test=
"tEmployeeContractInfo.empName != null and tEmployeeContractInfo.empName.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.empName != null and tEmployeeContractInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tEmployeeContractInfo.empName}
AND a.EMP_NAME
like concat('%',#{tEmployeeContractInfo.empName},'%')
</if>
</if>
<if
test=
"tEmployeeContractInfo.empIdcard != null and tEmployeeContractInfo.empIdcard.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.empIdcard != null and tEmployeeContractInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tEmployeeContractInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tEmployeeContractInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tEmployeeContractInfo.contractName != null and tEmployeeContractInfo.contractName.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.contractName != null and tEmployeeContractInfo.contractName.trim() != ''"
>
AND a.CONTRACT_NAME = #{tEmployeeContractInfo.contractName}
AND a.CONTRACT_NAME = #{tEmployeeContractInfo.contractName}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
View file @
332b68d8
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
AND a.EMP_NAME like concat('%',#{tEmployeeInfo.empName},'%')
AND a.EMP_NAME like concat('%',#{tEmployeeInfo.empName},'%')
</if>
</if>
<if
test=
"tEmployeeInfo.empIdcard != null and tEmployeeInfo.empIdcard.trim() != ''"
>
<if
test=
"tEmployeeInfo.empIdcard != null and tEmployeeInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tEmployeeInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tEmployeeInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tEmployeeInfo.nameOrIdcard != null and tEmployeeInfo.nameOrIdcard.trim() != ''"
>
<if
test=
"tEmployeeInfo.nameOrIdcard != null and tEmployeeInfo.nameOrIdcard.trim() != ''"
>
AND (
AND (
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
332b68d8
...
@@ -246,10 +246,10 @@
...
@@ -246,10 +246,10 @@
AND a.EMP_NATRUE in (${tEmployeeProject.empNatrue})
AND a.EMP_NATRUE in (${tEmployeeProject.empNatrue})
</if>
</if>
<if
test=
"tEmployeeProject.empName != null and tEmployeeProject.empName.trim() != ''"
>
<if
test=
"tEmployeeProject.empName != null and tEmployeeProject.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tEmployeeProject.empName}
AND a.EMP_NAME
like concat('%',#{tEmployeeProject.empName},'%')
</if>
</if>
<if
test=
"tEmployeeProject.empIdcard != null and tEmployeeProject.empIdcard.trim() != ''"
>
<if
test=
"tEmployeeProject.empIdcard != null and tEmployeeProject.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tEmployeeProject.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tEmployeeProject.empIdcard},'%')
</if>
</if>
<if
test=
"tEmployeeProject.bankName != null and tEmployeeProject.bankName.trim() != ''"
>
<if
test=
"tEmployeeProject.bankName != null and tEmployeeProject.bankName.trim() != ''"
>
AND a.BANK_NAME = #{tEmployeeProject.bankName}
AND a.BANK_NAME = #{tEmployeeProject.bankName}
...
@@ -430,10 +430,10 @@
...
@@ -430,10 +430,10 @@
AND a.EMP_NATRUE in (${tEmployeeProject.empNatrue})
AND a.EMP_NATRUE in (${tEmployeeProject.empNatrue})
</if>
</if>
<if
test=
"tEmployeeProject.empName != null and tEmployeeProject.empName.trim() != ''"
>
<if
test=
"tEmployeeProject.empName != null and tEmployeeProject.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tEmployeeProject.empName}
AND a.EMP_NAME
like concat('%',#{tEmployeeProject.empName},'%')
</if>
</if>
<if
test=
"tEmployeeProject.empIdcard != null and tEmployeeProject.empIdcard.trim() != ''"
>
<if
test=
"tEmployeeProject.empIdcard != null and tEmployeeProject.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tEmployeeProject.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tEmployeeProject.empIdcard},'%')
</if>
</if>
<if
test=
"tEmployeeProject.bankName != null and tEmployeeProject.bankName.trim() != ''"
>
<if
test=
"tEmployeeProject.bankName != null and tEmployeeProject.bankName.trim() != ''"
>
AND a.BANK_NAME = #{tEmployeeProject.bankName}
AND a.BANK_NAME = #{tEmployeeProject.bankName}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/concurrent/threadpool/YFSocialImportThreadPoolExecutor.java
View file @
332b68d8
...
@@ -13,8 +13,8 @@ import java.util.concurrent.TimeUnit;
...
@@ -13,8 +13,8 @@ import java.util.concurrent.TimeUnit;
public
class
YFSocialImportThreadPoolExecutor
extends
ThreadPoolExecutor
{
public
class
YFSocialImportThreadPoolExecutor
extends
ThreadPoolExecutor
{
private
static
final
int
CORE_POOL_SIZE
=
8
;
private
static
final
int
CORE_POOL_SIZE
=
30
;
private
static
final
int
MAX_POOL_SIZE
=
12
;
private
static
final
int
MAX_POOL_SIZE
=
30
;
private
static
final
long
KEEP_ALIVE_TIME
=
15
;
private
static
final
long
KEEP_ALIVE_TIME
=
15
;
private
static
final
int
CAPACITY
=
1024
;
private
static
final
int
CAPACITY
=
1024
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TPaymentInfoController.java
View file @
332b68d8
...
@@ -149,7 +149,7 @@ public class TPaymentInfoController {
...
@@ -149,7 +149,7 @@ public class TPaymentInfoController {
@PostMapping
(
"/importListAdd"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpaymentinfo_batchImport')"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpaymentinfo_batchImport')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
,
@RequestParam
String
random
)
{
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
,
@RequestParam
String
random
)
{
return
tPaymentInfoService
.
importSocialDiy
(
file
.
getInputStream
()
,
random
);
return
tPaymentInfoService
.
importSocialDiy
(
file
.
getInputStream
());
}
}
/**
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TPaymentInfoService.java
View file @
332b68d8
...
@@ -49,7 +49,7 @@ public interface TPaymentInfoService extends IService<TPaymentInfo> {
...
@@ -49,7 +49,7 @@ public interface TPaymentInfoService extends IService<TPaymentInfo> {
* @param inputStream
* @param inputStream
* @return
* @return
*/
*/
R
<
List
<
ErrorMessage
>>
importSocialDiy
(
InputStream
inputStream
,
String
random
);
R
<
List
<
ErrorMessage
>>
importSocialDiy
(
InputStream
inputStream
);
/**
/**
* 批量新增缴费库-合肥三险
* 批量新增缴费库-合肥三险
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
332b68d8
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
332b68d8
...
@@ -279,13 +279,13 @@
...
@@ -279,13 +279,13 @@
AND a.EMP_ID = #{tDispatchInfo.empId}
AND a.EMP_ID = #{tDispatchInfo.empId}
</if>
</if>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tDispatchInfo.empName}
AND a.EMP_NAME
like concat('%',#{tDispatchInfo.empName},'%')
</if>
</if>
<if
test=
"tDispatchInfo.empNo != null and tDispatchInfo.empNo.trim() != ''"
>
<if
test=
"tDispatchInfo.empNo != null and tDispatchInfo.empNo.trim() != ''"
>
AND a.EMP_NO = #{tDispatchInfo.empNo}
AND a.EMP_NO = #{tDispatchInfo.empNo}
</if>
</if>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tDispatchInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tDispatchInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tDispatchInfo.empType != null and tDispatchInfo.empType.trim() != ''"
>
<if
test=
"tDispatchInfo.empType != null and tDispatchInfo.empType.trim() != ''"
>
AND a.EMP_TYPE = #{tDispatchInfo.empType}
AND a.EMP_TYPE = #{tDispatchInfo.empType}
...
@@ -485,10 +485,10 @@
...
@@ -485,10 +485,10 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tDispatchInfo.empName}
AND a.EMP_NAME
like concat('%',#{tDispatchInfo.empName},'%')
</if>
</if>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tDispatchInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tDispatchInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tDispatchInfo.settleDomainName != null and tDispatchInfo.settleDomainName.trim() != ''"
>
<if
test=
"tDispatchInfo.settleDomainName != null and tDispatchInfo.settleDomainName.trim() != ''"
>
AND a.SETTLE_DOMAIN_NAME like CONCAT(#{tDispatchInfo.settleDomainName}, '%')
AND a.SETTLE_DOMAIN_NAME like CONCAT(#{tDispatchInfo.settleDomainName}, '%')
...
@@ -917,10 +917,10 @@
...
@@ -917,10 +917,10 @@
</if>
</if>
</if>
</if>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tDispatchInfo.empName}
AND a.EMP_NAME
like concat('%',#{tDispatchInfo.empName},'%')
</if>
</if>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tDispatchInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tDispatchInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tDispatchInfo.status != null and tDispatchInfo.status.trim() != ''"
>
<if
test=
"tDispatchInfo.status != null and tDispatchInfo.status.trim() != ''"
>
AND a.STATUS = #{tDispatchInfo.status}
AND a.STATUS = #{tDispatchInfo.status}
...
@@ -1030,10 +1030,10 @@
...
@@ -1030,10 +1030,10 @@
AND a.FUND_TOWN = #{tDispatchInfo.fundTown}
AND a.FUND_TOWN = #{tDispatchInfo.fundTown}
</if>
</if>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tDispatchInfo.empName}
AND a.EMP_NAME
like concat('%',#{tDispatchInfo.empName},'%')
</if>
</if>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tDispatchInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tDispatchInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tDispatchInfo.status != null and tDispatchInfo.status.trim() != ''"
>
<if
test=
"tDispatchInfo.status != null and tDispatchInfo.status.trim() != ''"
>
AND a.STATUS = #{tDispatchInfo.status}
AND a.STATUS = #{tDispatchInfo.status}
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
332b68d8
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
AND a.ID = #{tPaymentInfo.id}
AND a.ID = #{tPaymentInfo.id}
</if>
</if>
<if
test=
"tPaymentInfo.empName != null and tPaymentInfo.empName.trim() != ''"
>
<if
test=
"tPaymentInfo.empName != null and tPaymentInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tPaymentInfo.empName}
AND a.EMP_NAME
like concat('%',#{tPaymentInfo.empName},'%')
</if>
</if>
<if
test=
"tPaymentInfo.empNo != null and tPaymentInfo.empNo.trim() != ''"
>
<if
test=
"tPaymentInfo.empNo != null and tPaymentInfo.empNo.trim() != ''"
>
AND a.EMP_NO like CONCAT(#{tPaymentInfo.empNo},'%')
AND a.EMP_NO like CONCAT(#{tPaymentInfo.empNo},'%')
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
AND a.EMP_ID = #{tPaymentInfo.empId}
AND a.EMP_ID = #{tPaymentInfo.empId}
</if>
</if>
<if
test=
"tPaymentInfo.empIdcard != null and tPaymentInfo.empIdcard.trim() != ''"
>
<if
test=
"tPaymentInfo.empIdcard != null and tPaymentInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tPaymentInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tPaymentInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tPaymentInfo.unitId != null and tPaymentInfo.unitId.trim() != ''"
>
<if
test=
"tPaymentInfo.unitId != null and tPaymentInfo.unitId.trim() != ''"
>
AND a.UNIT_ID = #{tPaymentInfo.unitId}
AND a.UNIT_ID = #{tPaymentInfo.unitId}
...
@@ -471,13 +471,13 @@
...
@@ -471,13 +471,13 @@
AND a.ID = #{tPaymentInfo.id}
AND a.ID = #{tPaymentInfo.id}
</if>
</if>
<if
test=
"tPaymentInfo.empName != null and tPaymentInfo.empName.trim() != ''"
>
<if
test=
"tPaymentInfo.empName != null and tPaymentInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tPaymentInfo.empName}
AND a.EMP_NAME
like concat('%',#{tPaymentInfo.empName},'%')
</if>
</if>
<if
test=
"tPaymentInfo.empNo != null and tPaymentInfo.empNo.trim() != ''"
>
<if
test=
"tPaymentInfo.empNo != null and tPaymentInfo.empNo.trim() != ''"
>
AND a.EMP_NO like CONCAT(#{tPaymentInfo.empNo},'%')
AND a.EMP_NO like CONCAT(#{tPaymentInfo.empNo},'%')
</if>
</if>
<if
test=
"tPaymentInfo.empIdcard != null and tPaymentInfo.empIdcard.trim() != ''"
>
<if
test=
"tPaymentInfo.empIdcard != null and tPaymentInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tPaymentInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tPaymentInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tPaymentInfo.settleDomainName != null and tPaymentInfo.settleDomainName.trim() != ''"
>
<if
test=
"tPaymentInfo.settleDomainName != null and tPaymentInfo.settleDomainName.trim() != ''"
>
AND a.SETTLE_DOMAIN_NAME = #{tPaymentInfo.settleDomainName}
AND a.SETTLE_DOMAIN_NAME = #{tPaymentInfo.settleDomainName}
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
View file @
332b68d8
...
@@ -546,10 +546,10 @@
...
@@ -546,10 +546,10 @@
AND a.EMP_NO = #{tSocialFundInfo.empNo}
AND a.EMP_NO = #{tSocialFundInfo.empNo}
</if>
</if>
<if
test=
"tSocialFundInfo.empName != null and tSocialFundInfo.empName.trim() != ''"
>
<if
test=
"tSocialFundInfo.empName != null and tSocialFundInfo.empName.trim() != ''"
>
AND a.EMP_NAME
= #{tSocialFundInfo.empName}
AND a.EMP_NAME
like concat('%',#{tSocialFundInfo.empName},'%')
</if>
</if>
<if
test=
"tSocialFundInfo.empIdcard != null and tSocialFundInfo.empIdcard.trim() != ''"
>
<if
test=
"tSocialFundInfo.empIdcard != null and tSocialFundInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD
= #{tSocialFundInfo.empIdcard}
AND a.EMP_IDCARD
like concat('%',#{tSocialFundInfo.empIdcard},'%')
</if>
</if>
<if
test=
"tSocialFundInfo.empType != null and tSocialFundInfo.empType.trim() != ''"
>
<if
test=
"tSocialFundInfo.empType != null and tSocialFundInfo.empType.trim() != ''"
>
AND a.EMP_TYPE = #{tSocialFundInfo.empType}
AND a.EMP_TYPE = #{tSocialFundInfo.empType}
...
...
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