|
@@ -685,12 +685,12 @@ class Warehouse extends Start_Controller {
|
|
|
}
|
|
|
$gpp = str_replace('-1323-','-2167-',$newcp);
|
|
|
$ccxh = $this->whlabel->find_count("state = '0' and features = '$gpp' and warehouse = '".$v['id']."' and zd = '' and (shop IS NULL or shop = '' or shop like '%,".$shop.",%')");//通用
|
|
|
- var_dump($ccxh);
|
|
|
- die;
|
|
|
+
|
|
|
if($ccxh >= $num[1])
|
|
|
{
|
|
|
$hdtx .= $v['title'].' - 5*7有货;';
|
|
|
}
|
|
|
+ $hdtx .= $v['title'].' - 5*7有货;';
|
|
|
|
|
|
}
|
|
|
|