首页>代码>spring+Struts2+mybatis+bootstrap整合开发元亨地产员工提成结算管理系统>/yuanheng1/YuanHeng3/src/com/yuanheng/action/ConcernsAction.java
package com.yuanheng.action; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.interceptor.ServletResponseAware; import org.apache.struts2.interceptor.SessionAware; import com.opensymphony.xwork2.ActionSupport; import com.yuanheng.pojo.Concerns; import com.yuanheng.pojo.Shop; import com.yuanheng.pojo.Staff; import com.yuanheng.service.ConcernsService; import com.yuanheng.service.ShopService; import com.yuanheng.service.StaffService; import com.yuanheng.util.Constants; public class ConcernsAction extends ActionSupport implements SessionAware, ServletResponseAware { private javax.servlet.http.HttpServletResponse response; private Map<String, Object> session = new HashMap<String, Object>(); private StaffService staffService; private Staff staff; private List<Staff> staffList; private List<Shop> shopLisst; private ShopService shopService; private ConcernsService concernsService; private Concerns concerns; private int zhuanzou; public javax.servlet.http.HttpServletResponse getResponse() { return response; } public void setResponse(javax.servlet.http.HttpServletResponse response) { this.response = response; } public StaffService getStaffService() { return staffService; } public void setStaffService(StaffService staffService) { this.staffService = staffService; } public Staff getStaff() { return staff; } public void setStaff(Staff staff) { this.staff = staff; } public ConcernsService getConcernsService() { return concernsService; } public void setConcernsService(ConcernsService concernsService) { this.concernsService = concernsService; } public Concerns getConcerns() { return concerns; } public void setConcerns(Concerns concerns) { this.concerns = concerns; } public Map<String, Object> getSession() { return session; } public List<Staff> getStaffList() { return staffList; } public void setStaffList(List<Staff> staffList) { this.staffList = staffList; } public int getZhuanzou() { return zhuanzou; } public void setZhuanzou(int zhuanzou) { this.zhuanzou = zhuanzou; } public List<Shop> getShopLisst() { return shopLisst; } public void setShopLisst(List<Shop> shopLisst) { this.shopLisst = shopLisst; } public ShopService getShopService() { return shopService; } public void setShopService(ShopService shopService) { this.shopService = shopService; } private static final long serialVersionUID = 1L; @Override public void setSession(Map<String, Object> session) { // TODO Auto-generated method stub this.session = session; } @Override public void setServletResponse(HttpServletResponse response) { // TODO Auto-generated method stub this.response = response; } }