You've already forked guangan
验收工单
This commit is contained in:
@ -3,14 +3,16 @@
|
||||
namespace plugin\inspection\controller\api\auth;
|
||||
|
||||
use plugin\inspection\controller\api\Auth;
|
||||
use plugin\ticket\model\TicketVerify as Model;
|
||||
use plugin\ticket\model\ApprovalInstance as Model;
|
||||
//use plugin\ticket\model\TicketVerify as Model;
|
||||
|
||||
class TicketVerify extends Auth
|
||||
{
|
||||
|
||||
public function list()
|
||||
{
|
||||
$query = Model::query()->with(['ticket'])->where(['staff_id'=>$this->staff->id]);
|
||||
$query = Model::query()->where("type", '=', "YSSH")->with(['ticket'])
|
||||
->whereIn("ticket_id", \plugin\ticket\model\TicketRepair::query()->where('staff_id', '=', $this->staff->id)->column('ticket_id'));
|
||||
$query->order('create_at', 'desc');
|
||||
$status = $this->request->get('status/i', null);
|
||||
if (is_numeric($status)) {
|
||||
|
Reference in New Issue
Block a user