Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
Overview
Overview
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
wangweidong
patzn-cloud-service-hmhj
Commits
6df578c4
Commit
6df578c4
authored
Jul 24, 2021
by
ghxdhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改修约计算方式
parent
c74d0484
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SingleSheetMoreItemOperation.java
...vice/lims/hmhj/original/SingleSheetMoreItemOperation.java
+1
-1
SingleSheetMoreOperation.java
.../service/lims/hmhj/original/SingleSheetMoreOperation.java
+1
-1
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/original/SingleSheetMoreItemOperation.java
View file @
6df578c4
...
...
@@ -295,7 +295,7 @@ public class SingleSheetMoreItemOperation implements Operation {
cell
.
setCellValue
(
afterPointRoundNum
);
return
false
;
}
String
substring
=
value
.
substring
(
point
+
roundNum
+
1
);
String
substring
=
value
.
substring
(
point
+
roundNum
+
2
);
if
(
Integer
.
parseInt
(
substring
)
>
0
)
{
BigDecimal
bigDecimal
=
new
BigDecimal
(
afterPointRoundNum
).
add
(
new
BigDecimal
(
valueMap
.
get
(
roundNum
)));
cell
.
setCellValue
(
bigDecimal
.
toString
());
...
...
src/main/java/com/patzn/cloud/service/lims/hmhj/original/SingleSheetMoreOperation.java
View file @
6df578c4
...
...
@@ -317,7 +317,7 @@ public class SingleSheetMoreOperation implements Operation {
cell
.
setCellValue
(
afterPointRoundNum
);
return
false
;
}
String
substring
=
value
.
substring
(
point
+
roundNum
+
1
);
String
substring
=
value
.
substring
(
point
+
roundNum
+
2
);
if
(
Integer
.
parseInt
(
substring
)
>
0
)
{
BigDecimal
bigDecimal
=
new
BigDecimal
(
afterPointRoundNum
).
add
(
new
BigDecimal
(
valueMap
.
get
(
roundNum
)));
cell
.
setCellValue
(
bigDecimal
.
toString
());
...
...
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