Merge
commit
7f31fb0fa0
|
@ -35,12 +35,12 @@ type Nullable<T> = T | undefined | null;
|
||||||
export class InvoiceSearchOption{
|
export class InvoiceSearchOption{
|
||||||
invoiceNo: Nullable<string>
|
invoiceNo: Nullable<string>
|
||||||
invoiceCode: Nullable<string>
|
invoiceCode: Nullable<string>
|
||||||
invoiceUploadTimeStart: Nullable<Date>
|
invoiceUploadTimeStart: Nullable<string>
|
||||||
invoiceUploadTimeEnd:Nullable<Date>
|
invoiceUploadTimeEnd:Nullable<string>
|
||||||
invoiceState:Nullable<number>
|
invoiceState:Nullable<number>
|
||||||
invoiceKind:Nullable<string>
|
invoiceKind:Nullable<string>
|
||||||
invoiceDateStart:Nullable<Date>
|
invoiceDateStart:Nullable<string>
|
||||||
invoiceDateEnd:Nullable<Date>
|
invoiceDateEnd:Nullable<string>
|
||||||
invoiceNote:Nullable<string>
|
invoiceNote:Nullable<string>
|
||||||
invoiceUploader:Nullable<string>
|
invoiceUploader:Nullable<string>
|
||||||
pageNum:number
|
pageNum:number
|
||||||
|
@ -76,16 +76,16 @@ export class InvoiceSearchOption{
|
||||||
|
|
||||||
toString(){
|
toString(){
|
||||||
let res="pageNum="+this.pageNum+"&pageSize="+this.pageSize
|
let res="pageNum="+this.pageNum+"&pageSize="+this.pageSize
|
||||||
res+=(this.invoiceNo===null||this.invoiceNo===""?"":("&invoiceNo="+this.invoiceNo));
|
res+=(this.invoiceNo===undefined||this.invoiceNo===null||this.invoiceNo===""?"":("&invoiceNo="+this.invoiceNo));
|
||||||
res+=(this.invoiceCode===null||this.invoiceCode===""?"":("&invoiceCode="+this.invoiceCode));
|
res+=(this.invoiceCode===undefined||this.invoiceCode===null||this.invoiceCode===""?"":("&invoiceCode="+this.invoiceCode));
|
||||||
res+=(this.invoiceUploadTimeStart===null?"":("&invoiceUploadTimeStart="+this.invoiceUploadTimeStart?.toDateString()));
|
res+=(this.invoiceUploadTimeStart===undefined||this.invoiceUploadTimeStart===null?"":("&invoiceUploadTimeStart="+this.invoiceUploadTimeStart));
|
||||||
res+=(this.invoiceUploadTimeEnd===null?"":("&invoiceUploadTimeEnd="+this.invoiceUploadTimeEnd?.toDateString()));
|
res+=(this.invoiceUploadTimeEnd===undefined||this.invoiceUploadTimeEnd===null?"":("&invoiceUploadTimeEnd="+this.invoiceUploadTimeEnd));
|
||||||
res+=(this.invoiceState===null?"":("&invoiceState="+this.invoiceState));
|
res+=(this.invoiceState===undefined||this.invoiceState===null?"":("&invoiceState="+this.invoiceState));
|
||||||
res+=(this.invoiceKind===null?"":("&invoiceKind="+this.invoiceKind));
|
res+=(this.invoiceKind===undefined||this.invoiceKind===null?"":("&invoiceKind="+this.invoiceKind));
|
||||||
res+=(this.invoiceDateStart===null?"":("&invoiceDateStart="+this.invoiceDateStart?.toDateString()));
|
res+=(this.invoiceDateStart===undefined||this.invoiceDateStart===null?"":("&invoiceDateStart="+this.invoiceDateStart));
|
||||||
res+=(this.invoiceDateEnd===null?"":("&invoiceDateEnd="+this.invoiceDateEnd?.toDateString()));
|
res+=(this.invoiceDateEnd===undefined||this.invoiceDateEnd===null?"":("&invoiceDateEnd="+this.invoiceDateEnd));
|
||||||
res+=(this.invoiceNote===null?"":("&invoiceNote="+this.invoiceNote));
|
res+=(this.invoiceNote===undefined||this.invoiceNote===null?"":("&invoiceNote="+this.invoiceNote));
|
||||||
res+=(this.invoiceUploader===null?"":("&invoiceUploader="+this.invoiceUploader));
|
res+=(this.invoiceUploader===undefined||this.invoiceUploader===null?"":("&invoiceUploader="+this.invoiceUploader));
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue