why.xingtongworld.com项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

38 lines
707 B

<?php
/**
* Created by ETEDU.
* User: Leo Chu
* Date: 2017/3/28 0028
* Time: 15:45
*/
namespace app\capital\model;
use think\Model;
/**
* 文化四板初审
* @package app\admin\model
*/
class Capitalcheck extends Model
{
/**
* 增加初审
* @return int 0或初审id
*/
public static function check_add($apply_id,$advice,$check_type)
{
$sldata=array(
'apply_id' => $apply_id,
'advice'=>$advice,
'check_type'=>$check_type,
'create_time'=>time()
);
$dataadd=self::create($sldata);
if($dataadd){ return $dataadd['check_id'];
}else{
return 0;
}
}
}