Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BudgetManagementSystem
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
王利雷
BudgetManagementSystem
Commits
4cdc16f1
Commit
4cdc16f1
authored
Apr 23, 2019
by
shj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下一步:根据用户输入生成咨询费
parent
24cf3c9a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
BudgetHandler.java
src/main/java/handlers/BudgetHandler.java
+2
-2
IBudgetService.java
src/main/java/service/IBudgetService.java
+0
-2
BudgetService.java
src/main/java/service/impl/BudgetService.java
+0
-1
No files found.
src/main/java/handlers/BudgetHandler.java
View file @
4cdc16f1
...
...
@@ -86,9 +86,9 @@ public class BudgetHandler {
}
else
if
(
item
.
contains
(
"labour"
))
{
budget
.
setLabour
(
budgetService
.
doLabour
(
number
));
budget
.
getRequirement
().
setLabour
(
number
);
}
/*
else if (item.contains("consulatation")) {
}
else
if
(
item
.
contains
(
"consulatation"
))
{
budget
.
setConsultations
(
budgetService
.
doConsultation
(
number
));
}
*/
else
if
(
item
.
contains
(
"others"
))
{
}
else
if
(
item
.
contains
(
"others"
))
{
budget
.
setOthers
(
budgetService
.
doOthers
(
number
));
budget
.
getRequirement
().
setOthers
(
number
);
}
...
...
src/main/java/service/IBudgetService.java
View file @
4cdc16f1
...
...
@@ -26,10 +26,8 @@ public interface IBudgetService {
Map
<
Labour
,
Integer
>
doLabour
(
Double
number
);
@Deprecated
Map
<
Consultation
,
Integer
>
doConsultation
(
Double
number
);
Map
<
Consultation
,
Integer
>
doConsultation
(
Map
<
Conference
,
Integer
>
conferences
);
Map
<
Consultation
,
Integer
>
doConsultation
(
int
n
);
...
...
src/main/java/service/impl/BudgetService.java
View file @
4cdc16f1
...
...
@@ -306,7 +306,6 @@ public class BudgetService implements IBudgetService {
* @return
*/
@Override
@Deprecated
public
Map
<
Consultation
,
Integer
>
doConsultation
(
Double
number
)
{
List
<
Consultation
>
consultations
=
consultationDao
.
selectAll
();
return
generateMap
((
List
)
consultations
,
number
);
...
...
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