Commit 3f86f8f3 authored by fuyunnan's avatar fuyunnan

cc

parent cb41d51d
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
namespace Meibuyu\Micro\Service\Interfaces; namespace Meibuyu\Micro\Service\Interfaces;
use phpDocumentor\Reflection\Types\Boolean;
use phpDocumentor\Reflection\Types\Integer; use phpDocumentor\Reflection\Types\Integer;
interface DispatchPlanServiceInterface interface DispatchPlanServiceInterface
...@@ -18,11 +17,11 @@ interface DispatchPlanServiceInterface ...@@ -18,11 +17,11 @@ interface DispatchPlanServiceInterface
* description:获取退税任务列表 * description:获取退税任务列表
* author: fuyunnan * author: fuyunnan
* @param array $conditions 筛选条件 * @param array $conditions 筛选条件
* @param Integer $pageSize 默认10 * @param Integer $pageSize 默认10
* Date: 2020/6/13 * Date: 2020/6/13
* @return array * @return array
*/ */
public function listRefundTasks(array $conditions, Integer $pageSize) : array; public function listRefundTasks(array $conditions = [], Integer $pageSize): array;
...@@ -30,19 +29,32 @@ interface DispatchPlanServiceInterface ...@@ -30,19 +29,32 @@ interface DispatchPlanServiceInterface
* description:新建退税单 获取底部产品列表 * description:新建退税单 获取底部产品列表
* author: fuyunnan * author: fuyunnan
* @param array $conditions 请求参数 * @param array $conditions 请求参数
* @param Integer $pageSize
* Date: 2020/6/13 * Date: 2020/6/13
* @return array * @return array
*/ */
public function listRefundProducts(array $conditions) :array; public function listRefundProducts(array $conditions = [], Integer $pageSize): array;
/** /**
* description:删除退税任务 * description:删除退税任务
* author: fuyunnan * author: fuyunnan
* @param int $id 计划任务id * @param int $id 计划任务id
* Date: 2020/6/13 * Date: 2020/6/13
* @return bool * @return bool
*/ */
public function delete($id) :Boolean; public function delete($id): bool;
/**
* description:获取发货计划详情
* author: fuyunnan
* @param array $idList
* @param array $conditions 将参数条件写成二维数组形式 $conditions = [ ['id','=',1],['name','=',''jack] ]
* Date: 2020/6/13
* @return array
*/
public function getDispatch(array $idList, array $conditions = []):array ;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment