Commit 39a9005a authored by liuyuzhen's avatar liuyuzhen

首页分类问题

parent 58e10fb9
......@@ -687,7 +687,7 @@ class StoreServiceModel extends \Business\AbstractModel{
}
public function getStoreClassesByStoreIds($storeIds,$gcId){
$signStoreClassSql = ' store_id in ('.implode(',',$storeIds).') and is_charged =1 and gc_parent_id ='.$gcId;
$signStoreClassSql = ' store_id in ('.implode(',',$storeIds).') and is_charged=1 and gc_parent_id ='.$gcId;
$qmStoreClassDao = \DAO\QmStoreClassModel::getInstance();
$signClassStores = $qmStoreClassDao->selectByWhere($signStoreClassSql,'store_id,gc_id');
//$signClassStores = $storeGoodsClassDao->selectByWhere($signStoreClassSql,'store_id,gc_id');
......
......@@ -930,18 +930,15 @@ class LinkMySQLModel{
public function getJointWhereByTwoArray($key, $array)
{
var_dump('test');
var_dump($key) ;
var_dump($array);
var_dump('test1');
if(count($array)==3){
if(!())
if(!($array[0]=='between'&&!(empty($array[1])&&empty($array[2]))&&$key)){
return false;
}
}else{
if (empty($array) || !$key ||( count($array) != 2)|| $array[1] === '' || $array[1] === null) {
return false;
}
}
echo 'test';
$return = '';
$strArray = explode('|', $key);
$count = count($strArray);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment