代码生成
This commit is contained in:
90
src/api/price/PricePurPngApp/index.ts
Normal file
90
src/api/price/PricePurPngApp/index.ts
Normal file
@ -0,0 +1,90 @@
|
||||
import { LngPricePurPngAppPageModel, LngPricePurPngAppPageParams, LngPricePurPngAppPageResult } from './model/PricePurPngAppModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/price/pricePurPngApp/page',
|
||||
List = '/price/pricePurPngApp/list',
|
||||
Info = '/price/pricePurPngApp/info',
|
||||
LngPricePurPngApp = '/price/pricePurPngApp',
|
||||
|
||||
|
||||
|
||||
|
||||
DataLog = '/price/pricePurPngApp/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngPricePurPngApp分页列表
|
||||
*/
|
||||
export async function getLngPricePurPngAppPage(params: LngPricePurPngAppPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPricePurPngAppPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngPricePurPngApp信息
|
||||
*/
|
||||
export async function getLngPricePurPngApp(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPricePurPngAppPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngPricePurPngApp
|
||||
*/
|
||||
export async function addLngPricePurPngApp(lngPricePurPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngPricePurPngApp,
|
||||
params: lngPricePurPngApp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngPricePurPngApp
|
||||
*/
|
||||
export async function updateLngPricePurPngApp(lngPricePurPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngPricePurPngApp,
|
||||
params: lngPricePurPngApp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngPricePurPngApp(批量删除)
|
||||
*/
|
||||
export async function deleteLngPricePurPngApp(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngPricePurPngApp,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
165
src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts
Normal file
165
src/api/price/PricePurPngApp/model/PricePurPngAppModel.ts
Normal file
@ -0,0 +1,165 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngApp分页参数 模型
|
||||
*/
|
||||
export interface LngPricePurPngAppPageParams extends BasicPageParams {
|
||||
id: string;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
approCode: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngApp分页返回值模型
|
||||
*/
|
||||
export interface LngPricePurPngAppPageModel {
|
||||
id: string;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
approCode: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngApp表类型
|
||||
*/
|
||||
export interface LngPricePurPngAppModel {
|
||||
id: number;
|
||||
|
||||
comId: number;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
dateSubmit: string;
|
||||
|
||||
approCode: string;
|
||||
|
||||
timeAppro: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
|
||||
lngPricePurPngAppSuList?: LngPricePurPngAppSuModel;
|
||||
|
||||
lngPricePurPngAppSuDtlList?: LngPricePurPngAppSuDtlModel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngAppSu表类型
|
||||
*/
|
||||
export interface LngPricePurPngAppSuModel {
|
||||
id: number;
|
||||
|
||||
pppaId: number;
|
||||
|
||||
suCode: string;
|
||||
|
||||
kId: number;
|
||||
|
||||
kpppId: number;
|
||||
|
||||
pointUpCode: string;
|
||||
|
||||
kpppsId: number;
|
||||
|
||||
pointDelyCode: string;
|
||||
|
||||
transSign: string;
|
||||
|
||||
uomCode: string;
|
||||
|
||||
dateFrom: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngAppSuDtl表类型
|
||||
*/
|
||||
export interface LngPricePurPngAppSuDtlModel {
|
||||
id: number;
|
||||
|
||||
pppasId: number;
|
||||
|
||||
priceCode: string;
|
||||
|
||||
sort: number;
|
||||
|
||||
rateM3Gj: number;
|
||||
|
||||
rateQtyGj: number;
|
||||
|
||||
rateQtyM3: number;
|
||||
|
||||
priceGj: number;
|
||||
|
||||
priceM3: number;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPricePurPngApp分页返回值结构
|
||||
*/
|
||||
export type LngPricePurPngAppPageResult = BasicFetchResult<LngPricePurPngAppPageModel>;
|
||||
90
src/api/price/PriceSalesPngApp/index.ts
Normal file
90
src/api/price/PriceSalesPngApp/index.ts
Normal file
@ -0,0 +1,90 @@
|
||||
import { LngPriceSalesPngAppPageModel, LngPriceSalesPngAppPageParams, LngPriceSalesPngAppPageResult } from './model/PriceSalesPngAppModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/price/priceSalesPngApp/page',
|
||||
List = '/price/priceSalesPngApp/list',
|
||||
Info = '/price/priceSalesPngApp/info',
|
||||
LngPriceSalesPngApp = '/price/priceSalesPngApp',
|
||||
|
||||
|
||||
|
||||
|
||||
DataLog = '/price/priceSalesPngApp/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngPriceSalesPngApp分页列表
|
||||
*/
|
||||
export async function getLngPriceSalesPngAppPage(params: LngPriceSalesPngAppPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPriceSalesPngAppPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngPriceSalesPngApp信息
|
||||
*/
|
||||
export async function getLngPriceSalesPngApp(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngPriceSalesPngAppPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngPriceSalesPngApp
|
||||
*/
|
||||
export async function addLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngPriceSalesPngApp,
|
||||
params: lngPriceSalesPngApp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngPriceSalesPngApp
|
||||
*/
|
||||
export async function updateLngPriceSalesPngApp(lngPriceSalesPngApp: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngPriceSalesPngApp,
|
||||
params: lngPriceSalesPngApp,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngPriceSalesPngApp(批量删除)
|
||||
*/
|
||||
export async function deleteLngPriceSalesPngApp(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngPriceSalesPngApp,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
159
src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts
Normal file
159
src/api/price/PriceSalesPngApp/model/PriceSalesPngAppModel.ts
Normal file
@ -0,0 +1,159 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngApp分页参数 模型
|
||||
*/
|
||||
export interface LngPriceSalesPngAppPageParams extends BasicPageParams {
|
||||
id: string;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
approCode: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngApp分页返回值模型
|
||||
*/
|
||||
export interface LngPriceSalesPngAppPageModel {
|
||||
id: string;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
approCode: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngApp表类型
|
||||
*/
|
||||
export interface LngPriceSalesPngAppModel {
|
||||
id: number;
|
||||
|
||||
comId: number;
|
||||
|
||||
appName: string;
|
||||
|
||||
priceTypeCode: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
dateSubmit: string;
|
||||
|
||||
approCode: string;
|
||||
|
||||
timeAppro: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
|
||||
lngPriceSalesPngAppCuList?: LngPriceSalesPngAppCuModel;
|
||||
|
||||
lngPriceSalesPngAppCuDtlList?: LngPriceSalesPngAppCuDtlModel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngAppCu表类型
|
||||
*/
|
||||
export interface LngPriceSalesPngAppCuModel {
|
||||
id: number;
|
||||
|
||||
pspaId: number;
|
||||
|
||||
cuCode: string;
|
||||
|
||||
kId: number;
|
||||
|
||||
ksppId: number;
|
||||
|
||||
pointDelyCode: string;
|
||||
|
||||
uomCode: string;
|
||||
|
||||
dateFrom: string;
|
||||
|
||||
priceDesc: string;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngAppCuDtl表类型
|
||||
*/
|
||||
export interface LngPriceSalesPngAppCuDtlModel {
|
||||
id: number;
|
||||
|
||||
pspacId: number;
|
||||
|
||||
priceCode: string;
|
||||
|
||||
sort: number;
|
||||
|
||||
rateM3Gj: number;
|
||||
|
||||
rateQtyGj: number;
|
||||
|
||||
rateQtyM3: number;
|
||||
|
||||
priceGj: number;
|
||||
|
||||
priceM3: number;
|
||||
|
||||
note: string;
|
||||
|
||||
createUserId: number;
|
||||
|
||||
createDate: string;
|
||||
|
||||
modifyUserId: number;
|
||||
|
||||
modifyDate: string;
|
||||
|
||||
tenantId: number;
|
||||
|
||||
deptId: number;
|
||||
|
||||
ruleUserId: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngPriceSalesPngApp分页返回值结构
|
||||
*/
|
||||
export type LngPriceSalesPngAppPageResult = BasicFetchResult<LngPriceSalesPngAppPageModel>;
|
||||
89
src/api/ship/MeaPurInt/index.ts
Normal file
89
src/api/ship/MeaPurInt/index.ts
Normal file
@ -0,0 +1,89 @@
|
||||
import { LngMeaPurIntPageModel, LngMeaPurIntPageParams, LngMeaPurIntPageResult } from './model/MeaPurIntModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/ship/meaPurInt/page',
|
||||
List = '/ship/meaPurInt/list',
|
||||
Info = '/ship/meaPurInt/info',
|
||||
LngMeaPurInt = '/ship/meaPurInt',
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngMeaPurInt分页列表
|
||||
*/
|
||||
export async function getLngMeaPurIntPage(params: LngMeaPurIntPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngMeaPurIntPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngMeaPurInt信息
|
||||
*/
|
||||
export async function getLngMeaPurInt(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngMeaPurIntPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngMeaPurInt
|
||||
*/
|
||||
export async function addLngMeaPurInt(lngMeaPurInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngMeaPurInt,
|
||||
params: lngMeaPurInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngMeaPurInt
|
||||
*/
|
||||
export async function updateLngMeaPurInt(lngMeaPurInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngMeaPurInt,
|
||||
params: lngMeaPurInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngMeaPurInt(批量删除)
|
||||
*/
|
||||
export async function deleteLngMeaPurInt(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngMeaPurInt,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
74
src/api/ship/MeaPurInt/model/MeaPurIntModel.ts
Normal file
74
src/api/ship/MeaPurInt/model/MeaPurIntModel.ts
Normal file
@ -0,0 +1,74 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngMeaPurInt分页参数 模型
|
||||
*/
|
||||
export interface LngMeaPurIntPageParams extends BasicPageParams {
|
||||
dateMea: string;
|
||||
|
||||
typeCode: string;
|
||||
|
||||
inspName: string;
|
||||
|
||||
id: string;
|
||||
|
||||
qtyMmbtu: string;
|
||||
|
||||
qtyGj: string;
|
||||
|
||||
qtyTon: string;
|
||||
|
||||
qtyM3L: string;
|
||||
|
||||
qtyM3: string;
|
||||
|
||||
rateTonM3L: string;
|
||||
|
||||
rateTonGj: string;
|
||||
|
||||
rateM3Gj: string;
|
||||
|
||||
rateTonM3: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngMeaPurInt分页返回值模型
|
||||
*/
|
||||
export interface LngMeaPurIntPageModel {
|
||||
id: string;
|
||||
|
||||
dateMea: string;
|
||||
|
||||
typeCode: string;
|
||||
|
||||
qtyMmbtu: string;
|
||||
|
||||
qtyGj: string;
|
||||
|
||||
qtyTon: string;
|
||||
|
||||
qtyM3L: string;
|
||||
|
||||
qtyM3: string;
|
||||
|
||||
rateTonM3L: string;
|
||||
|
||||
rateTonGj: string;
|
||||
|
||||
rateM3Gj: string;
|
||||
|
||||
rateTonM3: string;
|
||||
|
||||
inspName: string;
|
||||
|
||||
note: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngMeaPurInt分页返回值结构
|
||||
*/
|
||||
export type LngMeaPurIntPageResult = BasicFetchResult<LngMeaPurIntPageModel>;
|
||||
90
src/api/ship/OpsPurInt/index.ts
Normal file
90
src/api/ship/OpsPurInt/index.ts
Normal file
@ -0,0 +1,90 @@
|
||||
import { LngOpsPurIntPageModel, LngOpsPurIntPageParams, LngOpsPurIntPageResult } from './model/OpsPurIntModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/ship/opsPurInt/page',
|
||||
List = '/ship/opsPurInt/list',
|
||||
Info = '/ship/opsPurInt/info',
|
||||
LngOpsPurInt = '/ship/opsPurInt',
|
||||
|
||||
|
||||
|
||||
|
||||
DataLog = '/ship/opsPurInt/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngOpsPurInt分页列表
|
||||
*/
|
||||
export async function getLngOpsPurIntPage(params: LngOpsPurIntPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngOpsPurIntPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngOpsPurInt信息
|
||||
*/
|
||||
export async function getLngOpsPurInt(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngOpsPurIntPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngOpsPurInt
|
||||
*/
|
||||
export async function addLngOpsPurInt(lngOpsPurInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngOpsPurInt,
|
||||
params: lngOpsPurInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngOpsPurInt
|
||||
*/
|
||||
export async function updateLngOpsPurInt(lngOpsPurInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngOpsPurInt,
|
||||
params: lngOpsPurInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngOpsPurInt(批量删除)
|
||||
*/
|
||||
export async function deleteLngOpsPurInt(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngOpsPurInt,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
54
src/api/ship/OpsPurInt/model/OpsPurIntModel.ts
Normal file
54
src/api/ship/OpsPurInt/model/OpsPurIntModel.ts
Normal file
@ -0,0 +1,54 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngOpsPurInt分页参数 模型
|
||||
*/
|
||||
export interface LngOpsPurIntPageParams extends BasicPageParams {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
staCode: string;
|
||||
|
||||
suName: string;
|
||||
|
||||
ssTypeCode: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngOpsPurInt分页返回值模型
|
||||
*/
|
||||
export interface LngOpsPurIntPageModel {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
staCode: string;
|
||||
|
||||
suName: string;
|
||||
|
||||
ssTypeCode: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngOpsPurInt分页返回值结构
|
||||
*/
|
||||
export type LngOpsPurIntPageResult = BasicFetchResult<LngOpsPurIntPageModel>;
|
||||
90
src/api/ship/OpsSalesInt/index.ts
Normal file
90
src/api/ship/OpsSalesInt/index.ts
Normal file
@ -0,0 +1,90 @@
|
||||
import { LngOpsSalesIntPageModel, LngOpsSalesIntPageParams, LngOpsSalesIntPageResult } from './model/OpsSalesIntModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/ship/opsSalesInt/page',
|
||||
List = '/ship/opsSalesInt/list',
|
||||
Info = '/ship/opsSalesInt/info',
|
||||
LngOpsSalesInt = '/ship/opsSalesInt',
|
||||
|
||||
|
||||
|
||||
|
||||
DataLog = '/ship/opsSalesInt/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngOpsSalesInt分页列表
|
||||
*/
|
||||
export async function getLngOpsSalesIntPage(params: LngOpsSalesIntPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngOpsSalesIntPageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngOpsSalesInt信息
|
||||
*/
|
||||
export async function getLngOpsSalesInt(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngOpsSalesIntPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngOpsSalesInt
|
||||
*/
|
||||
export async function addLngOpsSalesInt(lngOpsSalesInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngOpsSalesInt,
|
||||
params: lngOpsSalesInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngOpsSalesInt
|
||||
*/
|
||||
export async function updateLngOpsSalesInt(lngOpsSalesInt: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngOpsSalesInt,
|
||||
params: lngOpsSalesInt,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngOpsSalesInt(批量删除)
|
||||
*/
|
||||
export async function deleteLngOpsSalesInt(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngOpsSalesInt,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
50
src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts
Normal file
50
src/api/ship/OpsSalesInt/model/OpsSalesIntModel.ts
Normal file
@ -0,0 +1,50 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngOpsSalesInt分页参数 模型
|
||||
*/
|
||||
export interface LngOpsSalesIntPageParams extends BasicPageParams {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
portUnloading1Code: string;
|
||||
|
||||
cuName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngOpsSalesInt分页返回值模型
|
||||
*/
|
||||
export interface LngOpsSalesIntPageModel {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
portUnloading1Code: string;
|
||||
|
||||
cuName: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngOpsSalesInt分页返回值结构
|
||||
*/
|
||||
export type LngOpsSalesIntPageResult = BasicFetchResult<LngOpsSalesIntPageModel>;
|
||||
90
src/api/ship/ShipSchedule/index.ts
Normal file
90
src/api/ship/ShipSchedule/index.ts
Normal file
@ -0,0 +1,90 @@
|
||||
import { LngShipSchedulePageModel, LngShipSchedulePageParams, LngShipSchedulePageResult } from './model/ShipScheduleModel';
|
||||
import { defHttp } from '/@/utils/http/axios';
|
||||
import { ErrorMessageMode } from '/#/axios';
|
||||
|
||||
enum Api {
|
||||
Page = '/ship/shipSchedule/page',
|
||||
List = '/ship/shipSchedule/list',
|
||||
Info = '/ship/shipSchedule/info',
|
||||
LngShipSchedule = '/ship/shipSchedule',
|
||||
|
||||
|
||||
|
||||
|
||||
DataLog = '/ship/shipSchedule/datalog',
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 查询LngShipSchedule分页列表
|
||||
*/
|
||||
export async function getLngShipSchedulePage(params: LngShipSchedulePageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngShipSchedulePageResult>(
|
||||
{
|
||||
url: Api.Page,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取LngShipSchedule信息
|
||||
*/
|
||||
export async function getLngShipSchedule(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngShipSchedulePageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 新增LngShipSchedule
|
||||
*/
|
||||
export async function addLngShipSchedule(lngShipSchedule: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.post<boolean>(
|
||||
{
|
||||
url: Api.LngShipSchedule,
|
||||
params: lngShipSchedule,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 更新LngShipSchedule
|
||||
*/
|
||||
export async function updateLngShipSchedule(lngShipSchedule: Recordable, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.put<boolean>(
|
||||
{
|
||||
url: Api.LngShipSchedule,
|
||||
params: lngShipSchedule,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 删除LngShipSchedule(批量删除)
|
||||
*/
|
||||
export async function deleteLngShipSchedule(ids: string[], mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.delete<boolean>(
|
||||
{
|
||||
url: Api.LngShipSchedule,
|
||||
data: ids,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
62
src/api/ship/ShipSchedule/model/ShipScheduleModel.ts
Normal file
62
src/api/ship/ShipSchedule/model/ShipScheduleModel.ts
Normal file
@ -0,0 +1,62 @@
|
||||
import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
|
||||
|
||||
/**
|
||||
* @description: LngShipSchedule分页参数 模型
|
||||
*/
|
||||
export interface LngShipSchedulePageParams extends BasicPageParams {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
staCode: string;
|
||||
|
||||
suName: string;
|
||||
|
||||
ssTypeCode: string;
|
||||
|
||||
opsPurId: string;
|
||||
|
||||
opsSalesId: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: LngShipSchedule分页返回值模型
|
||||
*/
|
||||
export interface LngShipSchedulePageModel {
|
||||
id: string;
|
||||
|
||||
ssNo: string;
|
||||
|
||||
kId: string;
|
||||
|
||||
longSpotCode: string;
|
||||
|
||||
comId: string;
|
||||
|
||||
dateEta: string;
|
||||
|
||||
staCode: string;
|
||||
|
||||
suName: string;
|
||||
|
||||
ssTypeCode: string;
|
||||
|
||||
opsPurId: string;
|
||||
|
||||
opsSalesId: string;
|
||||
}
|
||||
|
||||
0;
|
||||
|
||||
/**
|
||||
* @description: LngShipSchedule分页返回值结构
|
||||
*/
|
||||
export type LngShipSchedulePageResult = BasicFetchResult<LngShipSchedulePageModel>;
|
||||
Reference in New Issue
Block a user