提交 7bdf3ced authored 作者: zengzhi's avatar zengzhi

auto commit

上级 bdcdf044
2020-05-10/7register2020.jpg

10.1 KB | W: | H:

2020-05-10/7register2020.jpg

36.0 KB | W: | H:

2020-05-10/7register2020.jpg
2020-05-10/7register2020.jpg
2020-05-10/7register2020.jpg
2020-05-10/7register2020.jpg
  • 2-up
  • Swipe
  • Onion skin
2020-05-10/7reqcount.jpg

12.5 KB | W: | H:

2020-05-10/7reqcount.jpg

46.3 KB | W: | H:

2020-05-10/7reqcount.jpg
2020-05-10/7reqcount.jpg
2020-05-10/7reqcount.jpg
2020-05-10/7reqcount.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -5,41 +5,138 @@ ...@@ -5,41 +5,138 @@
|服务器 |CPU使用率 |内存使用率 |主硬盘使用率 |查看详情 | |服务器 |CPU使用率 |内存使用率 |主硬盘使用率 |查看详情 |
| :- | :-: | :-: | :-: | :- | | :- | :-: | :-: | :-: | :- |
|v3nginx |- |- |- |http://47.98.156.252:17123/| |v3nginx |- |- |- |http://47.98.156.252:17123/|
|v3-publish |- |- |- |http://47.110.9.96:17123/| |v3-publish |5.55% |51.6% |57.7% |http://47.110.9.96:17123/|
|v3-base-mq001 |- |- |- |http://114.55.171.242:17123/| |v3-base-mq001 |3.81% |71.1% |36.3% |http://114.55.171.242:17123/|
|v3-base-mq002 |- |- |- |http://47.110.226.218:17123/| |v3-base-mq002 |4.44% |72.8% |26.3% |http://47.110.226.218:17123/|
|proxy-local |- |- |- |http://47.96.14.81:17123/| |proxy-local |5.19% |29.2% |29.6% |http://47.96.14.81:17123/|
|v3eureka001 |- |- |- |http://47.110.137.241:17123/| |v3eureka001 |14.5% |50.9% |28.6% |http://47.110.137.241:17123/|
|v3eureka002 |- |- |- |http://114.55.171.107:17123/| |v3eureka002 |17.1% |61.9% |45.8% |http://114.55.171.107:17123/|
|v3-gateway001 |- |- |- |http://47.111.11.230:17123/| |v3-gateway001 |2.69% |42.2% |35.1% |http://47.111.11.230:17123/|
|v3-gateway002 |- |- |- |http://47.110.14.10:17123/| |v3-gateway002 |2.36% |40% |37.2% |http://47.110.14.10:17123/|
|v3-gateway003 |- |- |- |http://47.110.12.94:17123/| |v3-gateway003 |2.79% |42.2% |29.3% |http://47.110.12.94:17123/|
|v3-gateway004 |- |- |- |http://114.55.169.175:17123/| |v3-gateway004 |2.61% |39.1% |29.1% |http://114.55.169.175:17123/|
|v3-BS-F001 |- |- |- |http://47.98.220.95:17123/| |v3-BS-F001 |14.6% |39.1% |26.1% |http://47.98.220.95:17123/|
|v3-BS-F002 |- |- |- |http://47.111.105.30:17123/| |v3-BS-F002 |8.49% |57.6% |19.8% |http://47.111.105.30:17123/|
|v3-BS-F003 |- |- |- |http://47.111.105.137:17123/| |v3-BS-F003 |1.23% |18.5% |17.8% |http://47.111.105.137:17123/|
|v3-BS-F004 |- |- |- |http://47.111.105.218:17123/| |v3-BS-F004 |1.08% |17% |18.4% |http://47.111.105.218:17123/|
|v3-BS-H001 |- |- |- |http://47.111.169.175:17123/| |v3-BS-H001 |13.2% |39% |24.9% |http://47.111.169.175:17123/|
|v3-BS-H002 |- |- |- |http://114.55.171.6:17123/| |v3-BS-H002 |8.38% |57.5% |20% |http://114.55.171.6:17123/|
|v3-BS-H003 |- |- |- |http://47.111.186.205:17123/| |v3-BS-H003 |0.92% |24.9% |17.8% |http://47.111.186.205:17123/|
|v3-BS-H004 |- |- |- |http://114.55.209.3:17123/| |v3-BS-H004 |0.79% |16.5% |19.2% |http://114.55.209.3:17123/|
|v3-BS-G001 |- |- |- |http://114.55.243.46:17123/| |v3-BS-G001 |16.4% |41.9% |25.2% |http://114.55.243.46:17123/|
|v3-BS-G002 |- |- |- |http://47.98.158.5:17123/| |v3-BS-G002 |7.6% |53.9% |18.9% |http://47.98.158.5:17123/|
|v3-BS-G003 |- |- |- |http://47.98.220.48:17123/| |v3-BS-G003 |0.93% |24.6% |16.6% |http://47.98.220.48:17123/|
|v3-BS-G004 |- |- |- |http://47.111.79.177:17123/| |v3-BS-G004 |1.14% |18.6% |19.5% |http://47.111.79.177:17123/|
|v3-BS-I001 |- |- |- |http://114.55.243.77:17123/| |v3-BS-I001 |14.5% |42.1% |24.4% |http://114.55.243.77:17123/|
|v3-BS-I002 |- |- |- |http://114.55.242.246:17123/| |v3-BS-I002 |7.58% |54.5% |19.1% |http://114.55.242.246:17123/|
|v3-BS-I003 |- |- |- |http://47.110.15.201:17123/| |v3-BS-I003 |0.91% |17.8% |16.7% |http://47.110.15.201:17123/|
|v3-BS-I004 |- |- |- |http://114.55.243.68:17123/| |v3-BS-I004 |1.32% |19.7% |18.7% |http://114.55.243.68:17123/|
|v3-tag |- |- |- |http://47.110.13.5:17123/| |v3-tag |- |- |- |http://47.110.13.5:17123/|
## 数据库情况 ## 数据库情况
### rm-bp1qn4bl8d8p9mnm4 ### rm-bp1qn4bl8d8p9mnm4
内存使用率: 最小值 47.26% 最大值 48.11% 平均值 0.0334329395413482%
CPU使用率: 最小值 1.33% 最大值 100% 平均值 13.271723419041%
每秒IO请求次数: 最小值 7.08 最大值 2627.27 平均值 101.525684503127
连接数: 最小值 412 最大值 434.28 平均值 418.729228630995
活跃连接数: 最小值 0 最大值 6.68 平均值 0.316337734537871
空间使用量: 总使用量;94821.18MB 数据使用量;90260.95MB 日志使用量;1429.28MB 临时使用量;0.04MB 系统使用量:3130.92MB
### rr-bp13k3q7292ce5t6k
内存使用率: 最小值 34.27% 最大值 34.27% 平均值 34.27%
CPU使用率: 最小值 100% 最大值 100% 平均值 100%
每秒IO请求次数: 最小值 274.05 最大值 274.05 平均值 274.05
连接数: 最小值 60 最大值 60 平均值 60
活跃连接数: 最小值 5.47 最大值 5.47 平均值 5.47
空间使用量: 总使用量;94694.59MB 数据使用量;89958.88MB 日志使用量;1575.67MB 临时使用量;0.01MB 系统使用量:3160.03MB
### rm-bp1piz35u161jjc92
内存使用率: 最小值 48.37% 最大值 48.37% 平均值 5.37444444444444%
CPU使用率: 最小值 0.31% 最大值 36.93% 平均值 27.8888888888889%
每秒IO请求次数: 最小值 13.8 最大值 1317.55 平均值 867.441111111111
连接数: 最小值 83 最大值 83 平均值 83
活跃连接数: 最小值 0.02 最大值 2 平均值 1.40666666666667
空间使用量: 总使用量;51944.73MB 数据使用量;41959.31MB 日志使用量;3840.3MB 临时使用量;2.21MB 系统使用量:6142.91MB
慢日志:[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 196
zk_min_latency 0
zk_packets_received 658720
zk_packets_sent 660895
zk_num_alive_connections 24
zk_outstanding_requests 0
zk_server_state leader
zk_znode_count 3284
zk_watch_count 878
zk_ephemerals_count 1851
zk_approximate_data_size 1036398
zk_open_file_descriptor_count 58
zk_max_file_descriptor_count 1048576
zk_followers 3
zk_synced_followers 3
zk_pending_syncs 0
## Redis情况 ## Redis情况
Cpu使用率:0.80%
已用内存:141867800.00Byte
每秒总访问量:170.33
已用连接数:1393.33
键总数:21718.00
设置过期时间的key数量:21711.00
每秒请求次数:222.65 最大每秒请求次数:16704.96
每秒回复次数:1039.27 最大每秒回复次数:8850.50
## 昨日注册情况 ## 昨日注册情况
......
2020-05-10/register2020.jpg

10.1 KB | W: | H:

2020-05-10/register2020.jpg

43.5 KB | W: | H:

2020-05-10/register2020.jpg
2020-05-10/register2020.jpg
2020-05-10/register2020.jpg
2020-05-10/register2020.jpg
  • 2-up
  • Swipe
  • Onion skin
2020-05-10/reqcount.jpg

12.5 KB | W: | H:

2020-05-10/reqcount.jpg

30.7 KB | W: | H:

2020-05-10/reqcount.jpg
2020-05-10/reqcount.jpg
2020-05-10/reqcount.jpg
2020-05-10/reqcount.jpg
  • 2-up
  • Swipe
  • Onion skin
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|数据库名称|SQL语句|总执行次数|总执行时间(秒)|最大执行时长|平均执行时间|锁定总时长|最大锁定时长|解析总行数|解析最大行数|返回总行数|返回最大行数|
| - | - | - | - | - | - | - | - | - | - | - | - |
|platform|select count ( 1 ) from `salesdetaillog` where `vendorid` = :1 and `noteid` = :2|60|94|3||0|0|1708831|36489|60|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 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 and p.product_type = :5 )|59|97|1||0|0|1174606|19950|59|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_idfrom product pinner join category c on c.id = p.category_idleft outer join self_product sp on p.id = sp.product_idleft outer join partner_product pp on p.id = pp.product_idleft outer join partner pt on pt.id = pp.partner_idleft outer join ( select product_id , sum ( quantity ) quantity from gift_mail.inventorygroup by product_id ) t on p.id = t.product_idwhere ( ( p.is_disable is null or p.is_disable = :3 ) ) ) as pwhere ( p.tenant_id = :4 and p.product_type = :5 ) order by p.id desc limit :6|44|72|2||0|0|876958|19970|657|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 )|40|75|3||0|0|30484555|762129|16|7|
|user_service|select ue.employee_id as employeeid , count ( * ) as quantity from user_service.user_employee ue join user_service.tenant_member_info tmi on ue.tenant_id = tmi.tenant_id and ue.tenant_wechatapp_id = tmi.tenant_app_id and ue.user_id = tmi.user_id where employee_id in ( :1 ) and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 group by ue.employee_id|39|46|1||0|0|12182320|371681|38|1|
|platform|select `typefullname` , `methodname` , `arguments` , `partition` , `offset` , `createtime` , `updatetime` , `retried` , `errormsg` , `id` from `pushlog` where `typefullname` = :1 and `methodname` = :2 and `arguments` = :3|36|61|2||0|0|9065137|255826|0|0|
|platform|select count ( 1 ) from coupondetail cd where getuid = :1 and ( couponstate = :2 or couponstate = :3 ) and date_format ( expirytime , :4 ) >= curdate ( )|30|62|3||0|0|9667020|322234|30|1|
|platform|select count ( 1 ) from `integrallog` where `vendorid` = :1 and `changefrom` = :2 and `changeid` = :3|25|37|2||0|0|575558|33417|25|1|
|user_service|select count ( 0 ) from ( select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 order by tm.id desc ) tmp_count|22|156|15||0|0|134768075|6477809|22|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|18|28|2||0|0|1379327|79513|18|1|
|user_service|select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 order by tm.id desc limit :5|17|47|4||0|0|104173851|6477822|102|6|
|authorization_service|select id , platform_user_id , user_id , wx_user_id , employee_id , shop_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 from user_login_token where ( tenant_id = :1 and account_id = :2 and status = :3 )|16|52|5||0|0|2741580|367097|33|3|
|user_service|select count ( 0 ) from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4|14|19|2||0|0|7632030|613357|14|1|
|authorization_service|update user_login_token set status = :1 , update_time = now ( ) where employee_id = :2 and tenant_id = :3 and tenant_wx_app_id = :4 and shop_id = :5 and login_way = :6 and status = :7|13|22|3||0|0|1033781|108994|0|0|
|warranty_service|select *from warranty_service.warranty where tenant_wechatapp_id = :1 and upload_frequency <= :2 and version = :3 and warranty_img_url is null|13|36|8||0|0|425699|90592|0|0|
|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|13|29|4||0|0|2128947|283502|2|1|
|user_service|select count ( 0 ) from ( select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 and ue.user_id not in ( :5 ) order by tm.id desc ) tmp_count|12|48|8||0|0|73095021|6091278|12|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|11|18|3||0|0|353575|36501|25|4|
|platform|update vendormember vm\r inner join ( \r select sum ( integral ) as integral , sum ( if ( integral > 0 , integral , 0 ) ) as hisintegral \r from integrallog\r where vendorid = :1 and memberid = :2 and isdeleted = 0\r ) s\r on :3 = 1\r set vm.integral = ifnull ( s.integral , :4 ) , vm.hisintegral = ifnull ( s.hisintegral , :5 ) , vm.updatetime = now ( ) \r where vendorid = :6 and memberid = :7|11|15|2||0|0|252|33|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 , platform_user_id , wx_user_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|25|6||0|0|714483|108964|10|1|
|user_service|select id , wx_app_id , open_id , union_id , nick_name , head_img_url , is_subscribe , subscribe_time , wx_card_code , wx_card_no , sex , country , province , city , plat_open_id , create_time , update_time from wx_user where ( wx_app_id = :1 ) limit :2 , :3|10|14|2||0|0|615782|165782|900|100|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id 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 , :50 , :51 , :52 ,|9|19|4||0|0|3863047|592462|1133|348|
|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|7|8|1||0|0|340889|54928|0|0|
|user_service|select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 and ue.user_id not in ( :5 ) order by tm.id desc limit :6 , :7|7|32|8||0|0|42641076|6091607|42|6|
|user_service|select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 and ue.user_id not in ( :5 ) order by tm.id desc limit :6|5|22|8||0|0|30457848|6091596|30|6|
|user_service|select ue.user_id as id , tm.user_name as username , tm.head_img_url as headimgurl , tm.user_name as nickname , tm.mobile_no as mobile , tm.sex , if ( ifnull ( wu.is_subscribe , 0 ) = 0 , false , true ) as hassubscribe from user_service.user_employee ue join user_service.tenant_member tm on tm.tenant_id = ue.tenant_id and tm.tenant_app_id = ue.tenant_wechatapp_id and tm.user_id = ue.user_id join user_service.tenant_member_info tmi on tmi.tenant_id = tm.tenant_id and tmi.id = tm.id join user_service.tenant_member_bind tmb on tmb.user_id = ue.user_id and tmb.tenant_app_id = ue.tenant_wechatapp_id left join user_service.wx_user wu on wu.id = tmb.wx_user_id where ue.employee_id = :1 and ue.tenant_id = :2 and ue.tenant_wechatapp_id = :3 and tmi.shop_id = :4 order by tm.id desc limit :5 , :6|5|14|3||0|0|30573022|6149182|30|6|
|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|3|10|3||0|0|600108|200138|5|2|
|user_service|select count ( * ) from user_service.wx_user wx where wx_app_id = :1 and is_subscribe = :2 and not exists ( select null from user_service.tenant_member_bind mb where mb.tenant_id = :3 and mb.tenant_app_id = :4 and mb.wx_user_id = wx.id )|3|12|8||0|0|84724|58317|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|4||0|0|98714|62533|49|38|
|user_service|select count ( 0 ) from user_service.tenant_member tm join user_service.tenant_member_info tmi on tm.tenant_id = tmi.tenant_id and tm.id = tmi.id left join user_service.tenant_member_bind tmb on tm.tenant_id = tmb.tenant_id and tm.id = tmb.id left join user_service.wx_user wu on tmb.wx_user_id = wu.id where tm.tenant_id = :1 and tm.tenant_app_id = :2 and tm.user_id not in ( :3 )|3|7|3||0|0|1244460|414832|3|1|
|coupon_service|select id , tenant_id , tenant_app_id , template_id , coupon_push_id , coupon_no , coupon_state , user_id , coupon_name , coupon_type , face_value , discount , use_threshold , begin_time , end_time , wx_card_id , wx_card_no , source , source_id , business_id , create_time , update_time from coupon where ( tenant_id = :1 and tenant_app_id = :2 and wx_card_no = :3 )|2|5|4||0|0|72607|63275|2|1|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id 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 , :50 , :51 , :52 , :53 , :54|2|3|2||0|0|655728|500649|161|83|
|user_service|select count ( * ) from user_service.user_employee ue join user_service.tenant_member_info tu on ue.tenant_wechatapp_id = tu.tenant_app_id and ue.user_id = tu.user_id where ue.tenant_id = :1 and ue.tenant_wechatapp_id = :2 and ue.employee_id = :3 and tu.shop_id = :4|2|24|13||0|0|12124697|6064048|2|1|
|coupon_service|select cu.id , cu.coupon_name , cu.coupon_type , cu.coupon_no , cu.source as couponchannel , cu.coupon_state , ce.user_name , ce.creator_user_name as creatorname , round ( cu.face_value/100 , 2 ) as facevalue , cu.begin_time , cu.end_time , ce.remark , ce.mobile_no , ce.creator_mobile_no , cu.create_time , wol.create_time as writeofftime , r.create_time as reservationdate , r.shop_name as reservationshopname , if ( wol.employee_id is null , wol.user_name , wol.employee_name ) writeoffusername , wol.shop_id as shopid , wol.dept_erp_id as erpdeptid from coupon_service.coupon cu join coupon_service.coupon_extend ce on ce.id = cu.id left join coupon_service.coupon_write_off_log wol on wol.tenant_app_id = cu.tenant_app_id and wol.coupon_id = cu.id and wol.state = :1 left join coupon_service.reservation r on r.coupon_user_id = cu.id and r.state = :2 where cu.tenant_app_id = :3 and ce.mobile_no = :4 limit :5|2|2|1||0|0|111434|55836|6|4|
|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|2|2|1||0|0|6412|4235|2|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 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.product_status = :4 and p.tenant_id = :5 )|2|3|1||0|0|39774|19887|2|1|
|user_service|select count ( 0 ) from user_service.tenant_member tm join user_service.tenant_member_info tmi on tm.tenant_id = tmi.tenant_id and tm.id = tmi.id left join user_service.tenant_member_bind tmb on tm.tenant_id = tmb.tenant_id and tm.id = tmb.id left join user_service.wx_user wu on tmb.wx_user_id = wu.id where tm.tenant_id = :1 and tm.tenant_app_id = :2 and tm.user_id not in ( :3 , :4 )|2|6|3||0|0|829694|414861|2|1|
|coupon_service|select count ( 0 ) from ( select cu.id , cu.coupon_name , cu.coupon_type , cu.coupon_no , cu.source as couponchannel , cu.coupon_state , ce.user_name , ce.creator_user_name as creatorname , round ( cu.face_value/100 , 2 ) as facevalue , cu.begin_time , cu.end_time , ce.remark , ce.mobile_no , ce.creator_mobile_no , cu.create_time , wol.create_time as writeofftime , r.create_time as reservationdate , r.shop_name as reservationshopname , if ( wol.employee_id is null , wol.user_name , wol.employee_name ) writeoffusername , wol.shop_id as shopid , wol.dept_erp_id as erpdeptid from coupon_service.coupon cu join coupon_service.coupon_extend ce on ce.id = cu.id left join coupon_service.coupon_write_off_log wol on wol.tenant_app_id = cu.tenant_app_id and wol.coupon_id = cu.id and wol.state = :1 left join coupon_service.reservation r on r.coupon_user_id = cu.id and r.state = :2 where cu.tenant_app_id = :3 and ce.mobile_no = :4 ) tmp_count|2|3|1||0|0|111434|55836|2|1|
|mysql|insert into erp_sync.sync_record_20190924 select * from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|22|22||0|0|1296527|1296527|0|0|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id 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 )|1|1|1||0|0|122707|122707|32|32|
|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|322234|322234|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|310716|310716|0|0|
|platform|select\r ifnull ( eid , 0 ) as eid , \r ifnull ( shopid , 0 ) as sid , \r vendorid , \r count ( 1 ) as quantity\r from\r productcerts\r where\r vendorid = 14\r and to_days ( :1 ) :2 to_days ( createtime ) = 1\r group by\r eid , \r shopid , \r vendorid|1|1|1||0|0|28984|28984|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|130|130|
|coupon_service|select count ( 0 ) from ( select cu.id , cu.coupon_name , cu.coupon_type , cu.coupon_no , cu.source as couponchannel , cu.coupon_state , ce.user_name , ce.creator_user_name as creatorname , round ( cu.face_value/100 , 2 ) as facevalue , cu.begin_time , cu.end_time , ce.remark , ce.mobile_no , ce.creator_mobile_no , cu.create_time , wol.create_time as writeofftime , r.create_time as reservationdate , r.shop_name as reservationshopname , if ( wol.employee_id is null , wol.user_name , wol.employee_name ) writeoffusername , wol.shop_id as shopid , wol.dept_erp_id as erpdeptid from coupon_service.coupon cu join coupon_service.coupon_extend ce on ce.id = cu.id left join coupon_service.coupon_write_off_log wol on wol.tenant_app_id = cu.tenant_app_id and wol.coupon_id = cu.id and wol.state = :1 left join coupon_service.reservation r on r.coupon_user_id = cu.id and r.state = :2 where cu.tenant_app_id = :3 and cu.coupon_name like concat ( concat ( :4 , :5 ) , :6 ) and cu.template_id = :7 and cu.source = :8 ) tmp_count|1|1|1||0|0|50029|50029|1|1|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id 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 , :50 , :51 , :52|1|2|2||0|0|715949|715949|94|94|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id in ( :3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 )|1|1|1||0|0|12754|12754|8|8|
|mysql|delete from wx_gateway.wx_template_msg where create_time < date_sub ( now ( ) , interval :1 day )|1|29|29||0|0|1041286|1041286|0|0|
|message_push|delete from message_log where create_time < :1|1|16|16||0|0|159717|159717|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|5|5||0|0|120774|120774|0|0|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id in ( :3 , :4 , :5 , :6 , :7 , :8 , :9 )|1|1|1||0|0|408092|408092|4|4|
|corpwx|update external_user set wx_user_id = :1 where ( tenant_id = :2 and user_id = :3 )|1|1|1||0|0|163319|163319|0|0|
|employee|select * from backlog where tenant_app_id = :1 and employee_id = :2 and status in ( :3 , :4 ) and shop_id = :5 and scene in ( :6 , :7 ) and expire_time >= :8 order by create_time desc limit :9|1|3|3||0|0|200138|200138|4|4|
|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|1|1||0|0|19189|19189|2|2|
|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|1|3|3||0|0|117157|117157|3|3|
|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 status = :2 and date_sub ( curdate ( ) , interval :3 day ) = date_format ( salesdate , :4 )|1|2|2||0|0|120774|120774|0|0|
|mysql|delete from erp_sync.sync_record where create_time < date_sub ( now ( ) , interval :1 day )|1|2|2||0|0|1296527|1296527|0|0|
|employee|update backlog set leave_flag = :1 where tenant_app_id = :2 and employee_id = :3|1|1|1||0|0|55022|55022|0|0|
|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|1|1||0|0|338127|338127|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 in ( :6 , :7 ) and expire_time >= :8|1|1|1||0|0|4943|4943|1|1|
|user_service|select tu.user_id , tm.shop_id , mb.erp_member_id membererpid , tu.mobile_no , tu.user_name , ue.employee_id , tm.grade_id from user_service.tenant_member tu inner join user_service.tenant_member_info tm on tu.tenant_id = tm.tenant_id and tu.id = tm.id inner join user_service.tenant_member_bind mb on tu.tenant_id = mb.tenant_id and tu.id = mb.id inner join user_service.user_employee ue on tu.tenant_app_id = ue.tenant_wechatapp_id and tu.user_id = ue.user_id where tu.tenant_id = :1 and tu.tenant_app_id = :2 and mb.erp_member_id 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 )|1|1|1||0|0|323403|323403|24|24|
|user_service|select count ( * ) from user_service.tenant_member tm left join user_service.user_employee t3 on tm.tenant_id = t3.tenant_id and tm.user_id = t3.user_id and tm.tenant_app_id = t3.tenant_wechatapp_id join user_service.tenant_member_info tmi on tm.tenant_id = tmi.tenant_id and tm.id = tmi.id where t3.id is null and tmi.shop_id = :1 and tmi.tenant_app_id = :2 and tmi.tenant_id = :3|1|1|1||0|0|299434|299434|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|2|2||0|0|66068|66068|1|1|
2020-05-10/vistpai.jpg

13.1 KB | W: | H:

2020-05-10/vistpai.jpg

51.1 KB | W: | H:

2020-05-10/vistpai.jpg
2020-05-10/vistpai.jpg
2020-05-10/vistpai.jpg
2020-05-10/vistpai.jpg
  • 2-up
  • Swipe
  • Onion skin
2020-05-10/visttable.jpg

12.5 KB | W: | H:

2020-05-10/visttable.jpg

72.9 KB | W: | H:

2020-05-10/visttable.jpg
2020-05-10/visttable.jpg
2020-05-10/visttable.jpg
2020-05-10/visttable.jpg
  • 2-up
  • Swipe
  • Onion skin
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论