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
f9a1d80b
Commit
f9a1d80b
authored
Jun 11, 2020
by
maliang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传bug修复
parent
12568f50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
CopyrightBookController.java
...t/security/server/controller/CopyrightBookController.java
+6
-4
copyrightDeductionConfig.html
...tic/pages/copyrightBookData/copyrightDeductionConfig.html
+0
-3
No files found.
src/main/java/com/boot/security/server/controller/CopyrightBookController.java
View file @
f9a1d80b
...
...
@@ -52,10 +52,6 @@ public class CopyrightBookController {
@ApiOperation
(
value
=
"获取总的未结算数据"
)
@ResponseBody
public
String
getDeductionConfig
(
@RequestBody
PageTableRequest
request
){
List
<
BaseSettlement
>
array
=
request
.
getArray
();
for
(
BaseSettlement
baseSettlement
:
array
)
{
System
.
out
.
println
(
baseSettlement
.
getContext
());
}
List
<
BaseSettlement
>
deductionConfig
=
copyrightDao
.
getDeductionConfig
(
request
.
getPage
(),
request
.
getLimit
());
List
<
BaseSettlement
>
deductionConfigs
=
copyrightDao
.
getDeductionConfig
(
0
,
1000
);
JSONObject
jsonObject
=
new
JSONObject
();
...
...
@@ -72,6 +68,12 @@ public class CopyrightBookController {
if
(
request
.
getTypeName
().
equals
(
"固定扣量"
)){
type
=
2
;
}
List
<
BaseSettlement
>
array
=
request
.
getArray
();
if
(
array
.
size
()>
0
){
for
(
BaseSettlement
baseSettlement
:
array
)
{
copyrightDao
.
updateDeductionConfig
(
baseSettlement
.
getCopyrightId
(),
request
.
getTypeName
(),
type
,
request
.
getContext
());
}
}
copyrightDao
.
updateDeductionConfig
(
request
.
getCopyrightId
(),
request
.
getTypeName
(),
type
,
request
.
getContext
());
}
...
...
src/main/resources/static/pages/copyrightBookData/copyrightDeductionConfig.html
View file @
f9a1d80b
...
...
@@ -132,9 +132,6 @@
var
checkStatus
=
table
.
checkStatus
(
'idTest'
);
var
typeName
=
$
(
"#deductionSelect"
).
val
();
var
context
=
$
(
"#deductionInput"
).
val
();
console
.
log
(
checkStatus
.
data
);
console
.
log
(
typeName
);
console
.
log
(
context
);
var
list
=
{
typeName
:
typeName
,
context
:
context
,
array
:
checkStatus
.
data
}
$
.
ajax
({
//请求方式
...
...
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