|
|
@@ -27,6 +27,10 @@ class Model_Whlabel extends Lin_Model
|
|
|
{
|
|
|
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)
|
|
|
{
|
|
|
return $this->find("enter = '$enter'");
|