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
1495b2be
Commit
1495b2be
authored
Dec 17, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
1820f7f1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
THouseHoldLimitController.java
.../v1/yifu/social/controller/THouseHoldLimitController.java
+1
-1
THouseHoldLimitService.java
...d/plus/v1/yifu/social/service/THouseHoldLimitService.java
+1
-1
THouseHoldLimitServiceImpl.java
.../yifu/social/service/impl/THouseHoldLimitServiceImpl.java
+6
-6
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/THouseHoldLimitController.java
View file @
1495b2be
...
...
@@ -107,7 +107,7 @@ public class THouseHoldLimitController {
@Operation
(
summary
=
"获取派单发起时间"
,
description
=
"获取派单发起时间"
)
@PostMapping
(
"/getConfirmDate"
)
public
R
<
String
>
getConfirmDate
(
@RequestBody
BaseSearchVO
paramVo
)
{
return
R
.
ok
(
tHouseHoldLimitService
.
getConfirmDate
(
paramVo
)
);
return
tHouseHoldLimitService
.
getConfirmDate
(
paramVo
);
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/THouseHoldLimitService.java
View file @
1495b2be
...
...
@@ -55,5 +55,5 @@ public interface THouseHoldLimitService extends IService<THouseHoldLimit> {
THouseHoldLimitInnerVo
getWorkDayByDeadLineDay
(
BaseSearchVO
paramVo
);
String
getConfirmDate
(
BaseSearchVO
paramVo
);
R
<
String
>
getConfirmDate
(
BaseSearchVO
paramVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/THouseHoldLimitServiceImpl.java
View file @
1495b2be
...
...
@@ -426,13 +426,13 @@ public class THouseHoldLimitServiceImpl extends ServiceImpl<THouseHoldLimitMappe
}
@Override
public
String
getConfirmDate
(
BaseSearchVO
paramVo
)
{
public
R
<
String
>
getConfirmDate
(
BaseSearchVO
paramVo
)
{
THouseHoldLimit
houseHoldLimit
=
baseMapper
.
selectOne
(
Wrappers
.<
THouseHoldLimit
>
query
().
lambda
()
.
eq
(
THouseHoldLimit:
:
getName
,
paramVo
.
getName
())
.
eq
(
THouseHoldLimit:
:
getType
,
paramVo
.
getType
())
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
null
==
houseHoldLimit
){
return
null
;
return
R
.
failed
(
"未找到户截止日配置信息"
)
;
}
String
deadLineDay
=
houseHoldLimit
.
getDeadLineDay
();
if
(
Common
.
isNotNull
(
deadLineDay
))
{
...
...
@@ -441,7 +441,7 @@ public class THouseHoldLimitServiceImpl extends ServiceImpl<THouseHoldLimitMappe
// 设置RegistDate为当前月份对应的截止日期deadLineDay
Date
registDate
=
DateUtil
.
setDayByDate
(
new
Date
(),
Integer
.
parseInt
(
deadLineDay
));
if
(
null
==
registDate
)
{
return
null
;
return
R
.
failed
(
"未找到截止日期对应的可用工作日"
)
;
}
vo
.
setRegistDate
(
registDate
);
vo
.
setType
(
CommonConstants
.
ONE_STRING
);
...
...
@@ -457,13 +457,13 @@ public class THouseHoldLimitServiceImpl extends ServiceImpl<THouseHoldLimitMappe
canBeHandle
=
true
;
}
}
return
initExpectedCollectionTime
(
paramVo
.
getStartDate
(),
canBeHandle
,
addHandleRule
);
return
R
.
ok
(
initExpectedCollectionTime
(
paramVo
.
getStartDate
(),
canBeHandle
,
addHandleRule
)
);
}
catch
(
NumberFormatException
e
)
{
// 截止日期不是有效数字,返回null表示无法确定
return
null
;
return
R
.
failed
(
"截止日期不是有效数字"
)
;
}
}
return
null
;
return
R
.
ok
(
"获取日期信息失败,请查验配置数据"
)
;
}
/**
* @Author fxj
...
...
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