wugg 10 months ago
parent
commit
97ab945246
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/command/good.php

+ 3 - 2
app/command/good.php

@@ -62,6 +62,7 @@ class good extends Command
 					"cat_name"=>$v['cat_id'],
 					"unit_name"=>$v['good_unit'],
 					"isZx"=>$v['isZx'],
+					"isCombind"=>$v['is_combind'],
 					"exam_info"=>"",
 					"status"=>0,
 					"addtime"=>date("Y-m-d H:i:s"),
@@ -87,7 +88,7 @@ class good extends Command
             ->withAttr("good_unit",function ($m){
             	return Db::connect('mysql_wsm')->name('unit')->where("id",$m)->value("unit","");
             })->field("spuCode,good_name,cat_id,good_unit,craft_desc,after_sales,supplierNo,companyNo,supplierName,companyName,good_img,
-            good_info_img,good_thumb_img,creater,createrid,is_stock,0 isZx")
+            good_info_img,good_thumb_img,creater,createrid,is_stock,0 isZx,is_combind")
             ->where("updatetime",">=", $this->date)
             ->where("status","=", 1)
             ->select()->toArray();
@@ -104,7 +105,7 @@ class good extends Command
             	return Db::connect('mysql_wsm')->name('unit')->where("id",$v)->value("unit","");
             })
             ->field("spuCode,good_name,craft_desc,'' after_sales,cat_id,good_unit,supplierNo,companyNo,supplierName,companyName,good_img,
-            good_info_img,good_thumb_img,creater,createrid,0 is_stock,1 isZx")
+            good_info_img,good_thumb_img,creater,createrid,0 is_stock,1 isZx,is_combind")
             ->where("addtime",">=", $this->date)
             ->select()->toArray();
     	     return $this->addGood($list);