$pid =I('pid');

        $year = I('year');

        $productType = I('productType');

        //搜索条件 where

        $_where = "cinfo.uid=$uid and cg.type=1 and cg.status=1";

        if($pid){

            $_where .= " and c.pid=$pid";

        }

        if($year){

            $_where .= " and c.year=$year";

        }

        if($productType){

            $_where .= " and c.productType=$productType";

        }

相关文章:

  • 2021-12-05
  • 2021-10-24
  • 2021-10-15
  • 2021-12-05
  • 2021-05-20
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-12-27
  • 2021-07-07
  • 2021-12-05
  • 2021-08-02
  • 2021-12-13
相关资源
相似解决方案