Commit a01e94b4 authored by Liu lu's avatar Liu lu

新供应商系统推送数据到采购系统或外工厂系统

parent b11b6fc3
...@@ -152,4 +152,29 @@ interface FactoryServiceInterface ...@@ -152,4 +152,29 @@ interface FactoryServiceInterface
* DateTime: 2022/11/27 9:23 * DateTime: 2022/11/27 9:23
*/ */
public function processWarehouseRepair($params); public function processWarehouseRepair($params);
/**
* 推送供应商数据到工厂系统
* @author Liu lu
* @param $post demo
{
`name` '工厂名称',
`abbreviation` '简称',
`code` '代码',
`manager_id` '管理者id',
`phone` '电话',
`address` '地址',
`score` '平均评分',
`creator_id` '创建人id',
`type_id` '类型',
`remark` '备注',
`can_invoice` '能否开发票,默认为 0,可以开票为 1',
`status` '状态 1:正常 0:停用',
`is_transfer` '能否转派 1:能 0:不能'
}
* @return int 主键id
*/
public function pushSupplyDataToFactory($post);
} }
\ No newline at end of file
...@@ -44,4 +44,21 @@ interface SupplierNewServiceInterface ...@@ -44,4 +44,21 @@ interface SupplierNewServiceInterface
* @return array * @return array
*/ */
public function supplierMap(); public function supplierMap();
/**
* 推送供应商数据到采购rpc
* @author Liu lu
* @param $post demo
{
"company_name":"供应商名称",
"company_code":"供应商code",
"type":"3",
"contact_name":"",
"contact_mobile":"",
"create_user_id":""
}
* date 2022-10-26
*/
public function pushSupplyDataToPurchase($post);
} }
\ 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