📄 allmethodmgr.java
字号:
if (produceMap.get("product_abstract") != null)
productAbstract = produceMap.get("product_abstract")
.toString();
if (produceMap.get("product_desc") != null)
productDesc = produceMap.get("product_desc").toString();
proMap.put("cust_id", custId);
proMap.put("product_id", produceId);
proMap.put("product_type", produceType);
proMap.put("product_name", productName);
proMap.put("product_class", productClass);
proMap.put("product_site", productSite);
proMap.put("product_abstract", productAbstract);
proMap.put("product_desc", productDesc);
proDuce.add(proMap);
}
return proDuce;
}
public ArrayList BiddingList() throws SaasApplicationException
{
ArrayList biddingList = new ArrayList();
ArrayList bidDing = new ArrayList();
BidExt biddingExt = new BidExt();
biddingList = biddingExt.selByList("SEL_BY_BIDDING");
if (biddingList == null) return null;
for (Iterator its = biddingList.iterator(); its.hasNext();)
{
HashMap biddingMap = (HashMap) its.next();
String custId = null;
String biddingId = null;
String title = null;
String biddingNo = null;
String openDate = null;
String addr = null;
String content = null;
String attachTag = null;
String publish_date = null;
HashMap bidMap = new HashMap();
if (biddingMap.get("bidding_id") != null)
biddingId = biddingMap.get("bidding_id").toString();
if (biddingMap.get("cust_id") != null)
custId = biddingMap.get("cust_id").toString();
if (biddingMap.get("title") != null)
title = biddingMap.get("title").toString();
if (biddingMap.get("bidding_no") != null)
biddingNo = biddingMap.get("bidding_no").toString();
if (biddingMap.get("open_date") != null)
openDate = biddingMap.get("open_date").toString();
if (biddingMap.get("addr") != null)
addr = biddingMap.get("addr").toString();
if (biddingMap.get("content") != null)
content = biddingMap.get("content").toString();
if (biddingMap.get("attach_tag") != null)
attachTag = biddingMap.get("attach_tag").toString();
if (biddingMap.get("publish_date") != null)
publish_date = biddingMap.get("publish_date").toString().substring(0, 10);
bidMap.put("bidding_id", biddingId);
bidMap.put("cust_id", custId);
bidMap.put("title", title);
bidMap.put("bidding_no", biddingNo);
bidMap.put("open_date", openDate);
bidMap.put("addr", addr);
bidMap.put("content", content);
bidMap.put("attach_tag", attachTag);
bidMap.put("publish_date", publish_date);
bidDing.add(bidMap);
}
return bidDing;
}
public ArrayList SaleList() throws SaasApplicationException
{
ArrayList saleList = new ArrayList();
ArrayList seleInfoList = new ArrayList();
SaleInfoExt seleExt = new SaleInfoExt();
seleInfoList = seleExt.selByList("SEL_BY_SALE");
if (seleInfoList == null) return null;
for (Iterator its = seleInfoList.iterator(); its.hasNext();)
{
HashMap saleMap = (HashMap) its.next();
String sale_id = null;
String sale_unit = null;
String sale_type = null;
String title = null;
String content = null;
String sale_class = null;
String sale_addr = null;
String attach_tag = null;
String start_date = null;
String end_date = null;
String publish_date = null;
String publish_user_id = null;
String audit_date = null;
String validity = null;
String audit_user_id = null;
String remark = null;
HashMap saleInfoMap = new HashMap();
if (saleMap.get("sale_id") != null)
sale_id = saleMap.get("sale_id").toString();
if (saleMap.get("sale_unit") != null)
sale_unit = saleMap.get("sale_unit").toString();
if (saleMap.get("sale_type") != null)
sale_type = saleMap.get("sale_type").toString();
if (saleMap.get("sale_class") != null)
sale_class = saleMap.get("sale_class").toString();
if (saleMap.get("sale_addr") != null)
sale_addr = saleMap.get("sale_addr").toString();
if (saleMap.get("attach_tag") != null)
attach_tag = saleMap.get("attach_tag").toString();
if (saleMap.get("start_date") != null)
start_date = saleMap.get("start_date").toString();
if (saleMap.get("end_date") != null)
end_date = saleMap.get("end_date").toString();
if (saleMap.get("publish_date") != null)
publish_date = saleMap.get("publish_date").toString().substring(0, 10);
if (saleMap.get("publish_user_id") != null)
publish_user_id = saleMap.get("publish_user_id").toString();
if (saleMap.get("title") != null)
title = saleMap.get("title").toString();
if (saleMap.get("audit_date") != null)
audit_date = saleMap.get("audit_date").toString();
if (saleMap.get("validity") != null)
validity = saleMap.get("validity").toString();
if (saleMap.get("audit_user_id") != null)
audit_user_id = saleMap.get("audit_user_id").toString();
if (saleMap.get("content") != null)
content = saleMap.get("content").toString();
if (saleMap.get("remark") != null)
remark = saleMap.get("remark").toString();
saleInfoMap.put("sale_id", sale_id);
saleInfoMap.put("sale_unit", sale_unit);
saleInfoMap.put("sale_type", sale_type);
saleInfoMap.put("title", title);
saleInfoMap.put("content", content);
saleInfoMap.put("sale_class", sale_class);
saleInfoMap.put("content", content);
saleInfoMap.put("sale_addr", sale_addr);
saleInfoMap.put("attach_tag", attach_tag);
saleInfoMap.put("start_date", start_date);
saleInfoMap.put("end_date", end_date);
saleInfoMap.put("publish_date", publish_date);
saleInfoMap.put("publish_user_id", publish_user_id);
saleInfoMap.put("audit_date", audit_date);
saleInfoMap.put("validity", validity);
saleInfoMap.put("audit_user_id", audit_user_id);
saleInfoMap.put("remark", remark);
saleList.add(saleInfoMap);
}
return saleList;
}
public ArrayList EntArrayList() throws SaasApplicationException
{
ArrayList entArrayList1 = new ArrayList();
ArrayList entArrayList2 = new ArrayList();
ArrayList entArrayList3 = new ArrayList();
ArrayList entArrayListAll = new ArrayList();
HashMap entdispMap = new HashMap();
String entdispStr = "";
entArrayList1 = this.GetArrayList("1", "000000000000000");
if (entArrayList1 == null) return null;
for (Iterator its = entArrayList1.iterator(); its.hasNext();)
{
HashMap entArrayList1Map = (HashMap) its.next();
String ent1_id = "";
String ent1_name = "";
ent1_id = entArrayList1Map.get("ent_id").toString();
ent1_name = entArrayList1Map.get("ent_name").toString();
entdispStr = "<div id=leftSortMenu><div class=menuLeft></div><div class=menuMiddle>"+ent1_name;
entdispStr = entdispStr + "</div><div class=menuRight></div></div>";
entArrayList2 = this.GetArrayList("2", ent1_id);
if (entArrayList2 != null)
{
for (Iterator its2 = entArrayList2.iterator(); its2.hasNext();)
{
HashMap entArrayList2Map = (HashMap) its2.next();
String ent2_id = "";
String ent2_name = "";
ent2_id = entArrayList2Map.get("ent_id").toString();
ent2_name = entArrayList2Map.get("ent_name").toString();
entdispStr = entdispStr + "<div id=leftSortBody><h1><img src=images/chinannn_f.gif>"+ent2_name+"</h1>";
entArrayList3 = this.GetArrayList("3", ent2_id);
if (entArrayList3 != null)
{
for (Iterator its3 = entArrayList3.iterator(); its3.hasNext();)
{
HashMap entArrayList3Map = (HashMap) its3.next();
String ent3_id = "";
String ent3_name = "";
ent3_id = entArrayList3Map.get("ent_id").toString();
ent3_name = entArrayList3Map.get("ent_name").toString();
entdispStr = entdispStr +ent3_name +"|";
}
}
entdispStr = entdispStr +"</div>";
}
}
entArrayListAll.add(entdispStr);
}
return entArrayListAll;
}
public ArrayList GetArrayList(String level,String up_id) throws SaasApplicationException
{
EnttypeExt enttypeExt = new EnttypeExt();
ArrayList entArrayList = new ArrayList();
enttypeExt.setParam(":VENT_LEVEL", level);
enttypeExt.setParam(":VUP_ENT_ID", up_id);
enttypeExt.setParam(":VENT_TYPE", "0");
entArrayList = enttypeExt.selByList("SEL_BY_LEVEL");
return entArrayList;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -