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.
 
 
 
 
 

40 lines
767 B

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