SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002525s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.024749s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.012177s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359615 LIMIT 5 [ RunTime:0.020145s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359615 ORDER BY `minOrder` ASC [ RunTime:0.056221s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.004630s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13359615 ORDER BY `unit` DESC [ RunTime:0.018053s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13359615 LIMIT 2 [ RunTime:0.012289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359615 ORDER BY `minOrder` ASC [ RunTime:0.010243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359980 LIMIT 5 [ RunTime:0.020410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359980 ORDER BY `minOrder` ASC [ RunTime:0.036087s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13359980 ORDER BY `unit` DESC [ RunTime:0.012197s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13359980 LIMIT 2 [ RunTime:0.049577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359980 ORDER BY `minOrder` ASC [ RunTime:0.043963s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12073502 LIMIT 5 [ RunTime:0.027307s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12073502 ORDER BY `minOrder` ASC [ RunTime:0.024553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12073502 ORDER BY `unit` DESC [ RunTime:0.046641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12073502 LIMIT 2 [ RunTime:0.020364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12073502 ORDER BY `minOrder` ASC [ RunTime:0.016802s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.032117s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038522s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58254029 LIMIT 5 [ RunTime:0.027580s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254029 ORDER BY `minOrder` ASC [ RunTime:0.059167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58254029 ORDER BY `unit` DESC [ RunTime:0.027399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58254029 LIMIT 2 [ RunTime:0.070824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254029 ORDER BY `minOrder` ASC [ RunTime:0.026558s ]
select * from pdf where partno='MSW5PH' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.004186s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001423s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSW5PH' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.021808s ]
SELECT `id` FROM `stock` WHERE `id` <> 58254029 AND `partno` = 'MSW5PH' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.022662s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359615 [ RunTime:0.071734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58254628 LIMIT 5 [ RunTime:0.019513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254628 ORDER BY `minOrder` ASC [ RunTime:0.080146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58254628 ORDER BY `unit` DESC [ RunTime:0.027011s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58254628 LIMIT 2 [ RunTime:0.047729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254628 ORDER BY `minOrder` ASC [ RunTime:0.025474s ]
select * from pdf where partno='MSW5PHCFP' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.048864s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSW5PHCFP' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.028383s ]
SELECT `id` FROM `stock` WHERE `id` <> 58254628 AND `partno` = 'MSW5PHCFP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.035355s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58254622 LIMIT 5 [ RunTime:0.045016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254622 ORDER BY `minOrder` ASC [ RunTime:0.046243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58254622 ORDER BY `unit` DESC [ RunTime:0.072982s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58254622 LIMIT 2 [ RunTime:0.035104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254622 ORDER BY `minOrder` ASC [ RunTime:0.023563s ]
select * from pdf where partno='MSW5PHCSP' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.064001s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSW5PHCSP' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.014733s ]
SELECT `id` FROM `stock` WHERE `id` <> 58254622 AND `partno` = 'MSW5PHCSP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.014964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12073502 [ RunTime:0.067573s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58254607 LIMIT 5 [ RunTime:0.037885s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254607 ORDER BY `minOrder` ASC [ RunTime:0.080296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58254607 ORDER BY `unit` DESC [ RunTime:0.017261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58254607 LIMIT 2 [ RunTime:0.027911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58254607 ORDER BY `minOrder` ASC [ RunTime:0.023484s ]
select * from pdf where partno='MSW5PHCMP' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.003014s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSW5PHCMP' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.012119s ]
SELECT `id` FROM `stock` WHERE `id` <> 58254607 AND `partno` = 'MSW5PHCMP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.012578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359980 [ RunTime:0.048081s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013114s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.038497s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006201s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004917s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019290s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008244s ]
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 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021516s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'MSW5PH%' OR `brand` LIKE 'MSW5PH%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.022267s ]