webmain/flow/input/mode_carmwxAction.php

(完整代码) 587B

<?php
/**
*	此文件是流程模块【carmwx.车辆维修】对应接口文件。
*/ 
class mode_carmwxClassAction extends inputAction{
	
	
	public function getcardata()
	{
		$where= m('admin')->getcompanywhere(1);
		$rows = m('carm')->getall("1=1 ".$where."",'carnum as name,id as value');
		return $rows;
	}
	
	protected function savebefore($table, $arr, $id, $addbo){
		$carid 	= $arr['carid'];
		$to 	= m($table)->rows('id<>'.$id.' and `carid`='.$carid.' and `type`=0 and `status`=0');
		if($to>0)return '当前车辆已申请了维修在处理中了';
	}
}	
			

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。