function get_valid_order($order_group, $sku, $pName)
 {
     $goup_sql = GroupDistributionBModel::getGroupDistListB("*", "where shipOrderGroup='{$order_group}' and sku='{$sku}' and pName='{$pName}' and status=0");
     foreach ($goup_sql as $group) {
         $infos = GroupDistributionBModel::getShipOrder("orderStatus", "where id in ({$group['shipOrderId']})");
         foreach ($infos as $info) {
             if ($info['orderStatus'] != 407) {
                 return false;
                 break;
             }
         }
     }
     return true;
 }