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
7a7f2fb3
Commit
7a7f2fb3
authored
Aug 22, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.7' into MVP1.5.7
parents
8c6f9cc7
c81c601c
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
31 deletions
+31
-31
DateUtil.java
...om/yifu/cloud/plus/v1/yifu/common/core/util/DateUtil.java
+17
-13
OrderDetailVO.java
...a/com/yifu/cloud/plus/v1/yifu/order/vo/OrderDetailVO.java
+6
-0
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+4
-4
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+1
-2
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+0
-11
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+3
-1
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/DateUtil.java
View file @
7a7f2fb3
...
@@ -1600,26 +1600,30 @@ public class DateUtil {
...
@@ -1600,26 +1600,30 @@ public class DateUtil {
}
}
}
}
public
static
boolean
isDate
(
String
dateText
,
String
format
)
{
public
static
boolean
isDate
(
String
dateText
)
{
if
(
dateText
==
null
)
{
if
(
dateText
==
null
)
{
return
fals
e
;
return
tru
e
;
}
}
DateFormat
df
=
null
;
DateFormat
df
=
null
;
try
{
try
{
if
(
dateText
.
indexOf
(
"-"
)
>=
0
)
{
if
(
format
!=
null
)
{
df
=
new
SimpleDateFormat
(
ISO_EXPANDED_DATE_FORMAT
);
df
=
new
SimpleDateFormat
(
format
);
df
.
setLenient
(
false
);
}
else
{
df
.
parse
(
dateText
);
}
else
if
(
dateText
.
indexOf
(
"/"
)
>=
0
)
{
df
=
new
SimpleDateFormat
(
DateUtil
.
DATETIME_PATTERN_XIEGANG
);
df
.
setLenient
(
false
);
df
.
parse
(
dateText
);
}
else
{
df
=
new
SimpleDateFormat
(
ISO_DATE_FORMAT
);
df
=
new
SimpleDateFormat
(
ISO_DATE_FORMAT
);
}
df
.
setLenient
(
false
);
df
.
setLenient
(
false
);
df
.
parse
(
dateText
.
replace
(
"/"
,
""
).
replace
(
"-"
,
""
)
df
.
parse
(
dateText
.
replace
(
"/"
,
""
).
replace
(
"-"
,
""
)
.
replace
(
CommonConstants
.
YEAR
,
""
).
replace
(
CommonConstants
.
MONTH
,
""
)
.
replace
(
CommonConstants
.
YEAR
,
""
).
replace
(
CommonConstants
.
MONTH
,
""
)
.
replace
(
CommonConstants
.
DAY
,
""
));
.
replace
(
CommonConstants
.
DAY
,
""
));
}
catch
(
ParseException
e
)
{
return
false
;
}
}
}
catch
(
ParseException
e
)
{
return
true
;
return
true
;
}
}
return
false
;
}
}
}
yifu-order/yifu-order-api/src/main/java/com/yifu/cloud/plus/v1/yifu/order/vo/OrderDetailVO.java
View file @
7a7f2fb3
...
@@ -39,6 +39,12 @@ public class OrderDetailVO implements Serializable {
...
@@ -39,6 +39,12 @@ public class OrderDetailVO implements Serializable {
@Schema
(
description
=
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
private
String
deptNo
;
/**
* 项目ID
*/
@Schema
(
description
=
"项目ID"
)
private
String
deptId
;
/**
/**
* 项目名称
* 项目名称
*/
*/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
View file @
7a7f2fb3
...
@@ -616,7 +616,7 @@ public class TDispatchInfoController {
...
@@ -616,7 +616,7 @@ public class TDispatchInfoController {
@PostMapping
(
"/doexportFundRecordChange"
)
@PostMapping
(
"/doexportFundRecordChange"
)
@Operation
(
description
=
"导出公积金变更清册 hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')"
)
@Operation
(
description
=
"导出公积金变更清册 hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')"
)
@SysLog
(
"导出公积金变更清册"
)
@SysLog
(
"导出公积金变更清册"
)
@PreAuthorize
(
"@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')"
)
//
@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')")
public
void
doexportFundRecordChange
(
HttpServletResponse
response
,
HttpServletRequest
request
,
public
void
doexportFundRecordChange
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestBody
SocialHandleSearchVo
searchVo
)
{
@RequestBody
SocialHandleSearchVo
searchVo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
...
@@ -637,7 +637,7 @@ public class TDispatchInfoController {
...
@@ -637,7 +637,7 @@ public class TDispatchInfoController {
@GetMapping
(
"/doExportFundSupplementaryRecord"
)
@GetMapping
(
"/doExportFundSupplementaryRecord"
)
@Operation
(
description
=
"导出公积金补缴清册 hasPermission('wxhr:tdispatchinfo_doExportFundSupplementaryRecord')"
)
@Operation
(
description
=
"导出公积金补缴清册 hasPermission('wxhr:tdispatchinfo_doExportFundSupplementaryRecord')"
)
@SysLog
(
"导出公积金补缴清册"
)
@SysLog
(
"导出公积金补缴清册"
)
@PreAuthorize
(
"@pms.hasPermission('wxhr:tdispatchinfo_doExportFundSupplementaryRecord')"
)
//
@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_doExportFundSupplementaryRecord')")
public
R
<
List
<
FundSupplementaryExportVo
>>
doExportFundSupplementaryRecord
(
HttpServletResponse
response
,
HttpServletRequest
request
,
public
R
<
List
<
FundSupplementaryExportVo
>>
doExportFundSupplementaryRecord
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestParam
(
name
=
"idStr"
,
required
=
false
)
String
idStr
,
@RequestParam
(
name
=
"idStr"
,
required
=
false
)
String
idStr
,
@RequestBody
SocialHandleSearchVo
searchVo
)
{
@RequestBody
SocialHandleSearchVo
searchVo
)
{
...
@@ -765,7 +765,7 @@ public class TDispatchInfoController {
...
@@ -765,7 +765,7 @@ public class TDispatchInfoController {
@PostMapping
(
"/doexportMedicalInfo"
)
@PostMapping
(
"/doexportMedicalInfo"
)
@Operation
(
description
=
"导出医保花名册"
)
@Operation
(
description
=
"导出医保花名册"
)
@SysLog
(
"导出医保花名册"
)
@SysLog
(
"导出医保花名册"
)
@PreAuthorize
(
"@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')"
)
//
@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')")
public
void
doexportMedicalInfo
(
HttpServletResponse
response
,
HttpServletRequest
request
,
public
void
doexportMedicalInfo
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestBody
SocialHandleSearchVo
searchVo
)
{
@RequestBody
SocialHandleSearchVo
searchVo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
...
@@ -787,7 +787,7 @@ public class TDispatchInfoController {
...
@@ -787,7 +787,7 @@ public class TDispatchInfoController {
@PostMapping
(
"/doexportPensionInfo"
)
@PostMapping
(
"/doexportPensionInfo"
)
@Operation
(
description
=
"导出三险花名册"
)
@Operation
(
description
=
"导出三险花名册"
)
@SysLog
(
"导出三险花名册"
)
@SysLog
(
"导出三险花名册"
)
@PreAuthorize
(
"@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')"
)
//
@PreAuthorize("@pms.hasPermission('wxhr:tdispatchinfo_doexportFundRecordChange')")
public
void
doexportPensionInfo
(
HttpServletResponse
response
,
HttpServletRequest
request
,
public
void
doexportPensionInfo
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestBody
SocialHandleSearchVo
searchVo
)
{
@RequestBody
SocialHandleSearchVo
searchVo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
7a7f2fb3
...
@@ -759,8 +759,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
...
@@ -759,8 +759,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
if
(
checkAddRepeat
(
errorList
,
existsMap
,
i
,
info
))
{
if
(
checkAddRepeat
(
errorList
,
existsMap
,
i
,
info
))
{
continue
;
continue
;
}
}
if
(
Common
.
isNotNull
(
info
.
getLeaveDate
())
if
(
Common
.
isNotNull
(
info
.
getLeaveDate
())
&&
DateUtil
.
isDate
(
info
.
getLeaveDate
())){
&&
DateUtil
.
isDate
(
info
.
getLeaveDate
(),
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
)){
errorList
.
add
(
new
ErrorMessage
(
i
,
PreDispatchConstants
.
LEAVE_DATE_FORMAT_ERROR
));
errorList
.
add
(
new
ErrorMessage
(
i
,
PreDispatchConstants
.
LEAVE_DATE_FORMAT_ERROR
));
continue
;
continue
;
}
}
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
7a7f2fb3
...
@@ -1254,17 +1254,6 @@
...
@@ -1254,17 +1254,6 @@
</where>
) a
</where>
) a
</select>
</select>
<!--tDispatchInfo 社保花名册派单数据count-->
<select
id=
"getSocialDisRecordCount"
resultType=
"java.lang.Integer"
>
SELECT count(1) from (
SELECT 1
FROM t_dispatch_info a
<where>
<include
refid=
"where_getSocialDisRecord"
/>
</where>
group by a.EMP_IDCARD) h
</select>
<select
id=
"getFCount"
resultType=
"java.lang.Integer"
>
<select
id=
"getFCount"
resultType=
"java.lang.Integer"
>
SELECT count(1) from (
SELECT count(1) from (
SELECT 1
SELECT 1
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
7a7f2fb3
...
@@ -492,7 +492,6 @@
...
@@ -492,7 +492,6 @@
<if
test=
"tPaymentInfo.providentPayAddr != null and tPaymentInfo.providentPayAddr.trim() != ''"
>
<if
test=
"tPaymentInfo.providentPayAddr != null and tPaymentInfo.providentPayAddr.trim() != ''"
>
AND a.PROVIDENT_PAY_ADDR = #{tPaymentInfo.providentPayAddr}
AND a.PROVIDENT_PAY_ADDR = #{tPaymentInfo.providentPayAddr}
</if>
</if>
<!-- 区域 默认精准查询 0 包含下级查询 1 开始 2023-03-02 fxj -->
<!-- 区域 默认精准查询 0 包含下级查询 1 开始 2023-03-02 fxj -->
<if
test=
'tPaymentInfo.areaFlag == null || tPaymentInfo.areaFlag == "1"'
>
<if
test=
'tPaymentInfo.areaFlag == null || tPaymentInfo.areaFlag == "1"'
>
<if
test=
"tPaymentInfo.socialTown == null"
>
<if
test=
"tPaymentInfo.socialTown == null"
>
...
@@ -678,6 +677,9 @@
...
@@ -678,6 +677,9 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"tPaymentInfo.idList == null"
>
<if
test=
"tPaymentInfo.idList == null"
>
<if
test=
"tPaymentInfo.pushStatus != null and tPaymentInfo.pushStatus.trim() != ''"
>
AND a.PUSH_STATUS = #{tPaymentInfo.pushStatus}
</if>
<if
test=
"tPaymentInfo.id != null and tPaymentInfo.id.trim() != ''"
>
<if
test=
"tPaymentInfo.id != null and tPaymentInfo.id.trim() != ''"
>
AND a.ID = #{tPaymentInfo.id}
AND a.ID = #{tPaymentInfo.id}
</if>
</if>
...
...
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