Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meibuyu-rpc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
without authentication
meibuyu-rpc
Commits
e7380319
Commit
e7380319
authored
Apr 26, 2023
by
Liu lu
Browse files
Options
Browse Files
Download
Plain Diff
通过供应链生产单号批量获取工厂端分派生产单号数据
parents
1d39282d
28387a80
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
104 additions
and
0 deletions
+104
-0
StockPlanServiceInterface.php
...ce/Interfaces/DatacenterNew/StockPlanServiceInterface.php
+62
-0
FactoryServiceInterface.php
...ice/Interfaces/OutsideFactory/FactoryServiceInterface.php
+8
-0
MaterialServiceInterface.php
src/Service/Interfaces/Product/MaterialServiceInterface.php
+9
-0
FactoryProductStockServiceInterface.php
...rfaces/Production/FactoryProductStockServiceInterface.php
+25
-0
No files found.
src/Service/Interfaces/DatacenterNew/StockPlanServiceInterface.php
0 → 100644
View file @
e7380319
<?php
declare
(
strict_types
=
1
);
namespace
Meibuyu\Rpc\Service\Interfaces\DatacenterNew
;
/**
* @author chentianyu
*/
interface
StockPlanServiceInterface
{
/**
* 获取历史销量分页
* @param array $params ['year'=>2013,'sku'=>'aabbcc']
* @return mixed
* @author chentianyu
*/
public
function
getProductChildrenHistorySalePaginate
(
array
$params
);
/**
* 导出历史销量
* @param array $params ['year'=>2013,'sku'=>'aabbcc']
* @return mixed
* @author chentianyu
*/
public
function
exportProductChildrenHistorySale
(
array
$params
);
/**
* 获取预测销量分页
* @param array $params ['year'=>2013,'sku'=>'aabbcc']
* @return mixed
* @author chentianyu
*/
public
function
getProductEstimateSalePaginate
(
array
$params
);
/**
* 导出预测销量
* @param array $params ['year'=>2013,'sku'=>'aabbcc']
* @return mixed
* @author chentianyu
*/
public
function
exportProductEstimateSale
(
array
$params
);
/**
* 获取月度历史销量
* @param array $params eg: ['product_id'=>123,'product_child_id'=>1236,'start_month'=>'2023-01','end_month'=>'2023-08']
* @return array eg: {"2023-01": "34232","2023-02": "23432"}
* @author chentianyu
*/
public
function
getMonthHistorySale
(
array
$params
);
/**获取月度预测销量
* @param array $params eg: ['product_id'=>123,'start_month'=>'2023-01','end_month'=>'2023-08']
* @return array eg: {"2023-01": "34232","2023-02": "23432"}
* @author chentianyu
*/
public
function
getMonthEstimateSale
(
array
$params
);
}
\ No newline at end of file
src/Service/Interfaces/OutsideFactory/FactoryServiceInterface.php
View file @
e7380319
...
...
@@ -222,6 +222,14 @@ interface FactoryServiceInterface
public
function
getCraftDocAddressByDeliveryNo
(
$deliveryNo
);
/**
* 通过名称获取工厂信息
* @param $params
* @return mixed
*/
public
function
getFactoryInfoByNames
(
$params
);
/**
* 通过供应链生产单号批量获取工厂端分派生产单号数据
* @param array $productionNo
...
...
src/Service/Interfaces/Product/MaterialServiceInterface.php
View file @
e7380319
...
...
@@ -112,4 +112,13 @@ interface MaterialServiceInterface
public
function
getProductColorMaterialInfo
(
$productId
,
$productChildIds
=
[],
$keyBy
=
'id'
);
/**
* 获取产品原料信息工艺单等
* @param $params
* @return array
*/
public
function
getProductStuffInfo
(
$params
);
}
src/Service/Interfaces/Production/FactoryProductStockServiceInterface.php
0 → 100644
View file @
e7380319
<?php
namespace
Meibuyu\Rpc\Service\Interfaces\Production
;
interface
FactoryProductStockServiceInterface
{
/**
* 获取已绑定合作的sku列表
* @return mixed
*/
public
function
getFactoryWithSkuList
(
$params
);
/**
* 获取最新的原料信息
* @param $productId
* @author Liu lu
* date 2023-03-28
*/
public
function
getRecentMaterialInfo
(
$productId
);
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment