package com.cqedu.budget.applist.action;
import com.cqedu.budget.applist.bean.Budgetapp;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.cqedu.budget.applist.service.UserService;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts2.ServletActionContext;
public class AppQueryAction extends ActionSupport {
/**
*
*/
private static final long serialVersionUID = -458856227490777718L;
private Budgetapp budgetapp = new Budgetapp();
private UserService userService = null;
private List<Budgetapp> appList = null;
private List<Budgetapp> appunitList = null;
private List<Budgetapp> detlFeeList = null;
private List<Budgetapp> allFeeList=null;
private Budgetapp newBudget=null;
//8-31
private List<Budgetapp> apprFeeList=null;
private List<Budgetapp> apprInfoList=null;
private List<Budgetapp> apprProList=null;
private List<Budgetapp> apprProHis=null;
private List<Budgetapp> apprFlow=null;
private List<Budgetapp> apprUnit=null;
private List<Budgetapp> appName=null;
private List<Budgetapp> appSum=null;
/**
* 查询预算申请的action
*/
public String queryList(){
ActionContext actionContext = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) actionContext.get(ServletActionContext.HTTP_REQUEST);
String User_id=request.getParameter("buget_user_id");
Budgetapp budgetapp=new Budgetapp();
long user_id=Long.parseLong(User_id);
budgetapp.setUuid(user_id);
this.appList=this.userService.queryList(budgetapp);
request.getSession().setAttribute("appList", appList);
return SUCCESS;
}
/**
* 读取审批流程的action
*/
public String queryFlow(){
this.apprFlow=this.userService.queryApprFlow(budgetapp);
return SUCCESS;
}
/**
* 选择审批单元的action
*/
public String queryUnit(){
this.apprUnit=this.userService.queryApprUnit(budgetapp);
return SUCCESS;
}
/*
*预算申请
*/
public String bugetApp()
{
this.appunitList=this.userService.selectUnit(budgetapp);
this.appSum=this.userService.queruAppNum(budgetapp);
return SUCCESS;
}
/*
* 提取某个预算单元的明细费用
*/
public String queryFeeDetl()
{
this.detlFeeList=this.userService.selectDetlFee(budgetapp);
return SUCCESS;
}
/*
* 提取某个预算单元的所有值
*/
public String selectFeeDetl()
{
this.allFeeList=this.userService.selectAllDetlFee(budgetapp);
return SUCCESS;
}
/**
* 插入预算明细费用
*/
/* public String updateFeeDetl(){
this.userService.insertDetlFee(budgetapp);
return SUCCESS;
}*/
public String insertFeeDetl()
{
/*ActionContext actionContext = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) actionContext.get(ServletActionContext.HTTP_REQUEST);
String appid=request.getParameter("appsumid");
Budgetapp budgetapp=new Budgetapp();
long asumid=Long.parseLong(appid);
System.out.println(asumid);
budgetapp.setBid(asumid);*/
this.userService.updateFeeDetl(budgetapp);
this.userService.insertDetlFee(budgetapp);
this.apprFlow=this.userService.queryApprFlow(budgetapp);
return SUCCESS;
}
//8-31
/**
* 查看预算明细列表及信息列表
*/
public String queryApprList(){
ActionContext actionContext = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) actionContext.get(ServletActionContext.HTTP_REQUEST);
String bid=request.getParameter("bid");
long bbid=Long.parseLong(bid);
budgetapp.setBid(bbid);
this.apprFeeList=this.userService.queryApprList(budgetapp);
this.apprInfoList=this.userService.queryAppDetail(budgetapp);
System.out.println(apprInfoList.size());
return SUCCESS;
}
/**
* 查看审批过程
*/
public String queryApprPro(){
ActionContext actionContext = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) actionContext.get(ServletActionContext.HTTP_REQUEST);
String bid=request.getParameter("bid");
long bbid=Long.parseLong(bid);
budgetapp.setBid(bbid);
this.apprProHis=this.userService.queryApprPro(budgetapp);
return SUCCESS;
}
public String accessAppr()
{
/*ActionContext actionContext = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest) actionContext.get(ServletActionContext.HTTP_REQUEST);
String insert_user_id=request.getParameter("insert_user_id");
Budgetapp budgetapp=new Budgetapp();
long insert_uid=Long.parseLong(insert_user_id);
budgetapp.setUuid(insert_uid);*/
this.userService.insertUuid(budgetapp);
return SUCCESS;
}
/*******************************************************************/
public String insertFid()
{
this.userService.insertFid(budgetapp);
this.userService.insertBidAno(budgetapp);
return SUCCESS;
}
public UserService getUserService() {
return userService;
}
public void setUserService(UserService userService) {
this.userService = userService;
}
public List<Budgetapp> getAppList() {
return appList;
}
public void setAppList(List<Budgetapp> appList) {
this.appList = appList;
}
public void setAppunitList(List<Budgetapp> appunitList) {
this.appunitList = appunitList;
}
public List<Budgetapp> getAppunitList() {
return appunitList;
}
public void setDetlFeeList(List<Budgetapp> detlFeeList) {
this.detlFeeList = detlFeeList;
}
public List<Budgetapp> getDetlFeeList() {
return detlFeeList;
}
public List<Budgetapp> getAllFeeList() {
return allFeeList;
}
public void setAllFeeList(List<Budgetapp> allFeeList) {
this.allFeeList = allFeeList;
}
public Budgetapp getBudgetapp() {
return budgetapp;
}
public void setBudgetapp(Budgetapp budgetapp) {
this.budgetapp = budgetapp;
}
//8-31
public List<Budgetapp> getApprFeeList() {
return apprFeeList;
}
public void setApprFeeList(List<Budgetapp> apprFeeList) {
this.apprFeeList = apprFeeList;
}
public List<Budgetapp> getApprInfoList() {
return apprInfoList;
}
public void setApprInfoList(List<Budgetapp> apprInfoList) {
this.apprInfoList = apprInfoList;
}
public List<Budgetapp> getApprProList() {
return apprProList;
}
public void setApprProList(List<Budgetapp> apprProList) {
this.apprProList = apprProList;
}
public List<Budgetapp> getApprProHis() {
return apprProHis;
}
public void setApprProHis(List<Budgetapp> apprProHis) {
this.apprProHis = apprProHis;
}
public List<Budgetapp> getApprFlow() {
return apprFlow;
}
public void setApprFlow(List<Budgetapp> apprFlow) {
this.apprFlow = apprFlow;
}
public List<Budgetapp> getApprUnit() {
return apprUnit;
}
public void setApprUnit(List<Budgetapp> apprUnit) {
this.apprUnit = apprUnit;
}
public List<Budgetapp> getAppName() {
return appName;
}
public void setAppName(List<Budgetapp> appName) {
this.appName = appName;
}
public List<Budgetapp> getAppSum() {
return appSum;
}
public void setAppSum(List<Budgetapp> appSum) {
this.appSum = appSum;
}
public Budgetapp getNewBudget() {
return newBudget;
}
public void setNewBudget(Budgetapp newBudget) {
this.newBudget = newBudget;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
基于javaweb+jsp的费用管理系统(SSH+Oracle)
![preview](https://csdnimg.cn/release/downloadcmsfe/public/img/white-bg.ca8570fa.png)
共297个文件
gif:73个
jsp:62个
xml:56个
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
需积分: 5 0 下载量 83 浏览量
2022-04-16
15:10:15
上传
评论
收藏 2.93MB RAR 举报
温馨提示
基于javaweb+jsp的费用管理系统(SSH+Oracle)
资源详情
资源评论
资源推荐
收起资源包目录
![package](https://csdnimg.cn/release/downloadcmsfe/public/img/package.f3fc750b.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/BMP.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/UNKNOWN.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
![file-type](https://csdnimg.cn/release/download/static_files/pc/images/minetype/GIF.png)
共 297 条
- 1
- 2
- 3
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![jar](https://img-home.csdnimg.cn/images/20210720083455.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
普通网友
- 粉丝: 0
- 资源: 40
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)
评论0