SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002245s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.047691s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12074549 LIMIT 5 [ RunTime:0.033786s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.021599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12074549 ORDER BY `minOrder` ASC [ RunTime:0.060693s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.020968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12074549 ORDER BY `unit` DESC [ RunTime:0.018389s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.029460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12074549 LIMIT 2 [ RunTime:0.031284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12074549 ORDER BY `minOrder` ASC [ RunTime:0.036462s ]
select * from pdf where partno='SC110NP' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.027484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13361728 LIMIT 5 [ RunTime:0.031411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13361728 ORDER BY `minOrder` ASC [ RunTime:0.057316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13361728 ORDER BY `unit` DESC [ RunTime:0.049691s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13361728 LIMIT 2 [ RunTime:0.049603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13361728 ORDER BY `minOrder` ASC [ RunTime:0.023851s ]
select * from pdf where partno='SC110NPR' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.019006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12073043 LIMIT 5 [ RunTime:0.060668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12073043 ORDER BY `minOrder` ASC [ RunTime:0.030193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12073043 ORDER BY `unit` DESC [ RunTime:0.029665s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12073043 LIMIT 2 [ RunTime:0.024763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12073043 ORDER BY `minOrder` ASC [ RunTime:0.032734s ]
select * from pdf where partno='SC110NJR' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.034544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359570 LIMIT 5 [ RunTime:0.051173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359570 ORDER BY `minOrder` ASC [ RunTime:0.026331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13359570 ORDER BY `unit` DESC [ RunTime:0.056289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13359570 LIMIT 2 [ RunTime:0.011263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359570 ORDER BY `minOrder` ASC [ RunTime:0.010370s ]
select * from pdf where partno='SC110NJ' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.014241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359286 LIMIT 5 [ RunTime:0.019439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359286 ORDER BY `minOrder` ASC [ RunTime:0.049403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13359286 ORDER BY `unit` DESC [ RunTime:0.038811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13359286 LIMIT 2 [ RunTime:0.034596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13359286 ORDER BY `minOrder` ASC [ RunTime:0.003156s ]
select * from pdf where partno='SC110N' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.010546s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32210219 LIMIT 5 [ RunTime:0.005316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32210219 ORDER BY `minOrder` ASC [ RunTime:0.019056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32210219 ORDER BY `unit` DESC [ RunTime:0.027654s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32210219 LIMIT 2 [ RunTime:0.027042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32210219 ORDER BY `minOrder` ASC [ RunTime:0.032514s ]
select * from pdf where partno='sc110n' and brandshort='mallory sonalert' limit 1 [ RunTime:0.023913s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'sc110n' OR `brand` LIKE 'mallory sonalert%' ) ) LIMIT 1 [ RunTime:0.065033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32184228 LIMIT 5 [ RunTime:0.090358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32184228 ORDER BY `minOrder` ASC [ RunTime:0.046522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32184228 ORDER BY `unit` DESC [ RunTime:0.076026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32184228 LIMIT 2 [ RunTime:0.062783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32184228 ORDER BY `minOrder` ASC [ RunTime:0.040264s ]
select * from pdf where partno='sc110n' and brandshort='mallory sonalert' limit 1 [ RunTime:0.020735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'sc110n' OR `brand` LIKE 'mallory sonalert%' ) ) LIMIT 1 [ RunTime:0.012909s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.021164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58252116 LIMIT 5 [ RunTime:0.026941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252116 ORDER BY `minOrder` ASC [ RunTime:0.065171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58252116 ORDER BY `unit` DESC [ RunTime:0.007234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58252116 LIMIT 2 [ RunTime:0.015254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252116 ORDER BY `minOrder` ASC [ RunTime:0.010357s ]
select * from pdf where partno='SC110NJR' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.013068s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110NJR' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.024578s ]
SELECT `id` FROM `stock` WHERE `id` <> 58252116 AND `partno` = 'SC110NJR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.024561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12073043 [ RunTime:0.020085s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58252331 LIMIT 5 [ RunTime:0.020215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252331 ORDER BY `minOrder` ASC [ RunTime:0.008599s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58252331 ORDER BY `unit` DESC [ RunTime:0.006926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58252331 LIMIT 2 [ RunTime:0.001520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252331 ORDER BY `minOrder` ASC [ RunTime:0.005177s ]
select * from pdf where partno='SC110NPR' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.003462s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110NPR' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.012229s ]
SELECT `id` FROM `stock` WHERE `id` <> 58252331 AND `partno` = 'SC110NPR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.004617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13361728 [ RunTime:0.025337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58253078 LIMIT 5 [ RunTime:0.022634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253078 ORDER BY `minOrder` ASC [ RunTime:0.008421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58253078 ORDER BY `unit` DESC [ RunTime:0.009075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58253078 LIMIT 2 [ RunTime:0.007512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253078 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
select * from pdf where partno='SC110NP' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.014096s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110NP' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.005316s ]
SELECT `id` FROM `stock` WHERE `id` <> 58253078 AND `partno` = 'SC110NP' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.004118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12074549 [ RunTime:0.006489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58252951 LIMIT 5 [ RunTime:0.010882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252951 ORDER BY `minOrder` ASC [ RunTime:0.028708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58252951 ORDER BY `unit` DESC [ RunTime:0.006877s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58252951 LIMIT 2 [ RunTime:0.018438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58252951 ORDER BY `minOrder` ASC [ RunTime:0.008532s ]
select * from pdf where partno='SC110NR' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.010509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110NR' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.001695s ]
SELECT `id` FROM `stock` WHERE `id` <> 58252951 AND `partno` = 'SC110NR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.008035s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58253077 LIMIT 5 [ RunTime:0.000894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253077 ORDER BY `minOrder` ASC [ RunTime:0.006165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58253077 ORDER BY `unit` DESC [ RunTime:0.009516s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58253077 LIMIT 2 [ RunTime:0.004979s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253077 ORDER BY `minOrder` ASC [ RunTime:0.006368s ]
select * from pdf where partno='SC110N' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.000493s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110N' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.000782s ]
SELECT `id` FROM `stock` WHERE `id` <> 58253077 AND `partno` = 'SC110N' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.004212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359286 [ RunTime:0.007370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58253452 LIMIT 5 [ RunTime:0.002023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253452 ORDER BY `minOrder` ASC [ RunTime:0.004768s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58253452 ORDER BY `unit` DESC [ RunTime:0.003042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58253452 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58253452 ORDER BY `minOrder` ASC [ RunTime:0.001014s ]
select * from pdf where partno='SC110NJ' and brandshort='Mallory Sonalert Products Inc.' limit 1 [ RunTime:0.000512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SC110NJ' OR `brand` LIKE 'Mallory Sonalert Products Inc.%' ) ) LIMIT 1 [ RunTime:0.007235s ]
SELECT `id` FROM `stock` WHERE `id` <> 58253452 AND `partno` = 'SC110NJ' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%mallory sonalert products inc.%' ) [ RunTime:0.000867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13359570 [ RunTime:0.004756s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.025090s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.022840s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001312s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004842s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005559s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.009380s ]
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 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001771s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SC110N%' OR `brand` LIKE 'SC110N%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.015239s ]