SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003594s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.015067s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.022837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13479180 LIMIT 5 [ RunTime:0.027021s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13479180 ORDER BY `minOrder` ASC [ RunTime:0.031460s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13479180 ORDER BY `unit` DESC [ RunTime:0.004614s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13479180 LIMIT 2 [ RunTime:0.068790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13479180 ORDER BY `minOrder` ASC [ RunTime:0.026211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12548282 LIMIT 5 [ RunTime:0.065650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12548282 ORDER BY `minOrder` ASC [ RunTime:0.049771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12548282 ORDER BY `unit` DESC [ RunTime:0.071786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12548282 LIMIT 2 [ RunTime:0.061242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12548282 ORDER BY `minOrder` ASC [ RunTime:0.031838s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.070700s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32292872 LIMIT 5 [ RunTime:0.115740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32292872 ORDER BY `minOrder` ASC [ RunTime:0.090663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32292872 ORDER BY `unit` DESC [ RunTime:0.068015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32292872 LIMIT 2 [ RunTime:0.055654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32292872 ORDER BY `minOrder` ASC [ RunTime:0.030914s ]
select * from pdf where partno='13523-0001' and brandshort='molex' limit 1 [ RunTime:0.045835s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001140s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13523-0001' OR `brand` LIKE 'molex%' ) ) LIMIT 1 [ RunTime:0.025198s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.023298s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53760704 LIMIT 5 [ RunTime:0.026532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53760704 ORDER BY `minOrder` ASC [ RunTime:0.054302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53760704 ORDER BY `unit` DESC [ RunTime:0.045276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53760704 LIMIT 2 [ RunTime:0.056307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53760704 ORDER BY `minOrder` ASC [ RunTime:0.015607s ]
select * from pdf where partno='13523.4' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.049820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13523.4' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.057658s ]
SELECT `id` FROM `stock` WHERE `id` <> 53760704 AND `partno` = '13523.4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.070383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12548282 [ RunTime:0.070960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 53760703 LIMIT 5 [ RunTime:0.044253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53760703 ORDER BY `minOrder` ASC [ RunTime:0.064801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 53760703 ORDER BY `unit` DESC [ RunTime:0.036085s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 53760703 LIMIT 2 [ RunTime:0.041449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 53760703 ORDER BY `minOrder` ASC [ RunTime:0.018222s ]
select * from pdf where partno='13523.1' and brandshort='Conta-Clip, Inc.' limit 1 [ RunTime:0.074720s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13523.1' OR `brand` LIKE 'Conta-Clip, Inc.%' ) ) LIMIT 1 [ RunTime:0.034137s ]
SELECT `id` FROM `stock` WHERE `id` <> 53760703 AND `partno` = '13523.1' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%conta-clip, inc.%' ) [ RunTime:0.034956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 50689088 LIMIT 5 [ RunTime:0.020873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50689088 ORDER BY `minOrder` ASC [ RunTime:0.031153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 50689088 ORDER BY `unit` DESC [ RunTime:0.007500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 50689088 LIMIT 2 [ RunTime:0.021046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 50689088 ORDER BY `minOrder` ASC [ RunTime:0.006692s ]
select * from pdf where partno='13523' and brandshort='Brady Corporation' limit 1 [ RunTime:0.028251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13523' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.012032s ]
SELECT `id` FROM `stock` WHERE `id` <> 50689088 AND `partno` = '13523' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.018627s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13479180 [ RunTime:0.005706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38053983 LIMIT 5 [ RunTime:0.019036s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38053983 ORDER BY `minOrder` ASC [ RunTime:0.034744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38053983 ORDER BY `unit` DESC [ RunTime:0.067106s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38053983 LIMIT 2 [ RunTime:0.062201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38053983 ORDER BY `minOrder` ASC [ RunTime:0.020686s ]
select * from pdf where partno='13523' and brandshort='Brady Corporation' limit 1 [ RunTime:0.030686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13523' OR `brand` LIKE 'Brady Corporation%' ) ) LIMIT 1 [ RunTime:0.017407s ]
SELECT `id` FROM `stock` WHERE `id` <> 38053983 AND `partno` = '13523' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%brady corporation%' ) [ RunTime:0.074222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13479180 [ RunTime:0.021998s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089555s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.081117s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.068317s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.089431s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.099671s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.103912s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.109520s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '13523%' OR `brand` LIKE '13523%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.088351s ]