账号通
    

账号  

密码  

3238

查看

6

回复
主题:KesionEshop V9.0x商城系统过了抢购时间,抢购价没有恢复的修改。 [收藏主题] 转到:  
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2013/5/27 14:14:26   | 显示全部帖子 查看该作者主题 楼主 
科汛在线网校系统

问题如题


解决方法:打开shop/limitbuy.asp


Loop
  RS.Close
  
  '==========================================================================================================
        '抢购结束的商品恢复状态
   conn.execute("update ks_product set islimitbuy=0 where LimitBuyTaskID in(select id from KS_ShopLimitBuy where datediff(" & DataPart_S &",LimitBuyEndTime," & SqlNowString&")>0)")
   

        SqlStr = "SELECT  top " & Num & " I.ID,I.Title,I.Fname,i.photourl,I.Tid,I.Price,I.Price_member,i.unit,I.IsLimitbuy,I.LimitBuyPrice,I.LimitBuyAmount,I.Unit,L.LimitBuyBeginTime,L.LimitBuyEndTime,L.TaskType FROM KS_Product I Inner Join KS_ShopLimitBuy L ON I.LimitBuyTaskID=L.id Where L.Status=1"
  If Id<>0 Then SqlStr=SqlStr & " and L.id=" & ID Else SqlStr=SqlStr & " order by l.id desc"
        RS.Open SqlStr, conn, 1, 1





增加上面红色的代码即可。

 
KesionCMS,,
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.05859秒 powered by KesionCMS 9.0