【更新】云夜卡Thinkphp内核1.7.1正版全解无加密源码

3000元购买来的小夜网络的源码,社区源码水很深,建议不要亲自去购买昂贵的源码文件!

现在分享给大家使用!有能力的可以进行二开使用,底包文件非常精致。

全局替换QQ3195219190,网址ma65.cn


触发器代码

 

BEGIN

if (old.g_price = new.g_price) then

set @type=0;

END IF ;

if (old.g_price < new.g_price) then

set @type=1;

END IF ;

if (old.g_price > new.g_price) then

set @type=2;

END IF ;

 

if (old.g_price != new.g_price) then

insert into xiaoyewl_web_goods_monitor(m_webId,m_type,m_goods_id,m_goods_old_price,m_goods_new_price,m_date)

values(new.g_webId,@type,new.id,old.g_price ,new.g_price,SYSDATE());

END IF ;

END

触发器代码:

BEGIN
if (old.g_price = new.g_price) then
set @type=0;
END IF ;
if (old.g_price < new.g_price) then
set @type=1;
END IF ;
if (old.g_price > new.g_price) then
set @type=2;
END IF ;

if (old.g_price != new.g_price) then
  insert into xiaoyewl_web_goods_monitor(m_webId,m_type,m_goods_id,m_goods_old_price,m_goods_new_price,m_date) 
		 values(new.g_webId,@type,new.id,old.g_price ,new.g_price,SYSDATE());
END IF ;
END

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注