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
0e66071d
Commit
0e66071d
authored
Sep 01, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature-zhaji
parents
23aaca5c
ba24de0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
TStatisticsCurrentReportMarketVo.java
...s/v1/yifu/salary/vo/TStatisticsCurrentReportMarketVo.java
+4
-1
TStatisticsCurrentReportMarketServiceImpl.java
...rvice/impl/TStatisticsCurrentReportMarketServiceImpl.java
+4
-4
No files found.
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/TStatisticsCurrentReportMarketVo.java
View file @
0e66071d
...
...
@@ -34,7 +34,10 @@ import java.math.BigDecimal;
* @date 2022-08-05 11:40:14
*/
@Data
public
class
TStatisticsCurrentReportMarketVo
extends
RowIndex
implements
Serializable
{
public
class
TStatisticsCurrentReportMarketVo
implements
Serializable
{
@ExcelAttribute
(
name
=
"行号"
)
private
Integer
rowIndex
;
/**
* 税务主体(封面抬头)
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TStatisticsCurrentReportMarketServiceImpl.java
View file @
0e66071d
...
...
@@ -135,18 +135,18 @@ public class TStatisticsCurrentReportMarketServiceImpl extends ServiceImpl<TStat
declareMonth
=
DateUtil
.
getYearMonth
(
cachedDataList
.
get
(
0
).
getCreateStart
());
}
if
(
Common
.
isEmpty
(
declareMonth
))
{
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
ZER
O_INT
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
TW
O_INT
,
"请检查‘税款所属期起’单元格格式是文本格式,且满足日期格式yyyy-MM-dd或yyyyMMdd"
));
}
try
{
Integer
.
parseInt
(
declareMonth
);
}
catch
(
Exception
e
)
{
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
ZER
O_INT
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
TW
O_INT
,
"请检查‘税款所属期起’单元格格式是文本格式,且满足日期格式yyyy-MM-dd或yyyyMMdd"
));
}
declareTitle
=
cachedDataList
.
get
(
0
).
getInvoiceTitle
();
if
(
Common
.
isEmpty
(
declareTitle
))
{
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
ZER
O_INT
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
TW
O_INT
,
"封面抬头全称-不能为空"
));
}
if
(
Common
.
isNotNull
(
declareMonth
)
&&
Common
.
isNotNull
(
declareTitle
))
{
...
...
@@ -157,7 +157,7 @@ public class TStatisticsCurrentReportMarketServiceImpl extends ServiceImpl<TStat
queryWrapperSc
.
setEntity
(
sdsCheck
);
int
count
=
baseMapper
.
getCountByMonthAndTitle
(
declareMonth
,
declareTitle
);
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
ZER
O_INT
errorMessageList
.
add
(
new
ErrorMessage
(
CommonConstants
.
TW
O_INT
,
"当前月同一-封面抬头全称-已存在数据。"
));
}
}
...
...
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