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
78893a8f
Commit
78893a8f
authored
Apr 23, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop'
parents
d111fd4e
f54c3cbb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
57 additions
and
7 deletions
+57
-7
ekpIncomeConfig.properties
...-common-ekp/src/main/resources/ekpIncomeConfig.properties
+2
-2
ekpOrderConfig.properties
...u-common-ekp/src/main/resources/ekpOrderConfig.properties
+2
-2
TSalaryAccountController.java
...s/v1/yifu/salary/controller/TSalaryAccountController.java
+14
-0
TSalaryStandardController.java
.../v1/yifu/salary/controller/TSalaryStandardController.java
+7
-2
TSalaryStandardService.java
...d/plus/v1/yifu/salary/service/TSalaryStandardService.java
+8
-0
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+22
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+2
-1
No files found.
yifu-common/yifu-common-ekp/src/main/resources/ekpIncomeConfig.properties
View file @
78893a8f
income.url
=
http://192.168.0.228:8080/api/sys-modeling/appModelRestService/addModel
#
income.url=http://36.7.147.19:28080/api/sys-modeling/appModelRestService/addModel
#
income.url=http://192.168.0.228:8080/api/sys-modeling/appModelRestService/addModel
income.url
=
http://36.7.147.19:28080/api/sys-modeling/appModelRestService/addModel
income.fdModelIdManage
=
181d76db26e419a88dba97b0c406689e
income.fdFlowIdManage
=
182d3b6e522b2690119e70d4ff082136
income.fdModelIdRisk
=
181d76db26e4112e14b9bb4274d06ba1
...
...
yifu-common/yifu-common-ekp/src/main/resources/ekpOrderConfig.properties
View file @
78893a8f
ekporder.url
=
http://192.168.0.228:8080/api/sys-modeling/appModelRestService/addModel
#
ekporder.url=http://36.7.147.19:28080/api/sys-modeling/appModelRestService/addModel
#
ekporder.url=http://192.168.0.228:8080/api/sys-modeling/appModelRestService/addModel
ekporder.url
=
http://36.7.147.19:28080/api/sys-modeling/appModelRestService/addModel
ekporder.orderFdModelId
=
182f1b7ffe2e96f975564e44e559847d
ekporder.orderFdFlowId
=
182f1c098ce991ca96bc927408792beb
ekporder.replyFdModelId
=
182f1bb35bb2156fb9a02904bc88dd8a
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryAccountController.java
View file @
78893a8f
...
...
@@ -42,6 +42,7 @@ import com.yifu.cloud.plus.v1.yifu.salary.service.TSalaryAccountItemService;
import
com.yifu.cloud.plus.v1.yifu.salary.service.TSalaryAccountService
;
import
com.yifu.cloud.plus.v1.yifu.salary.util.SalaryCommonUtil
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TSalaryAccountSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TSalaryAccountSumVo
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TSalaryDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.WageProofDto
;
import
io.swagger.v3.oas.annotations.Operation
;
...
...
@@ -411,5 +412,18 @@ public class TSalaryAccountController {
}
return
R
.
ok
(
tSalaryAccountService
.
allYearExport
(
tSalaryAccount
));
}
/**
* @param salaryId
* @Description: 提交时获取应发实发
* @Author: hgw
* @Date: 2023/4/18 16:30
**/
@Operation
(
description
=
"提交时获取应发实发"
)
@GetMapping
(
"/getAccountSumBySalaryId"
)
public
R
<
TSalaryAccountSumVo
>
getAccountSumBySalaryId
(
@RequestParam
String
salaryId
)
{
// 劳务费,应发取值为导表的金额,不是加了税的应发。2023-4-23 11:21:10 产品倩倩与客服沟通的结果
return
R
.
ok
(
tSalaryAccountService
.
getAccountSumBySalaryId
(
salaryId
));
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryStandardController.java
View file @
78893a8f
...
...
@@ -192,10 +192,15 @@ public class TSalaryStandardController {
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
!=
null
)
{
// 添加流程进展明细
tSalaryStandardService
.
saveRecordLog
(
s
,
user
,
CommonConstants
.
TWO_STRING
,
"提交
审核
"
);
tSalaryStandardService
.
saveRecordLog
(
s
,
user
,
CommonConstants
.
TWO_STRING
,
"提交
,并自动生成收入
"
);
tSalaryStandard
.
setSubmitTime
(
new
Date
());
tSalaryStandard
.
setStatus
(
CommonConstants
.
ONE_INT
);
tSalaryStandard
.
setStatus
(
CommonConstants
.
dingleDigitIntArray
[
11
]);
tSalaryStandard
.
setIncomeStartTime
(
new
Date
());
tSalaryStandardService
.
updateById
(
tSalaryStandard
);
tSalaryStandard
=
tSalaryStandardService
.
getById
(
tSalaryStandard
.
getId
());
// 生成收入
tSalaryStandardService
.
doIncome
(
tSalaryStandard
);
return
R
.
ok
(
"提交成功!"
);
}
else
{
return
R
.
failed
(
"请登录!"
);
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/TSalaryStandardService.java
View file @
78893a8f
...
...
@@ -125,4 +125,12 @@ public interface TSalaryStandardService extends IService<TSalaryStandard> {
**/
R
<
String
>
saveSalaryDiff
(
List
<
AccountByEkpDiffVo
>
voList
);
/**
* @Description: 提交后触发生成收入
* @Author: hgw
* @Date: 2023/4/18 16:44
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
R
<
String
>
doIncome
(
TSalaryStandard
tSalaryStandard
);
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
78893a8f
...
...
@@ -242,6 +242,28 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
}
@Override
public
R
<
String
>
doIncome
(
TSalaryStandard
tSalaryStandard
)
{
if
(
Common
.
isNotNull
(
tSalaryStandard
))
{
R
<
TSettleDomainSelectVo
>
sdr
=
HttpDaprUtil
.
invokeMethodPost
(
archivesProperties
.
getAppUrl
(),
archivesProperties
.
getAppId
()
,
"/tsettledomain/inner/getSettleDomainVoById"
,
tSalaryStandard
.
getDeptId
()
,
TSettleDomainSelectVo
.
class
,
SecurityConstants
.
FROM_IN
);
// 结算主体
TSettleDomainSelectVo
dept
;
if
(
sdr
!=
null
&&
sdr
.
getData
()
!=
null
)
{
dept
=
sdr
.
getData
();
}
else
{
return
R
.
failed
(
"获取项目信息失败,请联管理员!"
);
}
List
<
TSalaryAccount
>
salaryAccountList
=
salaryAccountService
.
getListByIncome
(
tSalaryStandard
.
getId
());
if
(
salaryAccountList
!=
null
&&
!
salaryAccountList
.
isEmpty
())
{
// 异步-收入相关
doSalaryAsync
.
doIncomeDetail
(
dept
,
salaryAccountList
,
tSalaryStandard
.
getId
(),
tSalaryStandard
);
}
}
return
R
.
ok
();
}
/**
* @Description: 删除
* @Author: hgw
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
78893a8f
...
...
@@ -2845,7 +2845,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
if
(
Common
.
isNotNull
(
excel
.
getFundReduceDate
())){
// 公积金状态:派增(0待审核、1待办理、3办理成功、4办理失败9 审核不通过)、派减(5待审核 6待办理 7 办理成功 8 办理失败 )
if
(
CommonConstants
.
THREE_STRING
.
equals
(
socialFund
.
getFundStatus
())){
if
(
CommonConstants
.
THREE_STRING
.
equals
(
socialFund
.
getFundStatus
())
||
CommonConstants
.
EIGHT_STRING
.
equals
(
socialFund
.
getFundStatus
())){
temp
.
append
(
DispatchConstants
.
DISPATCH_FUND
);
}
dispatch
.
setFundHandleStatus
(
CommonConstants
.
ZERO_STRING
);
...
...
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