数据统计模块开发对接
This commit is contained in:
195
src/servers/dao/dataStatistics.d.ts
vendored
Normal file
195
src/servers/dao/dataStatistics.d.ts
vendored
Normal file
@ -0,0 +1,195 @@
|
||||
// 数据统计大模块
|
||||
|
||||
// 数据统计模块类型定义
|
||||
declare namespace DataStatistics {
|
||||
// 通用分页请求参数
|
||||
export interface BasePageRequest {
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
}
|
||||
|
||||
// 通用分页响应
|
||||
export interface PageResponse<T> {
|
||||
records: T[];
|
||||
total: number;
|
||||
size: number;
|
||||
current: number;
|
||||
orders?: any[];
|
||||
optimizeCountSql?: boolean;
|
||||
hitCount?: boolean;
|
||||
countId?: null;
|
||||
maxLimit?: null;
|
||||
searchCount?: boolean;
|
||||
pages?: number;
|
||||
}
|
||||
|
||||
// 评价情况统计 - 记录
|
||||
export interface EvaluateStatisticsRecord {
|
||||
id: string;
|
||||
area: string; // 境内/境外
|
||||
categoryName: string | null; // 品类
|
||||
supplierName: string; // 供应商名称
|
||||
accessUnit: string; // 准入单位
|
||||
accessDept: string; // 准入部门
|
||||
evaluateYear: string | null; // 评价年度
|
||||
evaluateResult: string; // 评价结果/等级
|
||||
basePageRequest: null;
|
||||
}
|
||||
|
||||
// 评价情况统计 - 查询参数
|
||||
export interface EvaluateStatisticsSearchParams {
|
||||
supplierName?: string;
|
||||
evaluateYear?: string;
|
||||
accessUnit?: string;
|
||||
evaluateResult?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
}
|
||||
|
||||
// 评价情况统计 - 请求参数
|
||||
export interface EvaluateStatisticsRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
supplierName?: string;
|
||||
evaluateYear?: string;
|
||||
accessUnit?: string;
|
||||
evaluateResult?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
}
|
||||
|
||||
// 年审统计 - 记录
|
||||
export interface AnnualReviewStatisticsRecord {
|
||||
id: string;
|
||||
area: string; // 境内/境外
|
||||
categoryName: string | null; // 品类
|
||||
supplierName: string; // 供应商名称
|
||||
accessUnit: string; // 准入单位
|
||||
accessDept: string; // 准入部门
|
||||
annualreviewYear: string; // 年审年度
|
||||
annualStatisticsResult: string; // 年审结果
|
||||
basePageRequest: null;
|
||||
}
|
||||
|
||||
// 年审统计 - 查询参数
|
||||
export interface AnnualReviewStatisticsSearchParams {
|
||||
supplierName?: string;
|
||||
annualreviewYear?: string;
|
||||
accessUnit?: string;
|
||||
annualStatisticsResult?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
}
|
||||
|
||||
// 年审统计 - 请求参数
|
||||
export interface AnnualReviewStatisticsRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
supplierName?: string;
|
||||
annualreviewYear?: string;
|
||||
accessUnit?: string;
|
||||
annualStatisticsResult?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
}
|
||||
|
||||
// 退出统计 - 记录
|
||||
export interface ExitStatisticsRecord {
|
||||
area: string; // 境内/境外
|
||||
categoryName: string | null; // 品类
|
||||
supplierName: string; // 供应商名称
|
||||
accessUnit: string; // 退出单位
|
||||
accessDept: string; // 退出部门
|
||||
applyUser: string; // 申请人
|
||||
applyTime: string; // 申请时间
|
||||
basePageRequest: null;
|
||||
}
|
||||
|
||||
// 退出统计 - 查询参数
|
||||
export interface ExitStatisticsSearchParams {
|
||||
supplierName?: string;
|
||||
accessUnit?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
applyUser?: string;
|
||||
applyTimeRange?: string[];
|
||||
}
|
||||
|
||||
// 退出统计 - 请求参数
|
||||
export interface ExitStatisticsRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
supplierName?: string;
|
||||
accessUnit?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
applyUser?: string;
|
||||
applyTimeStart?: string;
|
||||
applyTimeEnd?: string;
|
||||
}
|
||||
|
||||
// 资质过期 - 记录
|
||||
export interface QualificationExpireRecord {
|
||||
id: string;
|
||||
authority: string; // 发证机构
|
||||
termOfValidity: string; // 有效期限
|
||||
supplierName: string; // 供应商名称
|
||||
area: string; // 境内/境外
|
||||
accessUnit: string; // 准入单位
|
||||
accessDept: string; // 准入部门
|
||||
categoryName: string | null; // 品类
|
||||
basePageRequest: null;
|
||||
}
|
||||
|
||||
// 资质过期 - 查询参数
|
||||
export interface QualificationExpireSearchParams {
|
||||
supplierName?: string;
|
||||
accessUnit?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
authority?: string;
|
||||
termOfValidityRange?: string[];
|
||||
}
|
||||
|
||||
// 资质过期 - 请求参数
|
||||
export interface QualificationExpireRequest {
|
||||
basePageRequest: BasePageRequest;
|
||||
supplierName?: string;
|
||||
accessUnit?: string;
|
||||
area?: string;
|
||||
categoryName?: string;
|
||||
accessDept?: string;
|
||||
authority?: string;
|
||||
termOfValidityStart?: string;
|
||||
termOfValidityEnd?: string;
|
||||
}
|
||||
|
||||
// 导出功能 - 通用响应
|
||||
export interface ExportResponse {
|
||||
id: string;
|
||||
name: string;
|
||||
deptName: string;
|
||||
categoryName: string;
|
||||
libraryId: string;
|
||||
area: string;
|
||||
supplierName: null;
|
||||
applyUser: string;
|
||||
applyTime: string;
|
||||
approveStatus: string;
|
||||
processStatusName: null;
|
||||
approveResult: null;
|
||||
basePageRequest: null;
|
||||
coscoCategoryLibrarySupplierVos: {
|
||||
name: string;
|
||||
area: string;
|
||||
unifiedSocialCreditCode: string;
|
||||
supplierCategory: string;
|
||||
id: string;
|
||||
selected: boolean;
|
||||
}[]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user