當前位置: 首頁>>代碼示例>>PHP>>正文


PHP DbUtils::insertQuery方法代碼示例

本文整理匯總了PHP中DbUtils::insertQuery方法的典型用法代碼示例。如果您正苦於以下問題:PHP DbUtils::insertQuery方法的具體用法?PHP DbUtils::insertQuery怎麽用?PHP DbUtils::insertQuery使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在DbUtils的用法示例。


在下文中一共展示了DbUtils::insertQuery方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: CreateRequisitionMaster

    public function CreateRequisitionMaster($getData)
    {
        $sql = 'INSERT INTO 
 				requisitions_master 
				(user_id,status,dept_id,office_id,required_within,created_at,requisition_number)  
 				VALUES(' . $getData . ')';
        //echo $sql;
        return parent::insertQuery($sql);
    }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:9,代碼來源:requisition.class.php

示例2: CreateMrrRawMaster

 public function CreateMrrRawMaster($getData)
 {
     $sql = "INSERT INTO mrr_raw_item_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:mrr.class.php

示例3: CreateImportGoods

 function CreateImportGoods($getData)
 {
     $sql = "INSERT INTO import_goods VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:importGoods.class.php

示例4: CreateRawStockItem

 public function CreateRawStockItem($getData)
 {
     $sql = "INSERT INTO raw_item VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:raw_item.class.php

示例5: CreateStockCat

 function CreateStockCat($getData)
 {
     $sql = "INSERT INTO stock_catagory VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:c.class.php

示例6: CreateIndentMaster

 public function CreateIndentMaster($getData)
 {
     $sql = "INSERT INTO\n \t\t\t\tindents_master( indent_id ,indent_code,indent_remarks,created_at) \n \t\t\t\tVALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:indent.class.php

示例7: CreateGatePassMaster

 public function CreateGatePassMaster($getData)
 {
     $sql = "INSERT INTO  gate_pass_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:gatePass.class.php

示例8: CreateStockReturnMaster

 public function CreateStockReturnMaster($getData)
 {
     $sql = "INSERT INTO stock_return_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:stkReturn.class.php

示例9: CreateFinishStockItem

 function CreateFinishStockItem($getData)
 {
     $sql = "INSERT INTO stock_item (stock_item_id,stock_item_name,stock_code_m_id,stock_item_grp_id,stock_item_unit_id,stock_alt_unit,unit_relation1,unit_relation2,stock_item_desc,stock_count,stock_item_op_balance,stock_item_op_rate,stock_item_op_value,stock_item_cl_balance) VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:stock.class.php

示例10: CreateLc

 function CreateLc($getData)
 {
     $sql = "INSERT INTO lc VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:lc.class.php

示例11: CreateDeliveryMaster

 public function CreateDeliveryMaster($getData)
 {
     $sql = "INSERT INTO  delivery_challan_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:delivery.class.php

示例12: Create

 function Create($getData)
 {
     $sql = "INSERT INTO companies VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:company.class.php

示例13: CreateConsumptionRawDetails

 public function CreateConsumptionRawDetails($getData)
 {
     $sql = "INSERT INTO\n \t\t\t\t\tconsumption_raw_details \n \t\t\t\t\tVALUES({$getData})";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:consumption.class.php

示例14: CreatePurchaseOrderMaster

 public function CreatePurchaseOrderMaster($getData)
 {
     $sql = "INSERT INTO purchase_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:purchaseOrder.class.php

示例15: CreateQCMaster

 public function CreateQCMaster($getData)
 {
     $sql = "INSERT INTO qc_master VALUES(" . $getData . ")";
     return parent::insertQuery($sql);
 }
開發者ID:rajibahmed,項目名稱:IIMS,代碼行數:5,代碼來源:qc.class.php


注:本文中的DbUtils::insertQuery方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。