Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lwby_copyright_book_data
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
maliang
lwby_copyright_book_data
Commits
062cd1bf
Commit
062cd1bf
authored
May 08, 2020
by
maliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传bug修复
parent
676d23d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
CopyrightBookServiceImpl.java
...ecurity/server/service/impl/CopyrightBookServiceImpl.java
+9
-0
No files found.
src/main/java/com/boot/security/server/service/impl/CopyrightBookServiceImpl.java
View file @
062cd1bf
...
...
@@ -111,6 +111,9 @@ public class CopyrightBookServiceImpl implements CopyrightBookService {
}
else
if
(
totalAdvertAmount
>=
3000001.0
&&
totalAdvertAmount
<=
5000000.0
){
Double
a1
=
totalAdvertAmount
-
3000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
else
if
(
totalAdvertAmount
>=
5000001.0
){
Double
a1
=
totalAdvertAmount
-
5000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
count
=
Double
.
valueOf
(
df
.
format
(
count
));
Integer
id
=
baseSettlement
.
getCopyrightId
();
...
...
@@ -249,6 +252,9 @@ public class CopyrightBookServiceImpl implements CopyrightBookService {
}
else
if
(
totalAdvertAmount
>=
3000001.0
&&
totalAdvertAmount
<=
5000000.0
){
Double
a1
=
totalAdvertAmount
-
3000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
else
if
(
totalAdvertAmount
>=
5000001.0
){
Double
a1
=
totalAdvertAmount
-
5000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
count
=
Double
.
valueOf
(
df
.
format
(
count
));
Integer
id
=
baseSettlement
.
getCopyrightId
();
...
...
@@ -371,6 +377,9 @@ public class CopyrightBookServiceImpl implements CopyrightBookService {
}
else
if
(
totalAdvertAmount
>=
3000001.0
&&
totalAdvertAmount
<=
5000000.0
){
Double
a1
=
totalAdvertAmount
-
3000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
else
if
(
totalAdvertAmount
>=
5000001.0
){
Double
a1
=
totalAdvertAmount
-
5000000.0
;
count
=
2000.0
+
3000
*
0.5
+
5000
*
0.2
+
20000
*
0.2
*
2
+
50000
*
0.15
+
200000
*
0.1
*
2
+
500000
*
0.02
+
2000000
*
0.02
+
2000000
*
0.02
+
a1
*
0.02
;
}
count
=
Double
.
valueOf
(
df
.
format
(
count
));
Integer
id
=
baseSettlement
.
getCopyrightId
();
...
...
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