package com.changhong.epc.form.execute.impl; import javax.annotation.Resource; import org.springframework.stereotype.Service; import com.changhong.autoform.entity.ProcessBudget; import com.changhong.autoform.rest.excute.Execute; import com.changhong.epc.form.execute.IFormOthersOperation; import com.changhong.epc.form.service.budget.IBudgetMoney; import com.iemsoft.framework.cloud.core.tools.JSONTool; @Service("execute") public class ExecuteImpl implements Execute{ @Resource private IFormOthersOperation formOthersOperation; @Resource private IBudgetMoney budgetMoney; // @Override // public void executeProcessBudget(ProcessBudget processBudget) { // MainLogic mainLogic = new MainLogic(); // mainLogic.initData(processBudget); // //mainLogic.executePrimary(processBudget); // mainLogic.exeLogic(); // } @Override public Boolean executeProcessBudget(ProcessBudget processBudget) { Boolean res = false; try { res = budgetMoney.selectorModel(processBudget); } catch (Exception e) { } return res; } /** * 预算退回 */ @Override public Boolean processRefunds(ProcessBudget processBudget) { // TODO Auto-generated method stub return budgetMoney.executeProcessRefunds(processBudget); } }