Commit df1406b9 authored by zhaopeng343's avatar zhaopeng343

销售报表、子订单RPC

parent c8405500
<?php
/**
* Created by PhpStorm.
* User: zhaopeng
* Date: 2020/9/5
* Time: 10:09
*/
namespace Meibuyu\Micro\Service\Interfaces\BusinessSaleReport;
interface OtherDatumServiceInterface
{
/**
* 获取销售报表其他数据
* @param array $conditions 必传条件 site_id team_id start_time end_time
* @return mixed
*/
public function getBusinessSaleOtherDatum(array $conditions);
}
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: zhaopeng
* Date: 2020/9/1
* Time: 10:09
*/
namespace Meibuyu\Micro\Service\Interfaces\Order;
interface SubOrderServiceInterface
{
/**
* @param int $id
* @param array $column 需要查询的字段
* @param array $relation 需要的子订单关联关系可传入['order','order_product']
* @return array | null
*/
public function getById(int $id, array $column=['*'],array $relation = []):array;
/**
*
* @param array $idList 子订单的ID 数组[1,2,3]
* @param array $column 需要查询字段
* @param array $relation 需要的关联关系可传入['order','order_product']
* @return array | null
*/
public function getByIdList(array $idList,array $column=['*'],array $relation = []):array ;
/**
* @param array $idList 需要改变发货状态的子订单ID数组
* @param int $status 需要改变的发货状态ID 1 待发货 2 已发货 3 已签收 4 已取消
* @return bool
*/
public function updateSubOrderShipStatus(array $idList, int $status):bool;
}
\ No newline at end of file
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