Commit 4cdc16f1 by shj

下一步:根据用户输入生成咨询费

parent 24cf3c9a
......@@ -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);
}
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment