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
440a0861
Commit
440a0861
authored
Jan 27, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
见费出单逻辑-fxj
parent
16e5ddb4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
15 deletions
+39
-15
SocialDaprUtils.java
.../cloud/plus/v1/yifu/common/dapr/util/SocialDaprUtils.java
+10
-0
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+17
-15
TIncomeController.java
...oud/plus/v1/yifu/social/controller/TIncomeController.java
+12
-0
No files found.
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/SocialDaprUtils.java
View file @
440a0861
...
@@ -140,6 +140,16 @@ public class SocialDaprUtils {
...
@@ -140,6 +140,16 @@ public class SocialDaprUtils {
HttpDaprUtil
.
invokeMethodPost
(
daprProperties
.
getAppUrl
(),
daprProperties
.
getAppId
(),
"/tincomedetail/inner/deleteById"
,
JSON
.
toJSONString
(
infoVo
),
Object
.
class
,
SecurityConstants
.
FROM_IN
);
HttpDaprUtil
.
invokeMethodPost
(
daprProperties
.
getAppUrl
(),
daprProperties
.
getAppId
(),
"/tincomedetail/inner/deleteById"
,
JSON
.
toJSONString
(
infoVo
),
Object
.
class
,
SecurityConstants
.
FROM_IN
);
}
}
/**
* @Author huyc
* @Description 通过收入id收入数据
* @Date 2022/9/2
* @Param
* @return
**/
public
void
deleteIncomeById
(
TIncomeDetail
infoVo
)
{
HttpDaprUtil
.
invokeMethodPost
(
daprProperties
.
getAppUrl
(),
daprProperties
.
getAppId
(),
"/tincome/inner/deleteById"
,
JSON
.
toJSONString
(
infoVo
),
Object
.
class
,
SecurityConstants
.
FROM_IN
);
}
/**
/**
* @Author huyc
* @Author huyc
* @Description 更新结算信息
* @Description 更新结算信息
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
440a0861
...
@@ -400,6 +400,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -400,6 +400,8 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
LocalTime
currentTime
=
LocalTime
.
now
();
LocalTime
currentTime
=
LocalTime
.
now
();
R
<
TEmployeeInsuranceWorkDayVo
>
dataR
;
R
<
TEmployeeInsuranceWorkDayVo
>
dataR
;
if
(!
currentTime
.
isBefore
(
LocalTime
.
of
(
15
,
20
))
&&
!
currentTime
.
equals
(
LocalTime
.
of
(
15
,
20
)))
{
if
(!
currentTime
.
isBefore
(
LocalTime
.
of
(
15
,
20
))
&&
!
currentTime
.
equals
(
LocalTime
.
of
(
15
,
20
)))
{
preDispatchDate
=
DateUtil
.
addDayByDate
(
preDispatchDate
,
1
);
}
//日期赋值
//日期赋值
dayVo
=
new
TEmployeeInsuranceWorkDayVo
();
dayVo
=
new
TEmployeeInsuranceWorkDayVo
();
dayVo
.
setType
(
CommonConstants
.
TWO_STRING
);
dayVo
.
setType
(
CommonConstants
.
TWO_STRING
);
...
@@ -416,7 +418,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -416,7 +418,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
return
R
.
failed
(
"获取最近工作日异常:"
+
e
.
getMessage
());
return
R
.
failed
(
"获取最近工作日异常:"
+
e
.
getMessage
());
}
}
}
if
(
CollectionUtils
.
isNotEmpty
(
listSuccess
)){
if
(
CollectionUtils
.
isNotEmpty
(
listSuccess
)){
List
<
TInsuranceSettle
>
settleList
=
new
ArrayList
<>();
List
<
TInsuranceSettle
>
settleList
=
new
ArrayList
<>();
List
<
String
>
sourceIdCardList
=
new
ArrayList
<>();
List
<
String
>
sourceIdCardList
=
new
ArrayList
<>();
...
@@ -9741,6 +9742,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -9741,6 +9742,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
BigDecimal
sumMoney
=
BigDecimal
.
ZERO
;
BigDecimal
sumMoney
=
BigDecimal
.
ZERO
;
for
(
TIncomeDetail
income
:
incomeDetailList
)
{
for
(
TIncomeDetail
income
:
incomeDetailList
)
{
socialDaprUtils
.
deleteById
(
income
);
socialDaprUtils
.
deleteById
(
income
);
socialDaprUtils
.
deleteIncomeById
(
income
);
//删除管理费
//删除管理费
ekpSettleService
.
deleteEkpManagerInfo
(
income
.
getId
());
ekpSettleService
.
deleteEkpManagerInfo
(
income
.
getId
());
//删除风险金
//删除风险金
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TIncomeController.java
View file @
440a0861
...
@@ -242,4 +242,16 @@ public class TIncomeController {
...
@@ -242,4 +242,16 @@ public class TIncomeController {
public
Boolean
updateSocialSettleStatus
(
@RequestBody
List
<
EkpInsuranceViewVo
>
viewVo
)
{
public
Boolean
updateSocialSettleStatus
(
@RequestBody
List
<
EkpInsuranceViewVo
>
viewVo
)
{
return
tIncomeService
.
updateIncomeSettleStatus
(
viewVo
);
return
tIncomeService
.
updateIncomeSettleStatus
(
viewVo
);
}
}
/**
* 通过id删除收入明细表
*
* @param tIncomeDetail
* @return R
*/
@Inner
@PostMapping
(
"/deleteById"
)
public
void
deleteMainById
(
@RequestBody
TIncomeDetail
tIncomeDetail
)
{
tIncomeService
.
removeById
(
tIncomeDetail
.
getId
());
}
}
}
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