资源简介
使用SSH+MYSQL+JSP完成,可以独立运行,包含所有代码和数据库,不会配环境的加我
代码片段和文件信息
package com.hp.action;
import java.util.HashMap;
import java.util.linkedList;
import java.util.List;
import java.util.Map;
import com.hp.entity.AssetSmallType;
import com.hp.entity.AssetType;
import com.hp.entity.DataBasic;
import com.hp.entity.Vinasset;
import com.hp.util.DataChangeUtil;
import com.opensymphony.xwork2.ActionContext;
public class AssetAction extends baseAction {
/**
*
*/
private static final long serialVersionUID = 1L;
public static final String GLOBAL_ASSETTYPE=“global_assettype_list“;//������б�
public static final String GLOBAL_ASSETSMALLTYPE=“global_double_list“;//С����б�
Map doubleMap = new HashMap();
private DataBasic databasic;
private int devCode;
private AssetSmallType assettype = new AssetSmallType();
private String assetSmallTypeName;
private AssetSmallType assetSmallType;
private List AssetSmallTypeListAll;
private String smalltypename;
private List AssetTypeListAll;
private String typename;
private AssetType assetType;
private int ID;
private List dataBasicList;
private String message;
private Vinasset vinasset;
private List vinassetList;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String addFixedAssetsPre() {
AssetSmallTypeListAll = assetSmallTypeService.AssetSmallTypeListAll();
return SUCCESS;
}
public String addFixedAssets(){
if(databasicService.findByDataBasicDevCode(databasic.getDevCode())== null){
message = “�Բ��
- 上一篇:dbf转换成xls
- 下一篇:Java程序员面试宝典-杨磊_高清版[带完整书签目录]
评论
共有 条评论