Files
OMS/app/tgstockcost/lib/interface/branch.php
2025-12-28 23:13:25 +08:00

48 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
interface tgstockcost_interface_branch
{
/*仓库货品表表名
*@params $real 标示
*@return string 表名字符串
*/
//public function table_name($real=false);
/*获取FINDER列表上仓库货品表数据 成本查询数据获取方法 类似实现MODEL的getList方法
*@params $cols 显示表字段 $filter 查询条件 $offset开始标记 $limint 每页显示数 $orderType 排序
*@return array 仓库货品数据数组
*/
public function getList($cols='*', $filter=array(), $offset=0, $limit=-1, $orderType=null);
public function branchproduct_count($filter=array());
public function header_getlist($cols = '*',$filter = array());
/*获取FINDER列表上仓库货品表数据 收发汇总列表调用数据获取方法 类似实现MODEL的getList方法
*@params $cols 显示表字段 $filter 查询条件 $offset开始标记 $limint 每页显示数 $orderType 排序
*@return array 仓库货品数据数组
*/
public function stock_getList($cols='*', $filter=array(), $offset=0, $limit=-1, $orderType=null);
public function stock_count($filter=array());
/*收发汇总列表 组织数据导出方法
*@params $data返回数据 $filter过滤条件 ...
*@return bool
*/
public function fgetlist_csv(&$data,$filter,$offset,$exportType =1,$pass_data=false);
public function exportName(&$data);
public function export_csv($data);
}