颐和果园模式系统开发解析
颐和果园模式系统开发解析
颐和果园模式系统平台中的产品是应季水果,根据季节不断更新,现摘现发,无添加剂,新鲜好吃,回头客多,全国统一零售价。颐和果园利用微信朋友圈及颐和果园系统销售,代理只管卖货,不用囤货,公司提供专门的下单软件,随时下单和查询物流信息。公司有专门的采购员和发货员,货物直接发到客户手里,坏果公司全部理赔。
在制作颐和果园模式平台中,我总结了以下几个要点:
1、要建立存储过程供事件调用
delimiter//
drop procedure if exists middle_proce//
create procedure middle_proce()
begin
DELETE FROM jg_bj_comit_log WHERE comit_time<SUBDATE(NOW(),INTERVAL 2 MONTH);
DELETE FROM jg_bj_order_create WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_order_match WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_order_cancel WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_operate_arrive WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_operate_depart WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_operate_login WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_operate_logout WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_operate_pay WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_position_driver WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_position_vehicle WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
DELETE FROM jg_bj_rated_passenger WHERE created_on<SUBDATE(NOW(),INTERVAL 3 MONTH);
end//
delimiter;
2、要开启event(要使定时起作用,MySQL的常量GlOBAL event_schduleer必须为on或者1)
show variables like’event_scheduler’
set global event_scheduler=’on’
3、要开启Event事件
alter event middle_event on completion preserve enable;
要想系统平台稳定必须要用最精确最简短的语言做最全面的布局!不然到时系统做出来BUG问题肯定会很多!再去修正就会很浪费时间了!颐和果园模式系统开发,颐和果园系统开发解析定制找137..607.36136.(微/电)!这个平台之所以做的好,始于它的产品水果新鲜有机健康,亮点在于有良好稳定的系统来做支撑!它采用的水果+互联网的模式也给大家带来了不一样的体验!
互联网时代模式改变世界!我们一个个代码的敲打也显得尤其重要!一个需要代码的时代,咱们技术员加油啦!