* Exec for dm db.

This commit is contained in:
孙广明
2022-12-29 14:56:03 +08:00
parent 4f8435978d
commit 6df3f17c89
+1
View File
@@ -22,6 +22,7 @@ class branchModel extends model
*/
public function getById($branchID, $productID = 0, $field = 'name')
{
if($branchID == 'all') return false;
if(empty($branchID))
{
if(empty($productID)) $productID = $this->session->product;