Example #1
0
 public function view_sureAdd()
 {
     $DetectStandardAct = new DetectStandardAct();
     $test = $DetectStandardAct->act_sureAdd();
     header('location:index.php?mod=nowSampleStandard&act=sampleStandardList');
     exit;
 }
Example #2
0
 function act_getStandardInfo()
 {
     $id = $_POST['id'];
     $list = SampleStandardModel::getNowStandardList("sName", "where sampleTypeId='{$id}' group by sName");
     if ($list) {
         return $list;
     } else {
         self::$errCode = CategoryModel::$errCode;
         self::$errMsg = CategoryModel::$errMsg;
         return false;
     }
 }