提交 e023d518 authored 作者: zengzhi's avatar zengzhi

auto commit

上级 071501c7
# 2019年08月20日运行日报:https://git.sjfx.com.cn/report/daily/blob/master/2019-08-20/daily.md
## 服务器情况
|服务器 |CPU使用率 |内存使用率 |主硬盘使用率 |查看详情 |
| :- | :-: | :-: | :-: | :- |
|v3nginx |- |- |- |http://47.98.156.252:17123/|
|v3-publish |6.09% |37.8% |46.8% |http://47.110.9.96:17123/|
|v3-base-mq001 |2.35% |64.3% |23.8% |http://114.55.171.242:17123/|
|v3-base-mq002 |3.1% |66.6% |23.5% |http://47.110.226.218:17123/|
|proxy-local |9.18% |71.2% |23% |http://47.96.14.81:17123/|
|v3eureka001 |6.71% |59.7% |25.7% |http://47.110.137.241:17123/|
|v3eureka002 |8.29% |**83%** |35% |http://114.55.171.107:17123/|
|v3-gateway001 |2.58% |**84.6%** |53.5% |http://47.111.11.230:17123/|
|v3-gateway002 |2.39% |**84.8%** |54.1% |http://47.110.14.10:17123/|
|v3-gateway003 |2.78% |79.6% |46.7% |http://47.110.12.94:17123/|
|v3-gateway004 |2.72% |78.6% |45.8% |http://114.55.169.175:17123/|
|v3-BS-F001 |7.99% |**89.1%** |47.1% |http://47.98.220.95:17123/|
|v3-BS-F002 |8.56% |78.9% |28% |http://47.111.105.30:17123/|
|v3-BS-F003 |8.97% |**83.9%** |41.1% |http://47.111.105.137:17123/|
|v3-BS-F004 |2.59% |26% |21.7% |http://47.111.105.218:17123/|
|v3-BS-H001 |8.24% |**85.2%** |47.6% |http://47.111.169.175:17123/|
|v3-BS-H002 |8.5% |**82%** |27.9% |http://114.55.171.6:17123/|
|v3-BS-H003 |8.68% |**85%** |41.2% |http://47.111.186.205:17123/|
|v3-BS-H004 |2.46% |25.2% |21.9% |http://114.55.209.3:17123/|
|v3-BS-G001 |7.06% |**90.3%** |48.5% |http://114.55.243.46:17123/|
|v3-BS-G002 |1.78% |20.8% |21.4% |http://47.98.158.5:17123/|
|v3-BS-G003 |9.19% |**85.7%** |29.7% |http://47.98.220.48:17123/|
|v3-BS-G004 |9.12% |55.7% |28.6% |http://47.111.79.177:17123/|
|v3-BS-I001 |8.41% |**86.5%** |47.2% |http://114.55.243.77:17123/|
|v3-BS-I002 |1.85% |20.5% |21.3% |http://114.55.242.246:17123/|
|v3-BS-I003 |9.01% |**85.1%** |29.8% |http://47.110.15.201:17123/|
|v3-BS-I004 |8.56% |56.3% |28.7% |http://114.55.243.68:17123/|
|v3-tag |2.2% |59.5% |30.8% |http://47.110.13.5:17123/|
## 数据库情况
### rm-bp1qn4bl8d8p9mnm4
内存使用率: 最小值 49.8% 最大值 49.9% 平均值 0.0347009735744089%
CPU使用率: 最小值 1.61% 最大值 52.58% 平均值 5.4879972183588%
每秒IO请求次数: 最小值 0.03 最大值 900.58 平均值 49.1134283727399
连接数: 最小值 397 最大值 436 平均值 415.176634214186
活跃连接数: 最小值 0 最大值 19 平均值 0.171070931849791
空间使用量: 总使用量;55578MB 数据使用量;52193MB 日志使用量;511MB 临时使用量;2MB 系统使用量:2872MB
### rr-bp13k3q7292ce5t6k
内存使用率: 最小值 44.9% 最大值 44.9% 平均值 22.45%
CPU使用率: 最小值 0% 最大值 0.65% 平均值 0.325%
每秒IO请求次数: 最小值 3.59 最大值 3.71 平均值 3.65
连接数: 最小值 60 最大值 60 平均值 60
活跃连接数: 最小值 0 最大值 0 平均值 0
空间使用量: 总使用量;55464MB 数据使用量;52142MB 日志使用量;538MB 临时使用量;0MB 系统使用量:2784MB
### rm-bp1piz35u161jjc92
内存使用率: 最小值 48.5% 最大值 48.5% 平均值 5.38888888888889%
CPU使用率: 最小值 0.07% 最大值 0.19% 平均值 0.117777777777778%
每秒IO请求次数: 最小值 1.37 最大值 12.47 平均值 3.18444444444444
连接数: 最小值 86 最大值 86 平均值 86
活跃连接数: 最小值 1 最大值 1 平均值 1
空间使用量: 总使用量;66064MB 数据使用量;54615MB 日志使用量;2870MB 临时使用量;0MB 系统使用量:8579MB
慢日志:[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 15082255
zk_packets_sent 15103051
zk_num_alive_connections 26
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 2603
zk_watch_count 720
zk_ephemerals_count 1411
zk_approximate_data_size 787436
zk_open_file_descriptor_count 60
zk_max_file_descriptor_count 1048576
zk_followers 3
zk_synced_followers 3
zk_pending_syncs 0
## Redis情况
Cpu使用率:0.60%
已用内存:127429600.00Byte
每秒总访问量:85.75
已用连接数:1653.00
键总数:47596.00
设置过期时间的key数量:47592.00
每秒请求次数:62.19 最大每秒请求次数:409.85
每秒回复次数:1300.31 最大每秒回复次数:4824.90
## 昨日注册情况
![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-08-19T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%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-08-12T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%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-08-19T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%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-08-19T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%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-08-19T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%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-08-12T16%3A00%3A00.000Z'%2Cmode%3Aabsolute%2Cto%3A'2019-08-20T15%3A59%3A59.999Z')))
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|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|2|2||0|0|318771|318771|1|1|
|user_service|select count ( 0 ) from tenant_user tenantuser join user user on tenantuser.user_id = user.id where ( tenantuser.tenant_app_id = :1 and tenantuser.user_id not in ( :2 , :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 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 ) and ( user.nick_name like concat ( :96 , :97 , :98 ) or tenantuser.mobile_no = :99 ) )|1|1|1||0|0|29224|29224|1|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 )|1|1|1||0|0|6712|6712|1|1|
|user_service|select t1.erp_member_id as membererpid , t2.head_img_url as headimgurl , t2.nick_name as nickname , t1.mobile_no as mobileno , date_format ( t1.bind_time , '%y-%m-%d%h:%i:%s' ) as registertime 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.erp_member_id is not null and t1.shop_id = :2 and t1.tenant_id = :3 and t1.tenant_app_id = :4 -- and t1.bind_time < current_date order by t1.bind_time asc limit :5|1|1|1||0|0|52392|52392|5|5|
|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|45655|45655|0|0|
|user_service|select count ( 0 ) from tenant_user tenantuser join user user on tenantuser.user_id = user.id where ( tenantuser.tenant_app_id = :1 and tenantuser.user_id not in ( :2 , :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 ) and ( user.nick_name like concat ( :15 , :16 , :17 ) or tenantuser.mobile_no = :18 ) )|1|1|1||0|0|6605|6605|1|1|
|user_service|select count ( 0 ) from user_employee ue join tenant_user tu on ue.user_id = tu.user_id and tu.tenant_id = :1 and tu.tenant_app_id = :2 join user u on tu.user_id = u.id where ue.employee_user_id = :3 and ue.tenant_id = :4 and tenant_app_id = :5|1|1|1||0|0|1578|1578|1|1|
||/* applicationname = datagrip 2018.2.2 */ select * from user_service.tenant_user where tenant_union_id = :1|1|12|12||0|0|2742425|2742425|1|1|
|user_service|select count ( 0 ) from tenant_user tenantuser join user user on tenantuser.user_id = user.id where ( tenantuser.tenant_app_id = :1 and tenantuser.user_id not in ( :2 , :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 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 , :96 , :97 , :98 , :99 , :100 , :101 , :102 , :103 , :104 , :105 , :106 , :107 , :108 , :109 , :110 , :111 , :112 , :113 , :114 , :115 , :116 , :117 , :118 , :119 , :120 , :121 , :122 , :123 , :124 , :125 , :126 , :127 , :128 , :129 , :130 , :131 , :132 , :133 , :134 , :135 , :136 , :137 , :138 , :139 , :140 , :141 , :142 , :143 , :144 , :145 , :146 , :147 , :148 ) and ( user.nick_name like concat ( :149 , :150 , :151 ) or tenantuser.mobile_no = :152 ) )|1|2|2||0|0|51255|51255|1|1|
|user_service|select scene_id , count ( * ) as quantity , scene_type from user_service.user_source where scene_type = :1 and scene_id in ( :2 ) and tenant_wechatapp_id = :3 group by scene_id|1|1|1||0|0|3642|3642|0|0|
|gift_mail|delete from gift_mail.platform_sync_data_log where create_time < :1|1|2|2||0|0|28455|28455|0|0|
|basepublish|select * from publish_item order by id desc|1|1|1||0|0|562|562|562|562|
|message_push|delete from message_log where create_time < :1|1|17|17||0|0|206426|206426|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|2|2||0|0|66068|66068|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|163910|163910|0|0|
|user_service|select count ( 0 ) from tenant_user tenantuser join user user on tenantuser.user_id = user.id where ( tenantuser.tenant_app_id = :1 and tenantuser.user_id not in ( :2 , :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 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 , :96 , :97 , :98 , :99 , :100 , :101 , :102 , :103 , :104 , :105 , :106 , :107 , :108 , :109 , :110 , :111 , :112 , :113 , :114 , :115 , :116 , :117 , :118 , :119 , :120 , :121 , :122 , :123 , :124 , :125 , :126 , :127 , :128 , :129 , :130 , :131 , :132 , :133 , :134 , :135 , :136 , :137 , :138 , :139 , :140 , :141 , :142 , :143 , :144 , :145 , :146 , :147 , :148 , :149 , :150 , :151 , :152 , :153 , :154 , :155 , :156 , :157 , :158 , :159 , :160 , :161 , :162 , :163 , :164 , :165 , :166 , :167 , :168 , :169 , :170 , :171 , :172 , :173 , :174 , :175 , :176 , :177 , :178 , :179 , :180 , :181 , :182 , :183 , :184 , :185 , :186 , :187 , :188 , :189 , :190 , :191 , :192 , :193 , :194 ) and ( user.nick_name like concat ( :195 , :196 , :197 ) or tenantuser.mobile_no = :198 ) )|1|9|9||0|0|208437|208437|1|1|
|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|
||/* applicationname = datagrip 2018.2.2 */ select * from user_service.tenant_user where tenant_id = :1 and tenant_union_id = :2|1|3|3||0|0|2742426|2742426|1|1|
|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|4|4||0|0|120774|120774|0|0|
|user_service|select count ( 0 ) from tenant_user tenantuser join user user on tenantuser.user_id = user.id where ( tenantuser.tenant_app_id = :1 and tenantuser.user_id not in ( :2 , :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 ) and ( user.nick_name like concat ( :37 , :38 , :39 ) or tenantuser.mobile_no = :40 ) )|1|2|2||0|0|40159|40159|1|1|
|coupon_service|select * from coupon_user where datediff ( date_format ( end_time , :1 ) , date_format ( now ( ) , :2 ) ) = :3 and coupon_state in ( :4 )|1|2|2||0|0|484267|484267|1066|1066|
|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|630551|630551|0|0|
|erp_sync|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|2|3|2||0|0|17881|8941|17881|8941|
|activity_service|select count ( distinct ( user_id ) ) from user_trace where tenant_app_id = :1 and activity_id = :2 and status != :3|2|2|1||0|0|45224|22612|2|1|
|activity_service|select t1.user_id as userid , t2.user_name as username , t2.data as userheadimg , ifnull ( t1.finished_time , t1.update_time ) as time , t1.cutdown_amount as cutdownamount , t2.partake_data as partakedata from activity_service.cutdown_price_activity_apply t1 join activity_service.user_trace t2 on t1.id = t2.user_apply_id and t2.step = :1 where t1.activity_id = :2|2|2|1||0|0|46560|24247|4974|2976|
|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|2|5|4||0|0|578771|478528|1|1|
|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 , :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 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 , :90 , :91 , :92 , :93 , :94 , :95 , :96 , :97 , :98 , :99 , :100 , :101 , :102 , :103 , :104 , :105 , :106 , :107 , :108 , :109 , :110 , :111 , :112 , :113 , :114 , :115 , :116 , :117 , :118 , :119 , :120 , :121 , :122 , :123 , :124 , :125 , :126 , :127 , :128 , :129 , :130 , :131 , :132 , :133 , :134 , :135 , :136 , :137 , :138 , :139 , :140 , :141 , :142 , :143 , :144 , :145 , :146 , :147 , :148 , :149 , :150 , :151 , :152 , :153 , :154 , :155 , :156 , :157 , :158 , :159 , :160 , :161 , :162 , :163 , :164 , :165 , :166 , :167 , :168 , :169 , :170 , :171 , :172 , :173 , :174 , :175 , :176 , :177 , :178 , :179 , :180 , :181 , :182 , :183 , :184 , :185 , :186 , :187 , :188 , :189 , :190 , :191 , :192 , :193 , :194 , :195 , :196 , :197 , :198 , :199 , :200 , :201 , :202 , :203 , :204 , :205 , :206 , :207 , :208 , :209 , :210 , :211 , :212 , :213 , :214 , :215 , :216 , :217 , :218 , :219 , :220 , :221 , :222 , :223 , :224 , :225 , :226 , :227 , :228 , :229 , :230 , :231 , :232 , :233 , :234 , :235 , :236 , :237 , :238 , :239 , :240 , :241 , :242 , :243 , :244 , :245 , :246 , :247 , :248 , :249 , :250 , :251 , :252 , :253 , :254 , :255 , :256 , :257 , :258 , :259 , :260 , :261 , :262 , :263 , :264 , :265 , :266 , :267 , :268 , :269 , :270 , :271 , :272 , :273 , :274 , :275 , :276 , :277 , :278 , :279 , :280 , :281 , :282 , :283 , :284 , :285 , :286 , :287 , :288 , :289 , :290 , :291 , :292 , :293 , :294 , :295 , :296 , :297 , :298 , :299 , :300 , :301 , :302 , :303 , :304 , :305 , :306 , :307 , :308 , :309 , :310 , :311 , :312 , :313 , :314 , :315 , :316 , :317 , :318 , :319 , :320 , :321 , :322 , :323 , :324 , :325 , :326 , :327 , :328 , :329 , :330 , :331 , :332 , :333 , :334 , :335 , :336 , :337 , :338 , :339 , :340 , :341 , :342 , :343 , :344 , :345 , :346 , :347 , :348 , :349 , :350 , :351 , :352 , :353 , :354 , :355 , :356 , :357 , :358 , :359 , :360 , :361 , :362 , :363 , :364 , :365 , :366 , :367 , :368 , :369 , :370 , :371 , :372 , :373 , :374 , :375 , :376 , :377 , :378 , :379 , :380 , :381 , :382 , :383 , :384 , :385 , :386 , :387 , :388 , :389 , :390 , :391 , :392 , :393 , :394 , :395 , :396 , :397 , :398 , :399 , :400 , :401 , :402 , :403 , :404 , :405 , :406 , :407 , :408 , :409 , :410 , :411 , :412 , :413 , :414 , :415 , :416 , :417 , :418 , :419 , :420 , :421 , :422 , :423 , :424 , :425 , :426 , :427 , :428 , :429 , :430 , :431 , :432 , :433 , :434 , :435 , :436 , :437 , :438 , :439 , :440 , :441 , :442 , :443 , :444 , :445 , :446 , :447 , :448 , :449 , :450 , :451 , :452 , :453 , :454 , :455 , :456 , :457 , :458 , :459 , :460 , :461 , :462 , :463 , :464 , :465 , :466 , :467 , :468 , :469 , :470 , :471 , :472 )|2|10|6||0|0|52481|26242|2|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|90829|62540|49|44|
|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|3|12|6||0|0|1452799|484332|1|1|
|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|3|5|3||0|0|187510|63126|3|1|
|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 = :3 and sales_date >= :4 and sales_date <= :5 and employee_erp_id in ( :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 , :50 , :51 , :52 , :53 , :54 , :55 , :56 , :57 , :58 , :59 , :60 , :61 , :62 , :63 , :64 , :65 , :66 , :67 , :68 , :69 , :70 , :71 , :72 , :73 , :74 , :75 , :76 , :77 , :78 , :79 , :80 , :81 , :82 , :83 , :84 , :85 , :86 , :87 , :88 , :89 )|3|13|6||0|0|52217|17419|3|1|
|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|15|11||0|0|214978|89588|3|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|3|3|1||0|0|59912|19979|11|4|
|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|3|3|1||0|0|17700|5900|4107|1369|
|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|3|15|5||0|0|55071|18357|3690|1230|
|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|4|5|2||0|0|483132|120783|0|0|
|account|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|5|12|2||0|0|44701|8941|44701|8941|
|platform|select `noteid` , `vendorid` , `detailindex` , `productname` , `productbarcode` , `category` , `salestype` , `quantity` , `amount` , `integral` , `productdesc` , `slid` , `paidamount` , `id` from `salesdetaillog` where `noteid` = :1 and `vendorid` = :2|5|9|3||0|0|363145|108423|17|7|
|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|6|12|3||0|0|3889|1284|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|6|22|6||0|0|94378|17850|120|20|
|user_service|select count ( 0 ) from ( select t1.erp_member_id as membererpid , t2.head_img_url as headimgurl , t2.nick_name as nickname , t1.mobile_no as mobileno , date_format ( t1.bind_time , '%y-%m-%d%h:%i:%s' ) as registertime 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.erp_member_id is not null and t1.shop_id = :2 and t1.tenant_id = :3 and t1.tenant_app_id = :4 ) table_count|6|19|6||0|0|232603|58071|6|1|
|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|6|12|4||0|0|88581|16460|6|1|
|qrcode_service|select *from qrcode_service.qrcode_scan_log where open_id = :1 and tenant_app_id = :2 order by create_time desc limit :3|7|9|2||0|0|6872074|982196|6|1|
|platform|select count ( 1 ) from coupondetail cd where getuid = :1 and ( couponstate = :2 or couponstate = :3 ) and date_format ( expirytime , :4 ) >= curdate ( )|8|17|3||0|0|2550168|318771|8|1|
|payment|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|9|12|1||0|0|402646|44982|402646|44982|
|platform|select `typefullname` , `methodname` , `arguments` , `partition` , `offset` , `createtime` , `updatetime` , `retried` , `errormsg` , `id` from `pushlog` where `typefullname` = :1 and `methodname` = :2 and `arguments` = :3|10|17|4||0|0|2432003|243220|0|0|
|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|11|19|2||0|0|2016936|196489|11|1|
|platform|select count ( 1 ) from `integrallog` where `vendorid` = :1 and `changefrom` = :2 and `changeid` = :3|11|20|3||0|0|274478|38141|11|1|
|user_service|select id , plat_unionid , plat_openid , user_name , mobile_no , nick_name , sex , head_img_url , country , province , city , status , create_time , update_time , is_subscribe , subscribe_time from `user` where user_name like concat ( :1 , :2 , :3 ) or mobile_no = :4 or nick_name like concat ( :5 , :6 , :7 ) limit :8|12|39|6||0|0|31903351|2658723|16|5|
|employee|select * from backlog where tenant_app_id = :1 and user_id = :2 and status in ( :3 , :4 ) and scene = :5 and expire_time >= :6 order by create_time desc limit :7|13|37|4||0|0|1481017|113926|24|5|
|facepass_sync|select original_task_id from job_status_trace_log where task_id = :1 and state = :2|14|21|2||0|0|125085|8996|125085|8996|
|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 )|15|20|3||0|0|9460066|630672|12|6|
|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 ) )|15|70|13||0|0|1708292|278252|2|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 )|18|124|15||0|0|1676247|176812|16|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|20|86|8||0|0|1833250|179176|20|1|
|platform|select count ( 1 ) from `salesdetaillog` where `vendorid` = :1 and `noteid` = :2|21|43|4||0|0|937395|108446|21|1|
|user_service|select count ( 0 ) from `user` where user_name like concat ( :1 , :2 , :3 ) or mobile_no = :4 or nick_name like concat ( :5 , :6 , :7 )|27|90|8||0|0|71781596|2658723|27|1|
|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|52|160|8||0|0|10538|733|0|0|
# 运行日志 # 运行日志
# 2019-08 # 2019-08
[2019-08-01](2019-08-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-05](2019-08-05/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-06](2019-08-06/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-07](2019-08-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-08](2019-08-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-09](2019-08-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-11](2019-08-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-12](2019-08-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-13](2019-08-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-14](2019-08-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-15](2019-08-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-18](2019-08-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-19](2019-08-19/daily.md)&ensp;&ensp;&ensp;&ensp; [2019-08-01](2019-08-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-05](2019-08-05/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-06](2019-08-06/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-07](2019-08-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-08](2019-08-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-09](2019-08-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-11](2019-08-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-12](2019-08-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-13](2019-08-13/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-14](2019-08-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-15](2019-08-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-18](2019-08-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-19](2019-08-19/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-08-20](2019-08-20/daily.md)&ensp;&ensp;&ensp;&ensp;
# 2019-07 # 2019-07
[2019-07-01](2019-07-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-02](2019-07-02/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-03](2019-07-03/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-04](2019-07-04/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-07](2019-07-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-08](2019-07-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-09](2019-07-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-10](2019-07-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-11](2019-07-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-12](2019-07-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-14](2019-07-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-15](2019-07-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-16](2019-07-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-17](2019-07-17/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-18](2019-07-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-21](2019-07-21/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-22](2019-07-22/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-23](2019-07-23/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-24](2019-07-24/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-25](2019-07-25/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-26](2019-07-26/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-28](2019-07-28/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-29](2019-07-29/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-30](2019-07-30/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-31](2019-07-31/daily.md)&ensp;&ensp;&ensp;&ensp; [2019-07-01](2019-07-01/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-02](2019-07-02/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-03](2019-07-03/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-04](2019-07-04/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-07](2019-07-07/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-08](2019-07-08/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-09](2019-07-09/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-10](2019-07-10/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-11](2019-07-11/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-12](2019-07-12/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-14](2019-07-14/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-15](2019-07-15/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-16](2019-07-16/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-17](2019-07-17/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-18](2019-07-18/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-21](2019-07-21/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-22](2019-07-22/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-23](2019-07-23/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-24](2019-07-24/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-25](2019-07-25/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-26](2019-07-26/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-28](2019-07-28/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-29](2019-07-29/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-30](2019-07-30/daily.md)&ensp;&ensp;&ensp;&ensp;[2019-07-31](2019-07-31/daily.md)&ensp;&ensp;&ensp;&ensp;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论