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
47b2d550
Commit
47b2d550
authored
Nov 28, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
b29bb3c9
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
WPSR.java
.../taxtech/atms/vat/service/impl/report/functions/WPSR.java
+5
-5
HlOutputInterfaceLineMapper.java
...pwc/taxtech/atms/invoice/HlOutputInterfaceLineMapper.java
+1
-1
HlOutputOrderKpsqmxbMapper.java
.../pwc/taxtech/atms/invoice/HlOutputOrderKpsqmxbMapper.java
+1
-1
HlOutputOrderKpsqzbMapper.java
...a/pwc/taxtech/atms/invoice/HlOutputOrderKpsqzbMapper.java
+1
-1
HlOutputInterfaceLineMapper.xml
.../pwc/taxtech/atms/vat/dao/HlOutputInterfaceLineMapper.xml
+1
-1
HlOutputOrderKpsqmxbMapper.xml
...s/pwc/taxtech/atms/vat/dao/HlOutputOrderKpsqmxbMapper.xml
+1
-1
HlOutputOrderKpsqzbMapper.xml
...es/pwc/taxtech/atms/vat/dao/HlOutputOrderKpsqzbMapper.xml
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/report/functions/WPSR.java
View file @
47b2d550
...
...
@@ -15,9 +15,9 @@ import pwc.taxtech.atms.constant.enums.FormulaDataSourceType;
import
pwc.taxtech.atms.dto.vatdto.ReportCellDataSourceDto
;
import
pwc.taxtech.atms.entity.Organization
;
import
pwc.taxtech.atms.entity.Project
;
import
pwc.taxtech.atms.
vat.dao
.HlOutputInterfaceLineMapper
;
import
pwc.taxtech.atms.
vat.dao
.HlOutputOrderKpsqmxbMapper
;
import
pwc.taxtech.atms.
vat.dao
.HlOutputOrderKpsqzbMapper
;
import
pwc.taxtech.atms.
invoice
.HlOutputInterfaceLineMapper
;
import
pwc.taxtech.atms.
invoice
.HlOutputOrderKpsqmxbMapper
;
import
pwc.taxtech.atms.
invoice
.HlOutputOrderKpsqzbMapper
;
import
pwc.taxtech.atms.vat.entity.*
;
import
java.math.BigDecimal
;
...
...
@@ -44,7 +44,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction {
}
Integer
type
=
getIntParam
(
args
[
0
],
ec
);
Integer
rate
=
getIntParam
(
args
[
1
],
ec
);
String
rateStr
=
String
.
valueOf
(
rate
/
100
);
String
rateStr
=
String
.
valueOf
(
rate
.
doubleValue
()
/
100
);
if
(
null
==
type
||
null
==
rate
)
{
return
ZERO_EVAL
;
}
...
...
@@ -100,7 +100,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction {
}
//todo data source 显示优化
try
{
BigDecimal
val
=
NumberUtils
.
createBigDecimal
(
result
.
toString
());
BigDecimal
val
=
NumberUtils
.
createBigDecimal
(
((
StringEval
)
result
).
getStringValue
());
ReportCellDataSourceDto
dto
=
new
ReportCellDataSourceDto
();
dto
.
setAmount
(
val
);
dto
.
setName
(
DataSourceName
.
ReportDataSource
);
...
...
atms-dao/src/main/java/pwc/taxtech/atms/
vat/dao
/HlOutputInterfaceLineMapper.java
→
atms-dao/src/main/java/pwc/taxtech/atms/
invoice
/HlOutputInterfaceLineMapper.java
View file @
47b2d550
package
pwc
.
taxtech
.
atms
.
vat
.
dao
;
package
pwc
.
taxtech
.
atms
.
invoice
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
...
...
atms-dao/src/main/java/pwc/taxtech/atms/
vat/dao
/HlOutputOrderKpsqmxbMapper.java
→
atms-dao/src/main/java/pwc/taxtech/atms/
invoice
/HlOutputOrderKpsqmxbMapper.java
View file @
47b2d550
package
pwc
.
taxtech
.
atms
.
vat
.
dao
;
package
pwc
.
taxtech
.
atms
.
invoice
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
...
...
atms-dao/src/main/java/pwc/taxtech/atms/
vat/dao
/HlOutputOrderKpsqzbMapper.java
→
atms-dao/src/main/java/pwc/taxtech/atms/
invoice
/HlOutputOrderKpsqzbMapper.java
View file @
47b2d550
package
pwc
.
taxtech
.
atms
.
vat
.
dao
;
package
pwc
.
taxtech
.
atms
.
invoice
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/HlOutputInterfaceLineMapper.xml
View file @
47b2d550
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.
vat.dao
.HlOutputInterfaceLineMapper"
>
<mapper
namespace=
"pwc.taxtech.atms.
invoice
.HlOutputInterfaceLineMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.HlOutputInterfaceLine"
>
<!--
WARNING - @mbg.generated
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/HlOutputOrderKpsqmxbMapper.xml
View file @
47b2d550
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.
vat.dao
.HlOutputOrderKpsqmxbMapper"
>
<mapper
namespace=
"pwc.taxtech.atms.
invoice
.HlOutputOrderKpsqmxbMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqmxb"
>
<!--
WARNING - @mbg.generated
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/vat/dao/HlOutputOrderKpsqzbMapper.xml
View file @
47b2d550
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"pwc.taxtech.atms.
vat.dao
.HlOutputOrderKpsqzbMapper"
>
<mapper
namespace=
"pwc.taxtech.atms.
invoice
.HlOutputOrderKpsqzbMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb"
>
<!--
WARNING - @mbg.generated
...
...
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