import * as Comm from '@/TsModel/Comm/Comm'; import * as WebCmd from '@/TsModel/Comm/WebCmd/index'; import { t_query_plan } from "@/TsModel/Lc/Run/Entity/Table/Method/Query/t_query_plan"; import { t_query_plan_member } from "@/TsModel/Lc/Run/Entity/Table/Method/Query/t_query_plan_member"; import { T_QueryColumnConf } from "@/TsModel/Lc/Run/Entity/Table/Method/Query/T_QueryColumnConf"; /** 业务对像路径*/ export declare const Path: string; export declare const Url: string; export type TypeRoot = Comm.DataRoot, { t_query_plan_member: Comm.DataRoot>; t_query_column_conf: Comm.DataRoot>; }>; export type TypeModelResult = Comm.ModelResult, { t_query_plan_member: Comm.DataRoot>; t_query_column_conf: Comm.DataRoot>; }>; export type TypeGetTree = Comm.GetModelTree<{ t_query_plan_member: Comm.GetModelTree; t_query_column_conf: Comm.GetModelTree; }>; /** 业务对像调用的通用参数强类型*/ export type TypeBaseParms = Comm.Biz_BaseParm; /** 业务对像调用返回的通用数据结构*/ export type TypeBaseResult = Comm.Biz_BaseResult; /** 但询单据返回结果*/ export type TypeQueryResult = WebCmd.Biz_WebCmd>>; /** 执行任何命令*/ export declare function Cmd(methodName: string, dataRoot: TypeRoot, viewId?: string, getTree?: TypeGetTree): Promise; export declare function Get(p: { dataRoot: TypeRoot; viewId?: string; getTree?: TypeGetTree; }): Promise; export declare function GetById(p: { id: string; viewId?: string; getTree?: TypeGetTree; }): Promise; /** 保存一张单据*/ export declare function Save(p: { dataRoot: TypeRoot; viewId?: string; }): Promise; /** Query 方法,参数传查询业务对像的数据模型就行*/ export declare function Query(p: { queryParm: Comm.QueryTypeRoot; viewId?: string; }): Promise; /** 删除一张或多张单据*/ export declare function Delete(...ids: string[]): Promise;