91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 24.16MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-04
  • 語言: Java
  • 標簽: 小區物業??

資源簡介

智能小區管理系統javaweb+mysql,jdk版本是1.7,如果用1.8的jdk,請添加jar包

資源截圖

代碼片段和文件信息

package?com.jypc.action;

import?java.io.IOException;
import?java.io.PrintWriter;
import?java.util.List;

import?javax.annotation.Resource;
import?javax.servlet.http.HttpServletRequest;
import?javax.servlet.http.HttpServletResponse;

import?net.sf.json.JSONobject;

import?org.apache.struts2.ServletActionContext;

import?com.jypc.bean.AssetInfoBean;
import?com.jypc.bean.AssetTypeBean;
import?com.jypc.bean.PagerView;
import?com.jypc.dao.AssetInfoDao;
import?com.opensymphony.xwork2.ActionSupport;

public?class?AssetInfoAction?extends?ActionSupport?{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
private?List?assetInfoList;//?物業費用信息集合
private?List?assetTypeList;//?費用類型信息
private?String?id;
private?String?tips;
private?AssetInfoBean?model;
private?PagerView?pager?=?new?PagerView();
AssetInfoDao?assetInfoDao;

@Resource(name?=?“assetInfoDao“)
public?void?setAssetInfoDao(AssetInfoDao?assetInfoDao)?{
this.assetInfoDao?=?assetInfoDao;
}

@Override
public?String?execute()?throws?Exception?{
initData();
return?“success“;
}

/**
?*?初始化數據
?*/
public?void?initData()?{

pager.setAllData(assetInfoDao.getDataNum());
assetInfoList?=?assetInfoDao.getAssetInfoList(pager);
assetTypeList?=?assetInfoDao.getAssetTypeList();
}

/**
?*?判斷主鍵是否重復
?*?
?*?@throws?IOException
?*/
public?void?exists()?throws?IOException?{
HttpServletResponse?response?=?ServletActionContext.getResponse();
PrintWriter?out?=?response.getWriter();

int?result?=?assetInfoDao.exists(id)???1?:?0;
out.print(result);
out.flush();//?刷新
out.close();//?關閉
}

/**
?*?物業費用信息添加
?*?
?*?@return?0[失敗]?>0[成功]
?*/
public?String?assetAdd()?{
int?result?=?0;
result?=?assetInfoDao.assetAdd(model);
if?(result?>?0)?{
tips?=?“添加成功!“;
}?else?{
tips?=?“添加失敗!“;
}
initData();
return?“success“;
}

/**
?*?刪除單條信息
?*?
?*?@return?true:刪除成功;false:刪除失敗
?*/
public?String?delInfo()?{
int?result?=?assetInfoDao.delInfo(id);
if?(result?>?0)?{
setTips(“刪除成功!“);
}?else?{
setTips(“刪除失?。 埃?
}
initData();
return?“success“;
}

/**
?*?刪除所選中的記錄
?*?
?*?@return
?*/
public?String?deleteAssetLists()?{
HttpServletRequest?request?=?ServletActionContext.getRequest();
//?獲取所選中的,名字叫delCost的復選框按鈕的值
String[]?assetInfoList?=?request.getParameterValues(“delAsset“);
int?result?=?0;
for?(String?item?:?assetInfoList)?{
result?+=?assetInfoDao.delInfo(item);
}
this.tips?=?“成功刪除了“?+?result?+?“條記錄“;
initData();
return?“success“;
}

/**
?*?根據費用編號獲取要修改的物業費用信息
?*?
?*?@throws?IOException
?*/
public?void?getAssetModel()?throws?IOException?{
HttpServletResponse?response?=?ServletActionContext.getResponse();
response.setContentType(“text/html“);
response.setCharacterEncoding(“UTF-8“);
PrintWriter?out?=?response.getWriter();//?獲取out
out.print(JSONobject.f

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\
?????文件????????1217??2017-11-02?10:00??Intelligent_Community\.classpath
?????文件????????1346??2016-02-26?10:41??Intelligent_Community\.project
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\.settings\
?????文件?????????522??2016-02-26?10:41??Intelligent_Community\.settings\.jsdtscope
?????文件?????????251??2016-02-26?10:41??Intelligent_Community\.settings\com.genuitec.eclipse.core.prefs
?????文件??????????79??2016-02-26?10:41??Intelligent_Community\.settings\com.genuitec.eclipse.migration.prefs
?????文件??????????57??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.core.resources.prefs
?????文件?????????364??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.jdt.core.prefs
?????文件?????????524??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.wst.common.component
?????文件?????????172??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.wst.common.project.facet.core.prefs.xml
?????文件?????????462??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.wst.common.project.facet.core.xml
?????文件??????????49??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2016-02-26?10:41??Intelligent_Community\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\meta-INF\
?????文件??????????39??2016-02-26?10:41??Intelligent_Community\WebRoot\meta-INF\MANIFEST.MF
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\StrutsDtd\
?????文件????????3764??2016-02-26?10:41??Intelligent_Community\WebRoot\StrutsDtd\struts-2.3.dtd
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\WEB-INF\
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\WEB-INF\classes\
?????文件????????2664??2016-02-26?10:41??Intelligent_Community\WebRoot\WEB-INF\classes\beans.xml
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\WEB-INF\classes\com\
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\
?????目錄???????????0??2017-11-02?09:55??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\
?????文件????????5621??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\AssetInfoAction.class
?????文件????????5194??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\AssetTypeAction.class
?????文件????????5852??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\BuildingAction.class
?????文件????????6686??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\CardAction.class
?????文件????????5489??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\CommunityInfoAction.class
?????文件????????6379??2016-02-26?16:07??Intelligent_Community\WebRoot\WEB-INF\classes\com\jypc\action\CompleteCostAction.class
............此處省略564個文件信息

評論

共有 條評論