Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
cc888f21
Commit
cc888f21
authored
Nov 29, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
32156564
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
Constant.java
...api/src/main/java/pwc/taxtech/atms/constant/Constant.java
+11
-2
InputInvoiceDataImportServiceImpl.java
...s/vat/service/impl/InputInvoiceDataImportServiceImpl.java
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/constant/Constant.java
View file @
cc888f21
...
...
@@ -49,8 +49,8 @@ public final class Constant {
public
static
final
String
EMPTY
=
""
;
public
static
final
String
DateTimeFormate
=
"%d年%d月"
;
public
static
final
String
INPUT_RZJG_SUCCESS
=
"
0
"
;
public
static
final
String
INPUT_RZJG_FAILED
=
"
1
"
;
public
static
final
String
INPUT_RZJG_SUCCESS
=
"
1
"
;
public
static
final
String
INPUT_RZJG_FAILED
=
"
2
"
;
public
static
final
String
INPUT_RZZT_NOT_BEGIN
=
"0"
;
public
static
final
String
INPUT_RZZT_BEGINNING
=
"1"
;
...
...
@@ -59,6 +59,15 @@ public final class Constant {
public
static
final
String
OUTPUT_KPZT_NO
=
"0"
;
public
static
final
String
OUTPUT_KPZT_YES
=
"2"
;
public
static
class
HlFpzt
{
public
static
final
String
ZC
=
"0"
;
//正常
public
static
final
String
ZF
=
"1"
;
//作废
public
static
final
String
HC
=
"2"
;
//红冲(正常)
public
static
final
String
SK
=
"3"
;
//失控(作废)
public
static
final
String
YC
=
"4"
;
//异常(作废)
public
static
final
String
TP
=
"6"
;
//退票
}
public
static
final
String
APPROVAL_COMMITTED
=
"committed"
;
public
static
final
String
APPROVAL_AGREED
=
"agreed"
;
public
static
final
String
APPROVAL_DISAGREED
=
"disagreed"
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/InputInvoiceDataImportServiceImpl.java
View file @
cc888f21
...
...
@@ -81,7 +81,7 @@ public class InputInvoiceDataImportServiceImpl {
invoiceExample
.
createCriteria
().
andGFSHEqualTo
(
organization
.
getTaxPayerNumber
()).
andRZSQBetween
(
DateUtils
.
getPeriodBeginFormat
(
project
.
getYear
(),
paras
.
getPeriodStart
(),
Constant
.
DateFormat
.
YYYYMM
),
DateUtils
.
getPeriodEndFormat
(
project
.
getYear
(),
paras
.
getPeriodEnd
(),
Constant
.
DateFormat
.
YYYYMM
)).
andRZJGEqualTo
(
INPUT_RZJG_SUCCESS
).
andRZZTEqualTo
(
INPUT_RZZT_OVER
)
.
andFPZT
NotEqualTo
(
"1"
);
.
andFPZT
In
(
Arrays
.
asList
(
Constant
.
HlFpzt
.
ZC
,
Constant
.
HlFpzt
.
HC
)
);
PageHelper
.
startPage
(
paras
.
getPageInfo
().
getPageIndex
(),
paras
.
getPageInfo
().
getPageSize
());
List
<
InputInvoice
>
invoices
=
inputInvoiceMapper
.
selectByExample
(
invoiceExample
);
DecimalFormat
df
=
new
DecimalFormat
(
"#,###.00"
);
...
...
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