SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002892s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND ( (s.platform = 1) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.014773s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19167035 LIMIT 5 [ RunTime:0.046227s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167035 ORDER BY `minOrder` ASC [ RunTime:0.018959s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19167035 ORDER BY `unit` DESC [ RunTime:0.008890s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19167035 LIMIT 2 [ RunTime:0.052803s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19167035 ORDER BY `minOrder` ASC [ RunTime:0.058215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19169776 LIMIT 5 [ RunTime:0.023673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19169776 ORDER BY `minOrder` ASC [ RunTime:0.019279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19169776 ORDER BY `unit` DESC [ RunTime:0.061473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19169776 LIMIT 2 [ RunTime:0.022908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19169776 ORDER BY `minOrder` ASC [ RunTime:0.019314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16084240 LIMIT 5 [ RunTime:0.056083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084240 ORDER BY `minOrder` ASC [ RunTime:0.033056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16084240 ORDER BY `unit` DESC [ RunTime:0.089574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16084240 LIMIT 2 [ RunTime:0.060519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16084240 ORDER BY `minOrder` ASC [ RunTime:0.031563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14231687 LIMIT 5 [ RunTime:0.060882s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231687 ORDER BY `minOrder` ASC [ RunTime:0.053898s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14231687 ORDER BY `unit` DESC [ RunTime:0.033803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14231687 LIMIT 2 [ RunTime:0.057694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14231687 ORDER BY `minOrder` ASC [ RunTime:0.018762s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '2' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.067083s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '3' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.085274s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57005657 LIMIT 5 [ RunTime:0.026183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57005657 ORDER BY `minOrder` ASC [ RunTime:0.049351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57005657 ORDER BY `unit` DESC [ RunTime:0.016181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57005657 LIMIT 2 [ RunTime:0.048899s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57005657 ORDER BY `minOrder` ASC [ RunTime:0.014089s ]
select * from pdf where partno='SN751178NS' and brandshort='Texas Instruments' limit 1 [ RunTime:0.029392s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001772s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN751178NS' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.035956s ]
SELECT `id` FROM `stock` WHERE `id` <> 57005657 AND `partno` = 'SN751178NS' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.033811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19169776 [ RunTime:0.030720s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57001204 LIMIT 5 [ RunTime:0.024399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57001204 ORDER BY `minOrder` ASC [ RunTime:0.018669s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57001204 ORDER BY `unit` DESC [ RunTime:0.008026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57001204 LIMIT 2 [ RunTime:0.003314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57001204 ORDER BY `minOrder` ASC [ RunTime:0.012542s ]
select * from pdf where partno='SN751178NSR' and brandshort='Texas Instruments' limit 1 [ RunTime:0.001395s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN751178NSR' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.020999s ]
SELECT `id` FROM `stock` WHERE `id` <> 57001204 AND `partno` = 'SN751178NSR' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.003019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19167035 [ RunTime:0.005033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57009638 LIMIT 5 [ RunTime:0.013735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57009638 ORDER BY `minOrder` ASC [ RunTime:0.002464s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57009638 ORDER BY `unit` DESC [ RunTime:0.009391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57009638 LIMIT 2 [ RunTime:0.004052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57009638 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
select * from pdf where partno='SN751178NSRG4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.001895s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN751178NSRG4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.009045s ]
SELECT `id` FROM `stock` WHERE `id` <> 57009638 AND `partno` = 'SN751178NSRG4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.011243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14231687 [ RunTime:0.010955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57009637 LIMIT 5 [ RunTime:0.024731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57009637 ORDER BY `minOrder` ASC [ RunTime:0.024067s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57009637 ORDER BY `unit` DESC [ RunTime:0.024728s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57009637 LIMIT 2 [ RunTime:0.010837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57009637 ORDER BY `minOrder` ASC [ RunTime:0.014708s ]
select * from pdf where partno='SN751178NSRE4' and brandshort='Texas Instruments' limit 1 [ RunTime:0.044164s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SN751178NSRE4' OR `brand` LIKE 'Texas Instruments%' ) ) LIMIT 1 [ RunTime:0.012236s ]
SELECT `id` FROM `stock` WHERE `id` <> 57009637 AND `partno` = 'SN751178NSRE4' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%texas instruments%' ) [ RunTime:0.010440s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16084240 [ RunTime:0.014656s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '4' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007051s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '5' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002207s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '6' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002043s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '7' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007790s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '8' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.020910s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '9' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005671s ]
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 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND `s`.`platform` = '10' ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013548s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'SN751178NS%' OR `brand` LIKE 'SN751178NS%' ) ) AND ( (s.platform = 1) ) [ RunTime:0.006297s ]