提交 20b2e637 authored 作者: zengzhi's avatar zengzhi

auto commit

上级 30e78274
# 2019年10月18日运行日报:https://git.sjfx.com.cn/report/daily/blob/master/2019-10-18/daily.md
## 服务器情况
|服务器 |CPU使用率 |内存使用率 |主硬盘使用率 |查看详情 |
| :- | :-: | :-: | :-: | :- |
|v3nginx |- |- |- |http://47.98.156.252:17123/|
|v3-publish |5.67% |43.4% |55.6% |http://47.110.9.96:17123/|
|v3-base-mq001 |4.36% |71.7% |33.6% |http://114.55.171.242:17123/|
|v3-base-mq002 |4.92% |70.6% |23.8% |http://47.110.226.218:17123/|
|proxy-local |1.93% |50.2% |22.2% |http://47.96.14.81:17123/|
|v3eureka001 |8.23% |64.8% |22.5% |http://47.110.137.241:17123/|
|v3eureka002 |12.5% |72.4% |29.1% |http://114.55.171.107:17123/|
|v3-gateway001 |2.32% |66% |46.2% |http://47.111.11.230:17123/|
|v3-gateway002 |2.09% |63.2% |46.8% |http://47.110.14.10:17123/|
|v3-gateway003 |2.6% |74.6% |42.8% |http://47.110.12.94:17123/|
|v3-gateway004 |2.89% |76% |41.4% |http://114.55.169.175:17123/|
|v3-BS-F001 |16.1% |79.7% |21.3% |http://47.98.220.95:17123/|
|v3-BS-F002 |7.17% |**80.4%** |26.4% |http://47.111.105.30:17123/|
|v3-BS-F003 |7.02% |74.1% |27% |http://47.111.105.137:17123/|
|v3-BS-F004 |8.19% |76.7% |25.4% |http://47.111.105.218:17123/|
|v3-BS-H001 |13.6% |71.9% |20.9% |http://47.111.169.175:17123/|
|v3-BS-H002 |7.19% |76.8% |26.2% |http://114.55.171.6:17123/|
|v3-BS-H003 |7.03% |74.5% |26.9% |http://47.111.186.205:17123/|
|v3-BS-H004 |7.72% |76.6% |25.3% |http://114.55.209.3:17123/|
|v3-BS-G001 |15.5% |80% |20.9% |http://114.55.243.46:17123/|
|v3-BS-G002 |15.2% |62.7% |21.4% |http://47.98.158.5:17123/|
|v3-BS-G003 |8.75% |**82.7%** |23.4% |http://47.98.220.48:17123/|
|v3-BS-G004 |6.12% |70.3% |28.3% |http://47.111.79.177:17123/|
|v3-BS-I001 |14% |79.1% |20.9% |http://114.55.243.77:17123/|
|v3-BS-I002 |15% |62.1% |21.6% |http://114.55.242.246:17123/|
|v3-BS-I003 |8.25% |79.4% |23.3% |http://47.110.15.201:17123/|
|v3-BS-I004 |6.13% |70.8% |27.6% |http://114.55.243.68:17123/|
|v3-tag |2.29% |57.8% |18.7% |http://47.110.13.5:17123/|
## 数据库情况
### rm-bp1qn4bl8d8p9mnm4
内存使用率: 最小值 36.9% 最大值 37.7% 平均值 0.0262169680111266%
CPU使用率: 最小值 0% 最大值 77.1% 平均值 5.84244784422809%
每秒IO请求次数: 最小值 0 最大值 1938.75 平均值 48.7804102920725
连接数: 最小值 411 最大值 471 平均值 433.034075104312
活跃连接数: 最小值 0 最大值 4 平均值 0.139082058414465
空间使用量: 总使用量;59074MB 数据使用量;55403MB 日志使用量;475MB 临时使用量;3MB 系统使用量:3193MB
### rr-bp13k3q7292ce5t6k
内存使用率: 最小值 32.4% 最大值 32.4% 平均值 16.2%
CPU使用率: 最小值 0.65% 最大值 0.65% 平均值 0.65%
每秒IO请求次数: 最小值 3.6 最大值 22.49 平均值 13.045
连接数: 最小值 60 最大值 60 平均值 60
活跃连接数: 最小值 0 最大值 0 平均值 0
空间使用量: 总使用量;58760MB 数据使用量;55329MB 日志使用量;414MB 临时使用量;1MB 系统使用量:3016MB
### rm-bp1piz35u161jjc92
内存使用率: 最小值 44.7% 最大值 44.7% 平均值 4.96666666666667%
CPU使用率: 最小值 0.23% 最大值 0.95% 平均值 0.343333333333333%
每秒IO请求次数: 最小值 0.34 最大值 52.84 平均值 6.92333333333333
连接数: 最小值 88 最大值 88 平均值 88
活跃连接数: 最小值 1 最大值 1 平均值 1
空间使用量: 总使用量;105425MB 数据使用量;93823MB 日志使用量;3087MB 临时使用量;2MB 系统使用量:8513MB
慢日志:[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 809
zk_min_latency 0
zk_packets_received 30737063
zk_packets_sent 30785404
zk_num_alive_connections 46
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 2794
zk_watch_count 1524
zk_ephemerals_count 1563
zk_approximate_data_size 865735
zk_open_file_descriptor_count 80
zk_max_file_descriptor_count 1048576
zk_followers 3
zk_synced_followers 3
zk_pending_syncs 0
## Redis情况
Cpu使用率:0.60%
已用内存:107501400.00Byte
每秒总访问量:106.00
已用连接数:1547.42
键总数:23734.00
设置过期时间的key数量:23727.00
每秒请求次数:62.98 最大每秒请求次数:486.10
每秒回复次数:1201.12 最大每秒回复次数:4408.21
## 昨日注册情况
![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'2019-10-17T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%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'2019-10-10T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%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'2019-10-17T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%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'2019-10-17T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%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'2019-10-17T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%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'2019-10-10T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-10-18T15%3A59%3A59.999Z')))
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|order|select max ( create_time ) from `order`.order_operator_log where tenant_wechatapp_id = :1 and order_id = :2|1|1|1||0|0|204841|204841|1|1|
|activity_service|select count ( distinct ( user_id ) ) from user_trace where tenant_app_id = :1 and activity_id = :2 and status != :3|1|1|1||0|0|64341|64341|1|1|
|coupon_service|select id , tenant_id , tenant_wechatapp_id , coupon_template_id , coupon_no , coupon_state , owner_id , creator_id , creator_mobile_no , creator_name , user_name , mobile_no , create_channel , coupon_name , face_value , coupon_type , use_threshold , begin_time , end_time , remark , create_time , update_time , product_name , exchange_shop , channel_id , writeoff_user_id , off_type , is_give , writeoff_time from coupon_user where coupon_template_id = :1 and owner_id = :2|1|2|2||0|0|575978|575978|0|0|
|tenant|select esd.id , esd.sales_erp_id , es.employee_name , esd.product_barcode , es.sales_no , es.member_erp_id , esd.category_name , es.sales_date , esd.category_erp_id , esd.product_name , esd.cert_no , esd.amount_pay , esd.sales_index from erp_sales_detail esd join erp_sales es on es.tenant_wechatapp_id = esd.tenant_wechatapp_id and es.sales_erp_id = esd.sales_erp_id where es.sales_status = :1 and es.tenant_wechatapp_id = :2 and esd.product_barcode = :3 order by es.sales_date desc|1|1|1||0|0|6956|6956|1608|1608|
|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|3|3||0|0|212055|212055|0|0|
|wx_gateway|select * from wx_user where user_id = :1 and open_id not like :2 limit :3|1|4|4||0|0|775683|775683|1|1|
|message_push|delete from message_log where create_time < :1|1|16|16||0|0|223695|223695|0|0|
|mysql|delete from erp_to_platform.sync_log where create_time < date_sub ( now ( ) , interval :1 day )|1|1|1||0|0|173674|173674|0|0|
|mysql|insert into erp_sync.sync_record_20190924 select * from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|34|34||0|0|1046359|1046359|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|
|tenant|select es.id , es.sales_no , es.sales_date , es.dept_erp_id , shop.shop_name as dept_name , es.employee_name , es.member_erp_id , es.comment_id from tenant.erp_sales es left join tenant.tenant_wechatapp_shop shop on shop.tenant_wechatapp_id = es.tenant_wechatapp_id and shop.dept_erp_id = es.dept_erp_id join tenant.employee e on e.tenant_id = es.tenant_id and e.employee_erp_id = es.employee_erp_id join tenant.employee_shop esh on esh.tenant_app_id = es.tenant_wechatapp_id and esh.employee_id = e.id and esh.dept_erp_id = es.dept_erp_id where es.tenant_wechatapp_id = :1 and es.dept_erp_id = :2 and es.comment_id is not null and es.comment_id != :3 and esh.status in ( :4 , :5 ) limit :6 , :7|1|1|1||0|0|559278|559278|8|8|
|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 *from warranty_service.warranty where upload_frequency <= :1 and version = :2 and warranty_img_url is null|1|15|15||0|0|449012|449012|0|0|
|mysql|delete from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|25|25||0|0|1046359|1046359|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|2|2||0|0|322223|322223|1|1|
|platform|select count ( 1 ) from coupondetail where vendorid = :1 and coupontype = :2 and couponstate = :3 and to_days ( :4 ) :5 to_days ( createtime ) = :6|1|3|3||0|0|322223|322223|1|1|
|customize_page|select id , tenant_id , tenant_wechatapp_id , page_id , user_id , tenant_app_open_id , create_time , update_time , business_id , src_type , user_name , mobile_no , head_img from award_qualified where tenant_wechatapp_id = :1 and page_id = :2 and ( user_id = :3 or tenant_app_open_id = :4 )|1|1|1||0|0|37149|37149|0|0|
|mysql|optimize table tenant.erp_sales|1|285|285||284|284|0|0|0|0|
|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|
|account|select id , tenant_id , tenant_wechatapp_id , account_type , user_id , mch_billno , send_name , mch_id , sub_mch_id , wxappid , msgappid , re_openid , total_amount , total_num , wishing , client_ip , act_name , remark , scene_id , risk_info , consume_mch_id , send_time , order_status , failure_reason , biz_id , biz_type , biz_tag , send_listid , need_callback , create_time , update_time , user_name , mobile_no , receive_time , refund_amount , refund_time from wx_redpacket_send_order where order_status in ( :1 , :2 ) order by id desc|1|2|2||0|0|24204|24204|2|2|
|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|2|2||0|0|173674|173674|0|0|
|mysql|delete from message_push.message_log where create_time < date_sub ( now ( ) , interval :1 day )|1|3|3||0|0|42623|42623|0|0|
|platform|select `tasktype` , `tasktime` , `taskstatus` , `bid` , `vendorid` , `uid` , `completetime` , `remark` , `createtime` , `id` from `taskassignment` where `bid` = :1 and `tasktype` = :2 and `tasktime` = :3 and `vendorid` = :4 and `uid` = :5|1|2|2||0|0|639042|639042|0|0|
|sjfxjira|delete from rundetails where id in ( :1 )|1|1|1||0|0|1|1|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 employee_erp_id in ( :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15 , :16 , :17 , :18 , :19 , :20 , :21 )|1|1|1||0|0|5678|5678|1|1|
|mysql|delete from wx_gateway.wx_template_msg where create_time < date_sub ( now ( ) , interval :1 day )|1|54|54||0|0|1462381|1462381|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|1|1||0|0|575981|575981|1377|1377|
|bespoke|select count ( * ) from bespoke.bespoke_trade where user_id = :1 and tenant_app_id = :2 and status <> :3|1|2|2||0|0|42072|42072|1|1|
|platform|select count ( 1 ) from `taskassignment` ta where ta.tasktype = :1 and ( ta.taskstatus = :2 or ta.taskstatus = :3 ) and vendorid = :4 and uid = :5|1|1|1||0|0|639148|639148|1|1|
|employee|update backlog set leave_flag = :1 where tenant_app_id = :2 and employee_id = :3|1|2|2||0|0|16581|16581|0|0|
|gift_mail|select t.* , tt.can_take_date , tt.shop_name , tt.take_shop_name , tt.take_employee_name , ta.recipients , ta.user_tel , concat ( ta.area , ta.address ) address , if ( t.trade_type = 3 , pl.id , it.barcode ) as barcode , if ( t.trade_type = 3 or t.trade_type = :1 , pl.default_image_url , p.default_image_url ) as defaultimageurl from trade t left outer join trade_take tt on tt.trade_id = t.id left outer join trade_addr ta on ta.trade_id = t.id left outer join product p on p.id = t.product_id left outer join platform_product pl on pl.id = t.product_id left outer join inventory it on it.product_id = t.product_id and it.specification = t.specification where ( t.tenant_wechatapp_id = :2 ) order by create_time desc|2|9|6||0|0|41214|22855|1813|1282|
|order|select tenant_wechatapp_id from order_info where status = :1 and child_status is null group by tenant_wechatapp_id|2|4|3||0|0|107352|53676|4|2|
|coupon_service|select id as usercouponid , coupon_no as couponno , end_time as endtime , begin_time as begintime , face_value as facevalue , coupon_name as couponname , coupon_type as coupontype , remark , exchange_shop , off_type from coupon_user where owner_id = :1 and coupon_template_id = :2 and coupon_state = :3 and end_time > now ( ) limit :4|2|13|7||0|0|1028485|575915|1|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|5|2||0|0|39274|16655|3|1|
|activity_service|select count ( 0 ) from activity_service.user_trace t1 join activity_service.activity t2 on t1.activity_id = t2.id join activity_service.cutdown_price_activity_apply t3 on t1.user_apply_id = t3.id where t1.status = :1 and t2.tenant_wechatapp_id = :2 and t2.activity_type = :3 and t1.step = :4|3|27|10||0|0|3542182|1184303|3|1|
|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|7|3||0|0|92998|62536|44|40|
|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|3|5|2||0|0|38096|16745|3|1|
|facepass_sync|select id , tenant_id , tenant_wechatapp_id , shop_id , status , retries , success_time , send_fail_msg , create_time , update_time , send_data from customer_face_register_message where status in ( :1 , :2 ) and retries < :3 limit :4|3|3|1||0|0|43638|14546|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|3|7|4||0|0|229555|124838|3|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|4|6|2||0|0|84255|23188|7|3|
|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|4|4|1||0|0|757|351|0|0|
|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|5|7|2||0|0|119|33|0|0|
|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|5|14|4||0|0|383071|76628|95|19|
|facepass_sync|select id , tenant_id , tenant_wechatapp_id , shop_id , status , create_time , update_time , receive_data , response_data from customer_face_sync_message where status = :1 and create_time < date_add ( now ( ) , interval :2 minute ) order by id asc limit :3|6|12|3||0|0|189811|33648|0|0|
|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|6|6|1||0|0|262295|59525|6|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 )|8|13|3||0|0|753849|149692|15|2|
|facepass_sync|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|8|9|1||0|0|16519|2114|16519|2114|
|account|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|9|9|1||0|0|18633|2114|18633|2114|
|activity_service|select id , tenant_id , tenant_app_id , activity_id , user_id , tenant_app_open_id , customize_page_id , qualitied_id , status , remark , create_time , update_time from intelligent_marketing_activity_gift where `status` = :1 limit :2 , :3|11|17|3||0|0|3143812|285803|0|0|
|gift_mail|select count ( 0 ) from ( select t.* , tt.can_take_date , tt.shop_name , tt.take_shop_name , tt.take_employee_name , ta.recipients , ta.user_tel , concat ( ta.area , ta.address ) address , if ( t.trade_type = 3 , pl.id , it.barcode ) as barcode , if ( t.trade_type = 3 or t.trade_type = :1 , pl.default_image_url , p.default_image_url ) as defaultimageurl from trade t left outer join trade_take tt on tt.trade_id = t.id left outer join trade_addr ta on ta.trade_id = t.id left outer join product p on p.id = t.product_id left outer join platform_product pl on pl.id = t.product_id left outer join inventory it on it.product_id = t.product_id and it.specification = t.specification where ( t.tenant_wechatapp_id = :2 ) order by create_time desc ) tmp_count|13|27|4||0|0|237787|21299|13|1|
|user_service|select tu.user_id as userid , tu.mobile_no as mobileno , tu.user_name as username , u.nick_name as nickname , u.head_img_url as headimgurl from tenant_user tu join `user` u on tu.user_id = u.id where tu.tenant_app_id = :1 and ( tu.mobile_no = :2 or u.nick_name like concat ( :3 , :4 ) or tu.user_name like concat ( :5 , :6 ) )|14|50|8||0|0|1963932|156706|133|65|
|platform|select count ( 1 ) from `integrallog` where `vendorid` = :1 and `changefrom` = :2 and `changeid` = :3|15|24|2||0|0|147693|11846|15|1|
|platform|select `typefullname` , `methodname` , `arguments` , `partition` , `offset` , `createtime` , `updatetime` , `retried` , `errormsg` , `id` from `pushlog` where `typefullname` = :1 and `methodname` = :2 and `arguments` = :3|15|22|2||0|0|3708578|247255|0|0|
|gift_mail|select t.* , tt.can_take_date , tt.shop_name , tt.take_shop_name , tt.take_employee_name , ta.recipients , ta.user_tel , concat ( ta.area , ta.address ) address , if ( t.trade_type = 3 , pl.id , it.barcode ) as barcode , if ( t.trade_type = 3 or t.trade_type = :1 , pl.default_image_url , p.default_image_url ) as defaultimageurl from trade t left outer join trade_take tt on tt.trade_id = t.id left outer join trade_addr ta on ta.trade_id = t.id left outer join product p on p.id = t.product_id left outer join platform_product pl on pl.id = t.product_id left outer join inventory it on it.product_id = t.product_id and it.specification = t.specification where ( t.tenant_wechatapp_id = :2 ) order by create_time desc limit :3|16|51|8||0|0|298541|22842|320|20|
|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 )|17|23|3||0|0|10865516|639148|11|8|
|platform|select count ( 1 ) from coupondetail cd where getuid = :1 and ( couponstate = :2 or couponstate = :3 ) and date_format ( expirytime , :4 ) >= curdate ( )|18|41|3||0|0|5800014|322223|18|1|
|tenant|select count ( 0 ) from erp_sales where tenant_id = :1 and tenant_wechatapp_id = :2 and sales_date >= :3 and employee_erp_id = :4 and sales_status = :5|20|35|2||0|0|4333938|216867|20|1|
|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|27|69|11||0|0|11047791|445418|1|1|
|customer|select count ( 0 ) from customer_face_pass t where :1 = :2 and t.is_checkin = :3 and t.shop_id = :4 and t.person_type not in ( :5 )|41|247|15||0|0|4093609|222651|35|1|
|platform|select count ( 1 ) from `salesdetaillog` where `vendorid` = :1 and `noteid` = :2|45|80|3||0|0|922328|23202|45|1|
|user_service|select count ( * ) 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|89|215|7||0|0|8288753|160329|89|1|
# 运行日志
# 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-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-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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论