| 123456789101112131415161718192021222324252627 |
- <?php
- namespace app\api\model\supplier;
- use app\common\model\supplier\ServiceApply as ServiceApplyModel;
- /**
- * 供应商服务保障申请模型
- */
- class ServiceApply extends ServiceApplyModel
- {
- /**
- * 获取列表数据
- */
- public function getList($shop_supplier_id)
- {
- $model = $this;
- // 查询列表数据
- $list = $model->alias('a')
- ->where('a.status','=',1)
- ->where('shop_supplier_id','=',$shop_supplier_id)
- ->join('supplier_service_security s','s.service_security_id=a.service_security_id')
- ->field('name,describe')
- ->order(['a.create_time' => 'asc'])
- ->select();
- return $list;
- }
-
- }
|