Commit 1769f65e by hcy001

1

parent f2e525aa
Showing with 1 additions and 1 deletions
...@@ -212,7 +212,7 @@ class InquiryItemsReportModel extends Model ...@@ -212,7 +212,7 @@ class InquiryItemsReportModel extends Model
*/ */
public function checkReport($input){ public function checkReport($input){
$types = $input["types"]; #类型:1 报价pdf 2 销售单 $types = $input["types"]; #类型:1 报价pdf 2 销售单
$itemsIdArr = explode(",",$input["inquiry_items_id"]); $itemsIdArr = explode(",",$input["inquiry_items_ids"]);
$InquiryItemsModel = new InquiryItemsModel(); $InquiryItemsModel = new InquiryItemsModel();
if ($types == 1){ if ($types == 1){
$check = $InquiryItemsModel->whereIn("status",[3,4,5])->whereIn("id",$itemsIdArr)->count(); $check = $InquiryItemsModel->whereIn("status",[3,4,5])->whereIn("id",$itemsIdArr)->count();
......
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 sign in to comment