public String queryOther_expenseInfor() { // TODO Auto-generated method stub other_expenses = apply_Reimburse.queryOther_expenseInfor(reimburse.getReimburse_id()); HttpServletRequest request = ServletActionContext.getRequest(); String s = request.getParameter("flag").toString(); int flag = Integer.parseInt(s); if (flag == 1) { return "success1"; } else if (flag == 2) { return "success2"; } return s; }
public String queryTransInfor() { // TODO Auto-generated method stub transs = apply_Reimburse.queryTransInfor(reimburse.getReimburse_id()); return queryOther_expenseInfor(); }
public String UpdateReimburse() { apply_Reimburse.UpdateReimburse(reimburse, transs, other_expenses, reimburse.getReimburse_id()); return SUCCESS; }