提交 585c468d authored 作者: zengzhi's avatar zengzhi

auto commit

上级 90192cc6
# 2020年03月01日运行日报:https://git.sjfx.com.cn/report/daily/blob/master/2020-03-01/daily.md
## 服务器情况
|服务器 |CPU使用率 |内存使用率 |主硬盘使用率 |查看详情 |
| :- | :-: | :-: | :-: | :- |
|v3nginx |- |- |- |http://47.98.156.252:17123/|
|v3-publish |5.06% |42.5% |67% |http://47.110.9.96:17123/|
|v3-base-mq001 |2.52% |67.7% |34.5% |http://114.55.171.242:17123/|
|v3-base-mq002 |3.16% |68.4% |25% |http://47.110.226.218:17123/|
|proxy-local |1.54% |33.3% |22.5% |http://47.96.14.81:17123/|
|v3eureka001 |8.18% |75.6% |26.7% |http://47.110.137.241:17123/|
|v3eureka002 |9.46% |78.1% |61.3% |http://114.55.171.107:17123/|
|v3-gateway001 |2.53% |59.1% |51.7% |http://47.111.11.230:17123/|
|v3-gateway002 |2.18% |42.8% |53% |http://47.110.14.10:17123/|
|v3-gateway003 |2.86% |77.2% |48.8% |http://47.110.12.94:17123/|
|v3-gateway004 |2.82% |78.8% |48.8% |http://114.55.169.175:17123/|
|v3-BS-F001 |5.33% |69.7% |20.9% |http://47.98.220.95:17123/|
|v3-BS-F002 |8.03% |53.8% |23% |http://47.111.105.30:17123/|
|v3-BS-F003 |5.46% |79.1% |26% |http://47.111.105.137:17123/|
|v3-BS-F004 |6.28% |79.8% |21.9% |http://47.111.105.218:17123/|
|v3-BS-H001 |4.92% |69.1% |20.5% |http://47.111.169.175:17123/|
|v3-BS-H002 |7.97% |55.2% |23% |http://114.55.171.6:17123/|
|v3-BS-H003 |5.4% |**83.2%** |25.7% |http://47.111.186.205:17123/|
|v3-BS-H004 |5.89% |79.7% |22% |http://114.55.209.3:17123/|
|v3-BS-G001 |6.04% |73.2% |20.1% |http://114.55.243.46:17123/|
|v3-BS-G002 |17% |54.1% |22.1% |http://47.98.158.5:17123/|
|v3-BS-G003 |6.45% |**90.6%** |20.7% |http://47.98.220.48:17123/|
|v3-BS-G004 |7.79% |75.6% |25.7% |http://47.111.79.177:17123/|
|v3-BS-I001 |5.06% |74.6% |22.4% |http://114.55.243.77:17123/|
|v3-BS-I002 |17.1% |53.8% |22.3% |http://114.55.242.246:17123/|
|v3-BS-I003 |7.82% |**80.6%** |21.1% |http://47.110.15.201:17123/|
|v3-BS-I004 |5.4% |**83.4%** |24.5% |http://114.55.243.68:17123/|
|v3-tag |2.89% |73.3% |17.1% |http://47.110.13.5:17123/|
## 数据库情况
### rm-bp1qn4bl8d8p9mnm4
内存使用率: 最小值 38.99% 最大值 39.45% 平均值 0.027414871438499%
CPU使用率: 最小值 0.97% 最大值 96.88% 平均值 11.7963724808895%
每秒IO请求次数: 最小值 0 最大值 2312.73 平均值 46.5630229325922
连接数: 最小值 421 最大值 436.78 平均值 424.9623419041
活跃连接数: 最小值 0 最大值 3.28 平均值 0.246942321056286
空间使用量: 总使用量;75880.78MB 数据使用量;70689.82MB 日志使用量;770.08MB 临时使用量;3.08MB 系统使用量:4417.81MB
### rr-bp13k3q7292ce5t6k
内存使用率: 最小值 33.81% 最大值 33.81% 平均值 33.81%
CPU使用率: 最小值 5.43% 最大值 5.43% 平均值 5.43%
每秒IO请求次数: 最小值 323.22 最大值 323.22 平均值 323.22
连接数: 最小值 60 最大值 60 平均值 60
活跃连接数: 最小值 0.19 最大值 0.19 平均值 0.19
空间使用量: 总使用量;74508.79MB 数据使用量;70461.97MB 日志使用量;916.89MB 临时使用量;1.59MB 系统使用量:3128.35MB
### rm-bp1piz35u161jjc92
内存使用率: 最小值 46.83% 最大值 46.86% 平均值 5.20666666666667%
CPU使用率: 最小值 86.45% 最大值 91.43% 平均值 88.9188888888889%
每秒IO请求次数: 最小值 2182.97 最大值 2687.41 平均值 2405.17666666667
连接数: 最小值 84 最大值 84 平均值 84
活跃连接数: 最小值 16.62 最大值 19.27 平均值 17.7044444444444
空间使用量: 总使用量;60252.64MB 数据使用量;48449.37MB 日志使用量;5715.13MB 临时使用量;9.62MB 系统使用量:6078.53MB
慢日志:[rm-bp1qn4bl8d8p9mnm4](rm-bp1qn4bl8d8p9mnm4slowsql.md)
慢日志(excel):[rm-bp1qn4bl8d8p9mnm4](rm-bp1qn4bl8d8p9mnm4slowsql.xlsx)
慢日志:[rm-bp1piz35u161jjc92](rm-bp1piz35u161jjc92slowsql.md)
慢日志(excel):[rm-bp1piz35u161jjc92](rm-bp1piz35u161jjc92slowsql.xlsx)
## zookeeper当前情况
zk_version 3.4.12-e5259e437540f349646870ea94dc2658c4e44b3b, built on 03/27/2018 03:55 GMT
zk_avg_latency 0
zk_max_latency 966
zk_min_latency 0
zk_packets_received 76871278
zk_packets_sent 76953381
zk_num_alive_connections 48
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 3094
zk_watch_count 1129
zk_ephemerals_count 1734
zk_approximate_data_size 981475
zk_open_file_descriptor_count 82
zk_max_file_descriptor_count 1048576
zk_followers 3
zk_synced_followers 3
zk_pending_syncs 0
## Redis情况
Cpu使用率:0.60%
已用内存:114151000.00Byte
每秒总访问量:108.92
已用连接数:1524.25
键总数:18406.00
设置过期时间的key数量:18399.00
每秒请求次数:59.73 最大每秒请求次数:463.81
每秒回复次数:1344.44 最大每秒回复次数:5285.15
## 昨日注册情况
![register](register.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/19697bf0-85e1-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-29T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
## 7日注册情况
![7register](7register.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/ef3e87a0-86a1-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-22T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
## 昨日访问情况
![vistpai](vistpai.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/8aee1530-86a7-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-29T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
![visttable](visttable.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/94ad9340-86a5-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-29T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
## 昨日请求数
![reqcount](reqcount.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/35503f30-86a8-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-29T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
## 7日请求数
![7reqcount](7reqcount.jpg)
[url](http://kibana.sjfx.com.cn/app/kibana#/visualize/edit/b810fea0-86a8-11e9-b79e-3bd17e684a34?embed=true&_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3A'2020-02-22T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2020-03-01T15%3A59%3A59.999Z')))
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|mysql|delete from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|2|2||0|0|656587|656587|0|0|
|platform|select * from ( select * from coupondetail where getuid = :1 and ( couponstate = :2 or couponstate = :3 ) and expirytime >= now ( ) ) as tv limit :4 , :5|1|3|3||0|0|322224|322224|0|0|
|authorization_service|update user_login_token set status = :1 where user_id = :2 and tenant_id = :3 and tenant_wx_app_id = :4 and login_way = :5|1|1|1||0|0|134|134|0|0|
|gift_mail|select * from ( select p.* , sp.take_type , ifnull ( pp.integral_price , ifnull ( ( select min ( inventory.price ) from inventory where inventory.product_id = p.id ) , :1 ) ) as price , ifnull ( t.quantity , :2 ) quantity , pt.partner_name vendorname , 0.0 distance , c.categroy_name categroy_name , pp.partner_id partner_id from product p inner join category c on c.id = p.category_id left outer join self_product sp on p.id = sp.product_id left outer join partner_product pp on p.id = pp.product_id left outer join partner pt on pt.id = pp.partner_id left outer join ( select product_id , sum ( quantity ) quantity from gift_mail.inventory group by product_id ) t on p.id = t.product_id where ( ( p.is_disable is null or p.is_disable = :3 ) ) ) as p where ( p.tenant_id = :4 ) order by p.id desc limit :5 , :6|1|1|1||0|0|18269|18269|20|20|
|order|select tenant_wechatapp_id from order_info where status = :1 and child_status is null group by tenant_wechatapp_id|1|1|1||0|0|71542|71542|6|6|
|mysql|insert into erp_sync.sync_record_20190924 select * from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|13|13||0|0|656587|656587|0|0|
|coupon_service|select * from coupon_user where datediff ( date_format ( end_time , :1 ) , date_format ( now ( ) , :2 ) ) = :3 and coupon_state in ( :4 )|1|10|10||0|0|792948|792948|880|880|
|user_service|select count ( 0 ) from tenant_user tenantuser join user_service.user user on tenantuser.user_id = user.id where ( tenantuser.tenant_id = :1 and tenantuser.tenant_app_id = :2 and tenantuser.user_id not in ( :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 , :27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38 , :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 ) )|1|12|12||0|0|269130|269130|1|1|
|user_service|select * from user_employee where employee_erp_id = :1 and tenant_id = :2 and date_format ( update_time , :3 ) = date_format ( now ( ) , :4 )|1|1|1||0|0|1355794|1355794|8|8|
|mysql|insert into erp_to_platform.sync_log_20190924 select * from erp_to_platform.sync_log where create_time < date_sub ( now ( ) , interval :1 day )|1|1|1||0|0|64077|64077|0|0|
|warranty_service|select *from warranty_service.warranty where upload_frequency <= :1 and version = :2 and warranty_img_url is null|1|15|15||0|0|448992|448992|0|0|
|employee|select count ( 0 ) from backlog where tenant_app_id = :1 and employee_id = :2 and status in ( :3 , :4 ) and shop_id = :5 and scene = :6 and expire_time >= :7|1|1|1||0|0|3371|3371|1|1|
|platform|select count ( 1 ) from `smssent` where vendorid = :1 and success = true and date_sub ( date ( :2 ) , interval :3 day ) = date_format ( senttime , :4 )|1|3|3||0|0|66068|66068|1|1|
|employee|select * from backlog where tenant_app_id = :1 and employee_id = :2 and status in ( :3 , :4 ) and shop_id = :5 and scene = :6 and expire_time >= :7 order by create_time desc limit :8|1|3|3||0|0|159006|159006|4|4|
|platform|select ifnull ( eid , 0 ) as eid , ifnull ( shopid , 0 ) as sid , vendorid , count ( 1 ) as quantity from productcerts where vendorid = :1 and to_days ( :2 ) :3 to_days ( createtime ) = :4 group by eid , shopid , vendorid|1|1|1||0|0|28984|28984|0|0|
|warranty_service|select count ( 0 ) from warranty_service.warranty where tenant_wechatapp_id = :1 and is_disable = false and dept_erp_id = :2 and sales_date >= :3 and sales_date <= :4 and employee_erp_id in ( :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 , :22 )|1|2|2||0|0|4962|4962|1|1|
|order|select id from order_operator_log where tenant_wechatapp_id = :1 and order_id = :2 and ( src_child_status = :3 and dst_child_status = :4 ) order by create_time desc limit :5|1|1|1||0|0|275095|275095|0|0|
|sms|select count ( 0 ) from ( select a.phone_numbers as phoneno , concat ( '【' , a.sign_name , '】' , case when b.content is not null then b.content when stc.content is not null then stc.content else a.template_param end ) as content , a.template_code , a.out_id as outid , a.template_param , a.create_time as sendtime , a.create_time as recevietime , a.code as state , a.send_count , a.message from sms_send a left join sms_template b on a.template_code = b.code left join sms_template_custom stc on a.tenant_app_id = stc.tenant_app_id and a.template_code = stc.code and stc.status = :1 where a.tenant_app_id = :2 ) table_count|1|3|3||0|0|112802|112802|1|1|
|value_added|-- 根据添加时间得出当前增值金额 update value_added_user set amount_added = if ( :1 > ( ( ( added_percent_per_day / :2 ) * if ( :3 >= timestampdiff ( day , date_format ( start_add_time , :4 ) , now ( ) ) :5 :6 :7 add_days , timestampdiff ( day , date_format ( start_add_time , :8 ) , now ( ) ) :9 :10 , add_days ) ) :11 ( ( devalue_percent_per_day / :12 ) * if ( :13 >= timestampdiff ( day , date_format ( start_add_time , :14 ) , now ( ) ) :15 :16 :17 add_days :18 keeping_days , :19 , timestampdiff ( day , date_format ( start_add_time , :20 ) , now ( ) ) :21 :22 :23 add_days :24 keeping_days ) ) ) * amount_pay , :25 , ( ( ( added_percent_per_day / :26 ) * if ( :27 >= timestampdiff ( day , date_format ( start_add_time , :28 ) , now ( ) ) :29 :30 :31 add_days , timestampdiff ( day , date_format ( start_add_time , :32 ) , now ( ) ) :33 :34 , add_days ) ) :35 ( ( devalue_percent_per_day / :36 ) * if ( :37 >= timestampdiff ( day , date_format ( start_add_time , :38 ) , now ( ) ) :39 :40 :41 add_days :42 keeping_days , :43 , timestampdiff ( day , date_format ( start_add_time , :44 ) , now ( ) ) :45 :46 :47 add_days :48 keeping_days ) ) ) * amount_pay ) , update_time = now ( ) where state = :49 and update_time <= curdate ( ) and ( start_add_time >= date_add ( curdate ( ) , interval :50 ( add_days :51 keeping_days :52 :53 ) day ) or ( amount_added > :54 and start_add_time < date_add ( curdate ( ) , interval :55 ( add_days :56 keeping_days :57 :58 ) day ) ) ) -- 判断条件 在增值时间内 增值金大于0 状态正常|1|2|2||0|0|297701|297701|0|0|
|message_push|delete from message_log where create_time < :1|1|16|16||0|0|179711|179711|0|0|
|mysql|delete from message_push.message_log where create_time < date_sub ( now ( ) , interval :1 day )|1|2|2||0|0|45895|45895|0|0|
|mysql|update coupon_service.coupon set template_id = :1 where coupon_type = :2 and template_id != :3|1|2|2||0|0|793873|793873|0|0|
|value_added|-- 增值达到最大天数 select 'value_added_limit_contact' as limitdaytype , tenant_wechatapp_id as tenantappid , user_id as userid , group_concat ( t.product_barcode order by product_barcode asc ) as productcode , group_concat ( t.product_name order by product_barcode asc ) as productname from value_added_user t where tenant_wechatapp_id = :1 and state = :2 and t.start_add_time >= date_add ( date_format ( :3 , :4 ) , interval :5 * ( add_days-1 ) day ) and t.start_add_time < date_add ( date_format ( :6 , :7 ) , interval ( :8 * ( add_days-1 ) :9 :10 ) day ) group by tenant_wechatapp_id , user_id|1|2|2||0|0|16264|16264|18|18|
|mysql|delete from wx_gateway.wx_template_msg where create_time < date_sub ( now ( ) , interval :1 day )|1|44|44||0|0|1090766|1090766|0|0|
|platform|select `vendorid` , `memberid` , `salesdate` , `noteid` , `noteno` , `empid` , `empname` , `amounttotal` , `quantitytotal` , `integraltotal` , `salesstoreid` , `staffattitude` , `professionallevel` , `appearance` , `storeimage` , `productdisplay` , `salescomment` , `commenttime` , `replycontent` , `replytime` , `replyuser` , `tipfee` , `tipmorderid` , `tippayno` , `tippaytime` , `status` , `aftersalesremark` , `uid` , `eid` , `sid` , `id` from `saleslog` where vendorid = :1 and tipfee > :2 and tippayno is not null and date_sub ( date ( :3 ) , interval :4 day ) = date_format ( tippaytime , :5 )|1|6|6||0|0|120774|120774|0|0|
|authorization_service|select id , user_id , tenant_id , tenant_wx_app_id , account_id , login_way , login_code , login_token , roles , status , expire_time , create_time , update_time , login_ip , login_time , login_data , employee_id , shop_id from user_login_token where ( tenant_id = :1 and account_id = :2 and status = :3 and tenant_wx_app_id = :4 )|1|1|1||0|0|237817|237817|1|1|
|order|select max ( create_time ) from `order`.order_operator_log where tenant_wechatapp_id = :1 and order_id = :2|2|2|1||0|0|551197|275662|2|1|
|user_service|select count ( 0 ) from tenant_user tu join user u on u.id = tu.user_id where tu.tenant_id = :1 and ( tu.user_name like concat ( :2 , :3 , :4 ) or tu.mobile_no = :5 or u.nick_name like concat ( :6 , :7 , :8 ) ) and tenant_app_id = :9|3|16|7||0|0|145380|48460|3|1|
|user_service|select ue.employee_id as employeeid , count ( * ) as quantity from user_service.user_employee ue join user_service.tenant_user tu on ue.tenant_wechatapp_id = tu.tenant_app_id and ue.user_id = tu.user_id where employee_id in ( :1 ) and ue.tenant_wechatapp_id = :2 and tu.shop_id = :3 group by ue.employee_id|3|4|1||0|0|141997|91340|3|1|
|user_service|select tenantuser.* , user.nick_name from tenant_user tenantuser join user_service.user user on tenantuser.user_id = user.id where ( tenantuser.tenant_id = :1 and tenantuser.tenant_app_id = :2 and tenantuser.user_id not in ( :3 , :4 ) ) order by tenantuser.user_id asc limit :5|3|26|12||0|0|4076185|1358731|24|8|
|platform|select vm.* from vendormember vm join member m on vm.id = m.vendormemberid and vm.vendorid = m.vendorid where m.employeeid = :1 and vm.vendorid = :2 and ( ( birthdaytype = :3 and month ( birthday ) = month ( date_sub ( curdate ( ) , interval :4 day ) ) and day ( birthday ) = day ( date_sub ( curdate ( ) , interval :5 day ) ) ) or ( birthdaytype = :6 and month ( birthday ) = month ( date_sub ( :7 , interval :8 day ) ) and day ( birthday ) = day ( date_sub ( :9 , interval :10 day ) ) ) )|3|10|6||0|0|96637|62573|95|77|
|erp_sync|select * from erp_sync.retry_data where ( need_erp_member_id = :1 or ( need_erp_member_id = :2 and erp_member_id is not null ) ) and retry_times > :3 order by id asc|3|4|2||0|0|326070|108692|3|1|
|value_added|select id , template_name as templatename , added_percent_per_day as addedpercentperday , add_days as adddays , keeping_days as keepingdays , devalue_percent_per_day as devaluepercentperday , exchange_days as exchangedays , is_disable as isdisable , effective_days as effectivedays , ifnull ( usenumber , 0 ) as usenumber , generator_method as generatormethod , remark as remark from value_added_template left join ( select template_id , count ( * ) usenumber from value_added_user where tenant_wechatapp_id = :1 group by template_id ) value_added_user on value_added_template.id = value_added_user.template_id where tenant_wechatapp_id = :2 and id = :3|4|4|1||0|0|275340|73035|4|1|
|user_service|select count ( 0 ) from tenant_user tenantuser join user_service.user user on tenantuser.user_id = user.id where ( tenantuser.tenant_id = :1 and tenantuser.tenant_app_id = :2 and tenantuser.user_id not in ( :3 ) )|4|26|15||0|0|1074359|285646|3|1|
|wx_gateway|select * from wx_user where user_id = :1 and open_id not like :2 limit :3|4|13|4||0|0|3102732|775683|4|1|
|platform|update vendormember vm inner join ( select sum ( integral ) as integral , sum ( if ( integral > 0 , integral , 0 ) ) as hisintegral from integrallog where vendorid = :1 and memberid = :2 and isdeleted = :3 ) s on :4 = :5 set vm.integral = ifnull ( s.integral , :6 ) , vm.hisintegral = ifnull ( s.hisintegral , :7 ) , vm.updatetime = now ( ) where vendorid = :8 and memberid = :9|4|4|1||0|0|60|33|0|0|
|user_service|select count ( 0 ) from tenant_user tenantuser join user_service.user user on tenantuser.user_id = user.id where ( tenantuser.tenant_id = :1 and tenantuser.tenant_app_id = :2 and tenantuser.user_id not in ( :3 , :4 ) )|5|10|2||0|0|75327|27697|5|1|
|platform|select `noteid` , `vendorid` , `detailindex` , `productname` , `productbarcode` , `category` , `salestype` , `quantity` , `amount` , `integral` , `productdesc` , `slid` , `paidamount` , `id` from `salesdetaillog` where `noteid` = :1 and `vendorid` = :2|6|11|3||0|0|151648|31213|9|4|
|tenant|select id , sales_no , sales_date , member_erp_id , sales_erp_id , is_sales from erp_sales where sales_no like concat ( :1 , :2 , :3 ) and sales_status = :4 and tenant_id = :5 and tenant_wechatapp_id = :6 order by sales_date desc limit :7|7|16|3||0|0|1299359|255403|1|1|
|employee|update backlog set leave_flag = :1 where tenant_app_id = :2 and employee_id = :3|8|23|5||0|0|647460|238395|0|0|
|user_service|select count ( * ) from tenant_user where tenant_app_id = :1 and shop_id = :2 and mobile_no is not null and mobile_no != :3|8|23|8||0|0|616664|140910|8|1|
|authorization_service|select id , user_id , tenant_id , tenant_wx_app_id , account_id , login_way , login_code , login_token , roles , status , expire_time , create_time , update_time , login_ip , login_time , login_data , employee_id , shop_id from user_login_token where employee_id = :1 and tenant_id = :2 and tenant_wx_app_id = :3 and shop_id = :4 and login_way = :5 and status = :6|10|24|6||0|0|472639|60551|10|1|
|platform|select count ( 1 ) from `integrallog` where `vendorid` = :1 and `changefrom` = :2 and `changeid` = :3|11|18|4||0|0|307948|31376|11|1|
|platform|select count ( 1 ) from coupondetail cd where getuid = :1 and ( couponstate = :2 or couponstate = :3 ) and date_format ( expirytime , :4 ) >= curdate ( )|17|40|3||0|0|5477808|322224|17|1|
|authorization_service|select id , user_id , tenant_id , tenant_wx_app_id , account_id , login_way , login_code , login_token , roles , status , expire_time , create_time , update_time , login_ip , login_time , login_data , employee_id , shop_id from user_login_token where ( tenant_id = :1 and account_id = :2 and status = :3 )|18|29|3||0|0|2990787|327016|38|5|
|platform|select `typefullname` , `methodname` , `arguments` , `partition` , `offset` , `createtime` , `updatetime` , `retried` , `errormsg` , `id` from `pushlog` where `typefullname` = :1 and `methodname` = :2 and `arguments` = :3|18|33|2||0|0|4402159|252534|1|1|
|gift_mail|select * from ( select p.* , sp.take_type , ifnull ( pp.integral_price , ifnull ( ( select min ( inventory.price ) from inventory where inventory.product_id = p.id ) , :1 ) ) as price , ifnull ( t.quantity , :2 ) quantity , pt.partner_name vendorname , 0.0 distance , c.categroy_name categroy_name , pp.partner_id partner_id from product p inner join category c on c.id = p.category_id left outer join self_product sp on p.id = sp.product_id left outer join partner_product pp on p.id = pp.product_id left outer join partner pt on pt.id = pp.partner_id left outer join ( select product_id , sum ( quantity ) quantity from gift_mail.inventory group by product_id ) t on p.id = t.product_id where ( ( p.is_disable is null or p.is_disable = :3 ) ) ) as p where ( p.tenant_id = :4 ) order by p.id desc limit :5|25|33|2||0|0|456296|18271|481|20|
|user_service|select count ( 0 ) from ( select t1.user_id as userid , t2.head_img_url as headimgurl , t2.nick_name as nickname , t1.mobile_no as mobileno , t1.is_subscribe as subscribe , t1.sex , t1.tenant_union_id as tenantunionid , date_format ( t1.bind_time , '%y-%m-%d%h:%i:%s' ) as registertime , t1.id as tenantuserid from tenant_user t1 join `user` t2 on t1.user_id = t2.id left join user_employee t3 on t1.user_id = t3.user_id and t1.tenant_id = t3.tenant_id and t1.tenant_app_id = t3.tenant_wechatapp_id where t3.id is null and t1.mobile_no is not null and t1.mobile_no != :1 and t1.shop_id = :2 and t1.tenant_id = :3 and t1.tenant_app_id = :4 ) table_count|25|41|4||0|0|3279499|175492|25|1|
|gift_mail|select count ( 0 ) from ( select p.* , sp.take_type , ifnull ( pp.integral_price , ifnull ( ( select min ( inventory.price ) from inventory where inventory.product_id = p.id ) , :1 ) ) as price , ifnull ( t.quantity , :2 ) quantity , pt.partner_name vendorname , 0.0 distance , c.categroy_name categroy_name , pp.partner_id partner_id from product p inner join category c on c.id = p.category_id left outer join self_product sp on p.id = sp.product_id left outer join partner_product pp on p.id = pp.product_id left outer join partner pt on pt.id = pp.partner_id left outer join ( select product_id , sum ( quantity ) quantity from gift_mail.inventory group by product_id ) t on p.id = t.product_id where ( ( p.is_disable is null or p.is_disable = :3 ) ) ) as p where ( p.tenant_id = :4 )|27|37|2||0|0|492233|18251|27|1|
|platform|select count ( 1 ) from `salesdetaillog` where `vendorid` = :1 and `noteid` = :2|30|56|6||0|0|786392|31211|30|1|
|platform|select `tasktype` , `tasktime` , `taskstatus` , `bid` , `vendorid` , `uid` , `completetime` , `remark` , `createtime` , `id` from `taskassignment` where tasktype = :1 and vendorid = :2 and date_format ( tasktime , :3 ) >= curdate ( ) and ( taskstatus = :4 or taskstatus = :5 )|31|53|4||0|0|23394107|754667|11|7|
|user_service|select count ( * ) from tenant_user t1 left join user_employee t3 on t1.user_id = t3.user_id and t1.tenant_app_id = t3.tenant_wechatapp_id where t3.id is null and t1.mobile_no is not null and t1.mobile_no != :1 and t1.shop_id = :2 and t1.tenant_app_id = :3|68|263|15||0|0|8113332|169829|67|1|
# 运行日志 # 运行日志
# 2020-03
[2020-03-01](2020-03-01/daily.md)&ensp;&ensp;&ensp;&ensp;
# 2020-02 # 2020-02
[2020-02-07](2020-02-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-08](2020-02-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-09](2020-02-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-10](2020-02-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-11](2020-02-11/daily.md)&ensp;&ensp;&ensp;&ensp; [2020-02-08](2020-02-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-07](2020-02-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-09](2020-02-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-10](2020-02-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-02-11](2020-02-11/daily.md)&ensp;&ensp;&ensp;&ensp;
# 2020-01 # 2020-01
[2020-01-01](2020-01-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-02](2020-01-02/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-05](2020-01-05/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-06](2020-01-06/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-07](2020-01-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-08](2020-01-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-09](2020-01-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-10](2020-01-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-12](2020-01-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-13](2020-01-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-14](2020-01-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-15](2020-01-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-16](2020-01-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-17](2020-01-17/daily.md)&ensp;&ensp;&ensp;&ensp; [2020-01-01](2020-01-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-02](2020-01-02/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-05](2020-01-05/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-06](2020-01-06/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-07](2020-01-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-08](2020-01-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-09](2020-01-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-10](2020-01-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-12](2020-01-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-13](2020-01-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-14](2020-01-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-15](2020-01-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-16](2020-01-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2020-01-17](2020-01-17/daily.md)&ensp;&ensp;&ensp;&ensp;
...@@ -14,6 +17,3 @@ ...@@ -14,6 +17,3 @@
# 2019-10 # 2019-10
[2019-10-07](2019-10-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-08](2019-10-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-09](2019-10-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-10](2019-10-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-11](2019-10-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-13](2019-10-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-14](2019-10-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-15](2019-10-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-16](2019-10-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-17](2019-10-17/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-18](2019-10-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-20](2019-10-20/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-21](2019-10-21/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-22](2019-10-22/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-23](2019-10-23/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-24](2019-10-24/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-27](2019-10-27/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-28](2019-10-28/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-29](2019-10-29/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-30](2019-10-30/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-31](2019-10-31/daily.md)&ensp;&ensp;&ensp;&ensp; [2019-10-07](2019-10-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-08](2019-10-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-09](2019-10-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-10](2019-10-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-11](2019-10-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-13](2019-10-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-14](2019-10-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-15](2019-10-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-16](2019-10-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-17](2019-10-17/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-18](2019-10-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-20](2019-10-20/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-21](2019-10-21/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-22](2019-10-22/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-23](2019-10-23/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-24](2019-10-24/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-27](2019-10-27/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-28](2019-10-28/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-29](2019-10-29/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-30](2019-10-30/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-10-31](2019-10-31/daily.md)&ensp;&ensp;&ensp;&ensp;
# 2019-09
[2019-09-01](2019-09-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-02](2019-09-02/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-03](2019-09-03/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-04](2019-09-04/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-05](2019-09-05/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-06](2019-09-06/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-08](2019-09-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-09](2019-09-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-10](2019-09-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-11](2019-09-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-15](2019-09-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-16](2019-09-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-17](2019-09-17/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-18](2019-09-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-19](2019-09-19/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-20](2019-09-20/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-22](2019-09-22/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-23](2019-09-23/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-24](2019-09-24/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-25](2019-09-25/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-26](2019-09-26/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-27](2019-09-27/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-09-28](2019-09-28/daily.md)&ensp;&ensp;&ensp;&ensp;
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论