Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
D
data-server
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
data-server
Commits
69fc9a94
Commit
69fc9a94
authored
Mar 16, 2021
by
licc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f0823f1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
AccountManager.java
...ain/java/cn/wisenergy/service/Manager/AccountManager.java
+2
-7
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/Manager/AccountManager.java
View file @
69fc9a94
...
@@ -286,18 +286,13 @@ public class AccountManager {
...
@@ -286,18 +286,13 @@ public class AccountManager {
if
(
null
==
monthManure
)
{
if
(
null
==
monthManure
)
{
//新增上月剩余月度肥料奖金
//新增上月剩余月度肥料奖金
int
count
=
monthManureMapper
.
add
(
manure
);
int
count
=
monthManureMapper
.
add
(
manure
);
if
(
count
==
0
)
{
return
count
!=
0
;
return
false
;
}
}
else
{
}
else
{
//编辑
//编辑
monthManure
.
setManureAward
(
manure
.
getManureAward
());
monthManure
.
setManureAward
(
manure
.
getManureAward
());
monthManure
.
setYearMonth
(
manure
.
getYearMonth
());
monthManure
.
setYearMonth
(
manure
.
getYearMonth
());
int
count
=
monthManureMapper
.
edit
(
monthManure
);
int
count
=
monthManureMapper
.
edit
(
monthManure
);
if
(
count
==
0
)
{
return
count
!=
0
;
return
false
;
}
}
}
return
true
;
}
}
}
}
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