求助关联多值报错,谢谢
web_reg_save_param_ex("ParamName=SUPPOSE_START_TIME",
"LB= SUPPOSE_START_TIME=\"",
"RB=\" BRAND=\"VW\"",
SEARCH_FILTERS,
"Scope=All",
"RequestUrl=*/DelphiXmlChannel*",
LAST);
web_reg_save_param_ex(
"ParamName=SUPPOSE_FINISH_TIME",
"LB= SUPPOSE_FINISH_TIME=\"",
"RB=\" IN_FACTORY_TIME=\"\"",
SEARCH_FILTERS,
"Scope=All",
"RequestUrl=*/DelphiXmlChannel*",
LAST);
web_reg_save_param_ex(
"ParamName=xyz",
"LB= CREATE_DATE=\"",
"RB=\" LABOUR_NAME",
SEARCH_FILTERS,
"Scope=All",
"ord=2",
"RequestUrl=*/DelphiXmlChannel*",
LAST);第三个关联有多个值,用ORD=2后报错
work.c(32): 注册 web_reg_save_param_ex 成功
work.c(47): 错误 -26396: “ord=2”参数(编号为 6)无法识别或位置错误
work.c(47): 注册 web_reg_save_param_ex 的最高严重级别为“ERROR”
work.c(47): 通知: 事务 "DISPATCH" 以 "Fail" 状态结束 (持续时间: 0.5010 浪费的时间: 0.0443)。
把ORD=2去掉运行正常,但关联的值不是我想要的 可能给的信息太少,这是客户端发消息后服务器响应的数据,我从中取返回的CREATE_DATE的具体时间
<HEAD>
<RESULT SUCCESS="1" MSGCODE="" MSG=""/>
</HEAD>
<BODY>
<DATASET NAME="TT_RO_LABOUR">
<META LABOUR_ITEM_ID="LONG" NONEEDQA="STRING" TROUBLE_DESC="STRING" STD_LABOUR_HOUR="DOUBLE" ASSIGN_ID="LONG" ORDER_NAME="OBJECT" CREATE_BY="LONG" RO_NO="STRING" CREATE_DATE="DATE" LABOUR_NAME="STRING" LABOUR_CODE="STRING" ORDER_CODE="OBJECT" DISPATCH_NAME="OBJECT" QA_RESULT_ITEM_ID="LONG" STATUS="INTEGER" IS_ADD="STRING" QA_RESULT_ID="LONG" ITEM_ID="LONG" ASSIGN_ITEM_ID="LONG" UPDATE_DATE="DATE" QA_PROCESS="OBJECT" TROUBLE_CAUSE="STRING" POSITION_NAME="OBJECT" DISPATCH_CODE="STRING" MOVE_ITEM_ID="INTEGER" FLAG="INTEGER" UPDATE_BY="LONG" ASSIGN_LABOUR_HOUR="DOUBLE" QA_RESULT="OBJECT" LABOUR_STATUS="INTEGER" REMARK="OBJECT"/>
<BEAN LABOUR_ITEM_ID="50297" NONEEDQA="0" TROUBLE_DESC="" STD_LABOUR_HOUR="5" ASSIGN_ID="0" ORDER_NAME="" CREATE_BY="999999998" RO_NO="201311-0068 " CREATE_DATE="2013-11-25 16:34:32" LABOUR_NAME="妫 急求啊,是不是我描述的不清楚,还需要哪些信息吗 求帮忙啊,卡在这个问题上已经好几天了,我就纳闷了,这么就不能用ord这个参数呢 坑爹啊,困扰我2天的问题终于解决了:'(,原来ord位置不对,应放RB下面,另外ord不能用,必须写完整ordinal=2,我晕,我在网上查的怎么全是ord=2,难道lr11新改成这样了,还是我哪没配对?附上可完美运行的代码web_reg_save_param_ex(
"ParamName=supposeStartTime",
"LB= SUPPOSE_START_TIME=\"",
"RB=\" ASSIGN_ID",
"ordinal=2",
SEARCH_FILTERS,
"Scope=All",
"RequestUrl=*/DelphiXmlChannel*",
LAST); 楼主精神可嘉:)
通常我是找到目标值直接右键生成,然后再优化
页:
[1]