|
|
本帖最后由 purple 于 2011-12-1 18:14 编辑
视图过滤SQL:
var rdoc = getRelateDocument();
var value = rdoc.getItemValueAsString("nameCN_s");
var sql = " select tlk_fm_activity_person.item_participant as participant,tlk_fm_activity_person.id,tlk_fm_activity_person.domainid from tlk_fm_activity_person, tlk_fm_activities where tlk_fm_activities.ID = tlk_fm_activity_person.item_activityID and tlk_fm_activity_person.item_company = '"+ value +"'";
sql;
(在mysql>运行正常,有六条记录)
列设置中: 类型 script 值脚本:getItemValue("participant");
前台没有记录显示,Tomcat显示:item partipant's value can't get as string
知道是什么问题造成的吗? |
|