old mode 100644
new mode 100755
| | |
| | | * All backend api type |
| | | */ |
| | | declare namespace Api { |
| | | /** |
| | | * namespace Analy |
| | | * |
| | | * backend api module: "Analy" |
| | | */ |
| | | namespace Analy { |
| | | /** store silk */ |
| | | type StoreSilk = Common.CommonRecord<{ |
| | | /** id */ |
| | | id: CommonType.IdType; |
| | | /** 牌号 */ |
| | | materialname: string; |
| | | /** 批次号 */ |
| | | batchcode: string; |
| | | /** 投料日期 */ |
| | | actualstarttime: string; |
| | | /** 投料重量 */ |
| | | jobinput: number; |
| | | /** 损耗重量 */ |
| | | weightloss: number; |
| | | /** 出叶丝率 */ |
| | | slkrate: number; |
| | | /** 储丝柜重量 */ |
| | | weight: number; |
| | | /** 储丝柜出料开始时间 */ |
| | | distimebegin: string; |
| | | /** 储丝柜出料结束时间 */ |
| | | distimeend: string; |
| | | /** 柜子号(末位) */ |
| | | siloid: CommonType.IdType; |
| | | }>; |
| | | /** |
| | | * namespace Analy |
| | | * |
| | | * backend api module: "Analy" |
| | | */ |
| | | namespace Analy { |
| | | /** store silk */ |
| | | type StoreSilk = Common.CommonRecord<{ |
| | | /** id */ |
| | | id: CommonType.IdType; |
| | | /** 牌号 */ |
| | | materialname: string; |
| | | /** 批次号 */ |
| | | batchcode: string; |
| | | /** 投料日期 */ |
| | | actualstarttime: string; |
| | | /** 投料重量 */ |
| | | jobinput: number; |
| | | /** 损耗重量 */ |
| | | weightloss: number; |
| | | /** 出叶丝率 */ |
| | | silkrate: number; |
| | | /** 储丝柜重量 */ |
| | | weight: number; |
| | | /** 储丝柜出料开始时间 */ |
| | | distimebegin: string; |
| | | /** 储丝柜出料结束时间 */ |
| | | distimeend: string; |
| | | /** 柜子号(末位) */ |
| | | siloid: string; |
| | | }>; |
| | | |
| | | /** store silk search params */ |
| | | type StoreSilkSearchParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.StoreSilk, |
| | | | 'materialname' |
| | | | 'batchcode' |
| | | | 'actualstarttime' |
| | | | 'distimebegin' |
| | | | 'distimeend' |
| | | | 'siloid' |
| | | > & |
| | | Api.Common.CommonSearchParams |
| | | >; |
| | | /** store silk search params */ |
| | | type StoreSilkSearchParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.StoreSilk, |
| | | 'materialname' | 'batchcode' | 'actualstarttime' | 'distimebegin' | 'distimeend' | 'siloid' |
| | | > & |
| | | Api.Common.CommonSearchParams |
| | | >; |
| | | |
| | | /** store silk operate params */ |
| | | type StoreSilkOperateParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.StoreSilk, |
| | | | 'id' |
| | | | 'materialname' |
| | | | 'batchcode' |
| | | | 'actualstarttime' |
| | | | 'jobinput' |
| | | | 'weightloss' |
| | | | 'slkrate' |
| | | | 'weight' |
| | | | 'distimebegin' |
| | | | 'distimeend' |
| | | | 'siloid' |
| | | > |
| | | >; |
| | | /** store silk operate params */ |
| | | type StoreSilkOperateParams = CommonType.RecordNullable< |
| | | Pick< |
| | | Api.Analy.StoreSilk, |
| | | | 'id' |
| | | | 'materialname' |
| | | | 'batchcode' |
| | | | 'actualstarttime' |
| | | | 'jobinput' |
| | | | 'weightloss' |
| | | | 'silkrate' |
| | | | 'weight' |
| | | | 'distimebegin' |
| | | | 'distimeend' |
| | | | 'siloid' |
| | | > |
| | | >; |
| | | |
| | | /** store silk list */ |
| | | type StoreSilkList = Api.Common.PaginatingQueryRecord<StoreSilk>; |
| | | } |
| | | /** store silk list */ |
| | | type StoreSilkList = Api.Common.PaginatingQueryRecord<StoreSilk>; |
| | | } |
| | | } |