|
7#
楼主 |
发表于 2009-11-18 21:43:10
|
只看该作者
web_reg_save_param("score_id",
"LB=score_id=\"",
"RB=\" provider_id=\"",
"ORD=ALL",
LAST);
web_submit_data("save.so",
"Action=http://10.85.23.72:8002/WebContent//ldappraiser/save.so?jsession=hsJ1K3CPb53pRv2RnBf8MrYpZ9G4xy4rGyXDDTbmR2hDvnvZsT42!890700216!1257751215625",
"Method=POST",
"RecContentType=text/html",
"Referer=",
"Snapshot=t16.inf",
"Mode=HTML",
ITEMDATA,
"Name=xml", "Value=<?xml version=\"1.0\" encoding=\"UTF-8\"?><appraisement><product product_id=\"900000000000038033\"><scores><score score=\"10.0\" score_id=\"900000000000003325\"/><score score=\"3.0\" score_id=\"900000000000003336\"/><score score=\"5.0\" score_id=\"900000000000003363\"/><score score=\"5.0\" score_id=\"900000000000003347\"/><score score=\"3.0\" score_id=\"900000000000003352\"/><score score=\"5.0\" score_id=\"900000000000003360\"/><score score=\"1.0\" score_id=\"900000000000003353\""
"/><score score=\"5.0\" score_id=\"900000000000003333\"/><score score=\"2.0\" score_id=\"900000000000003328\"/><score score=\"1.0\" score_id=\"900000000000003335\"/><score score=\"5.0\" score_id=\"900000000000003345\"/><score score=\"3.0\" score_id=\"900000000000003322\"/><score score=\"5.0\" score_id=\"900000000000003344\"/><score score=\"5.0\" score_id=\"900000000000003359\"/><score score=\"1.0\" score_id=\"900000000000003338\"/><score score=\"5.0\" score_id=\"900000000000003361\"/><score score="
"\"1.0\" score_id=\"900000000000003354\"/><score score=\"3.0\" score_id=\"900000000000003351\"/><score score=\"3.0\" score_id=\"900000000000003342\"/><score score=\"5.0\" score_id=\"900000000000003330\"/><score score=\"5.0\" score_id=\"900000000000003331\"/><score score=\"1.0\" score_id=\"900000000000003323\"/><score score=\"5.0\" score_id=\"900000000000003362\"/><score score=\"5.0\" score_id=\"900000000000003332\"/><score score=\"2.0\" score_id=\"900000000000003343\"/><score score=\"5.0\" score_id"
"=\"900000000000003329\"/><score score=\"3.0\" score_id=\"900000000000003357\"/><score score=\"5.0\" score_id=\"900000000000003356\"/><score score=\"3.0\" score_id=\"900000000000003321\"/><score score=\"5.0\" score_id=\"900000000000003364\"/><score score=\"1.0\" score_id=\"900000000000003324\"/><score score=\"1.0\" score_id=\"900000000000003339\"/><score score=\"5.0\" score_id=\"900000000000003346\"/><score score=\"3.0\" score_id=\"900000000000003327\"/><score score=\"10.0\" score_id=\""
"900000000000003340\"/><score score=\"4.0\" score_id=\"900000000000003334\"/><score score=\"5.0\" score_id=\"900000000000003349\"/><score score=\"1.0\" score_id=\"900000000000003350\"/><score score=\"1.0\" score_id=\"900000000000003365\"/><score score=\"5.0\" score_id=\"900000000000003341\"/><score score=\"5.0\" score_id=\"900000000000003326\"/><score score=\"3.0\" score_id=\"900000000000003337\"/><score score=\"5.0\" score_id=\"900000000000003348\"/><score score=\"10.0\" score_id=\""
"900000000000003355\"/><score score=\"2.0\" score_id=\"900000000000003358\"/></scores><totals><total provider_id=\"900000000000000013\" sum_score=\"58.0\"/><total provider_id=\"900000000000000016\" sum_score=\"59.0\"/><total provider_id=\"900000000000000020\" sum_score=\"59.0\"/></totals></product></appraisement>", ENDITEM,
"Name=pronum", "Value=3", ENDITEM,
LAST);
这样一段脚本,通过关联取出score_id,如果存在1000个score_id就需要手工维护1000次,不知道有没有什么好一点的方法来做关联? |
|