File:en/ProductsThr.htm
Method:query.dataScalar(sql)
'=' 附近有语法错误。 select EnCatalogName from cpcatalog where CatalogId=
数据库执行错误
themes/theme/en/xmls/engoods.xmls
...mMap[Price],1,@userMap[UserGrade],@userMap[UserType]);
}


//��Ʒ����
$sub viewGoods(){
@queryGoods=$query(goods,goods);
@Guid=$argv(0,$null);
@rowGoods=@queryGoods.dataMap(['select * from cpgoods where CAS='{@Guid}' or GoodsCode='{@Guid}' or GoodsName='{@Guid}' ']);
@CatalogName=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={@rowGoods[CatalogId]}']);
@pid=@queryGoods.dataScalar(['select ParentId from cpcatalog where CatalogId={@rowGoods[CatalogId]}']);
@
CATALOGNAME=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={@pid}']);
//�ܷ�����
@pid=@queryGoods.dataScalar(['select ParentId from cpcatalog where CatalogId={@rowGoods[CatalogId]}']);
@pid2=@queryGoods.dataScalar(['select ParentId from cpcatalog where CatalogId={@pid}']);
@Productss=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={@pid2}']);
@ResearchArea=@queryGoods.dataScalar(['select EnCatalogName from cpcatalog where CatalogId={...