芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/portpulselogistics.com/Modules/Cargo/Entities/ShipmentMission.php
pluck('id'); return Self::where('shipment_id',$shipment_id)->whereIn('mission_id',$type_missions)->count(); } public function shipment(){ return $this->belongsTo('Modules\Cargo\Entities\Shipment','shipment_id'); } public function mission(){ return $this->hasOne('Modules\Cargo\Entities\Mission', 'id' , 'mission_id'); } }