Ejemplo n.º 1
0
 public function getlastVaildBatch($idString)
 {
     $res = array();
     if (!empty($idString)) {
         $dao = new DaoProductBatch();
         $temp = $dao->getBatchListByIdListOrderTimeDesc($idString);
         if ($temp && count($temp) > 0) {
             $res = $temp[0];
         }
     }
     return $res;
 }