src/com/action/hetongAction.java

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.action;
import java.util.ArrayList;
import java.util.List;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.util.StaticMethod;
import com.bean.hetong;
import com.bean.yonghu;
import com.dao.hetongDao;

/*
对合同功能进行维护
*/
@SuppressWarnings("serial")

public class hetongAction extends ActionSupport {
private static final long serialVersionUID = 1L;
	private hetongDao dao=null;
	private	hetong hetong=new hetong();////对合同进行管理bean
	private List<hetong> hetongs=new ArrayList<hetong>();//对合同进行管理获得结果集返回list
	
	private String key="";
	private int pageNum=1;
	private int pageCount=0;
	public hetong getHetong() {
		return hetong;
	}
	public void setDao(hetongDao dao) {
		this.dao = dao;
	}
	
	public void setHetong(hetong hetong) {
		this.hetong = hetong;
	}
	public List<hetong> getHetongs() {
		return hetongs;
	}
	
	public String execute()
	{//默认合同功能 添加 暂时留空
	return "";
	}
	public String addPage(){
	//合同添加页面
	try{
	
	}catch(Exception e){
	System.out.println(e.toString());
	}
	return "hetongaddPage";
	}
	public String add()
	{//对表hetong进行添加操作	
		try{
	
		dao.addhetong(hetong);
		}catch(Exception e){
			System.out.println(e.toString());
			
		}
后面还有 116 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。