lvhao hace 6 días
padre
commit
a01434a479
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      core/CoreApp/models/Model_whlabel.php

+ 4 - 0
core/CoreApp/models/Model_whlabel.php

@@ -27,6 +27,10 @@ class Model_Whlabel extends Lin_Model
 	{
 	{
 		return  $this->find("warehouse = '$warehouse' and sku = '$sku'");	
 		return  $this->find("warehouse = '$warehouse' and sku = '$sku'");	
 	}
 	}
+	public function get_warehouseSkuByDesc($warehouse,$sku)
+	{
+		return  $this->find("warehouse = '$warehouse' and sku = '$sku'","*","id desc");	
+	}
 	public function get_enter($enter)
 	public function get_enter($enter)
 	{
 	{
 		return  $this->find("enter = '$enter'");	
 		return  $this->find("enter = '$enter'");