摘要:
下面的代码为了每天定时发送监控邮件,监控什么呢?监控当天redis队列中是否有没有消费的数据,和当天mysql中新增的数据量 # -*- coding:utf-8 -*- from common.redis import redisServ from common.mysql import database from email.mime.text import MIMEText from em... 阅读全文
posted @ 2019-03-27 18:22
猿起缘灭
阅读(799)
评论(0)
推荐(0)
摘要:
select @rownum:=@rownum+1 AS rownum,b.* from (SELECT @rownum:=0) r ,goods_description_new b 阅读全文
posted @ 2019-03-27 14:03
猿起缘灭
阅读(142)
评论(0)
推荐(0)
摘要:
import timetime.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) 阅读全文
posted @ 2019-03-27 10:41
猿起缘灭
阅读(220)
评论(0)
推荐(0)
摘要:
select * from table where id in (select max(id) from table group by sku) 说明:id是自增序列,sku是表中的一个字段 阅读全文
posted @ 2019-03-27 10:24
猿起缘灭
阅读(16252)
评论(0)
推荐(0)

浙公网安备 33010602011771号