|
主题:v6多模型文章关联临时解决方案~ [收藏主题] | 转到: |
Kesion.Label.FunctionCls.asp 190行左右:
If ModelID<>"0" Then Else
改为: If ModelID<>"0" Then
Kesion.AdministratorCls.asp 817 行左右
SQLStr="Select TOP 200 I.ChannelID,I.InfoID,I.Title From KS_ItemInfo I Inner Join KS_ItemInfoR R On I.InfoID=R.RelativeID Where R.ChannelID=" & ChannelID &" and R.InfoID=" & ID
改为:
SQLStr="Select TOP 200 I.ChannelID,I.InfoID,I.Title From KS_ItemInfo I Inner Join KS_ItemInfoR R On I.InfoID=R.RelativeID Where R.ChannelID=" & ChannelID &" and R.InfoID=" & ID &" and R.RelativeChannelID=I.ChannelID" |
|
支持(0) | 反对(0) 顶端 底部 |
<上一主题 | 下一主题 > |