|
@@ -294,19 +294,19 @@ type NotInvoicePaymentCensusResp struct {
|
|
|
NotPaymentCurrencyTotal []*InvoiceListCurrencyTotal `json:"not_payment_currency_total" description:"未开票-分币种总金额"`
|
|
|
}
|
|
|
|
|
|
-type IncomeSummaryItemList []*IncomeSummaryRespItem
|
|
|
-
|
|
|
-//func (c IncomeSummaryItemList) Len() int {
|
|
|
-// return len(c)
|
|
|
-//}
|
|
|
-//
|
|
|
-//func (c IncomeSummaryItemList) Less(i, j int) bool {
|
|
|
-// return c[i].InvoiceDate.Before(c[j].InvoiceDate)
|
|
|
-//}
|
|
|
-//
|
|
|
-//func (c IncomeSummaryItemList) Swap(i, j int) {
|
|
|
-// c[i], c[j] = c[j], c[i]
|
|
|
-//}
|
|
|
+type IncomeSummaryItemList []*IncomeSummaryItem
|
|
|
+
|
|
|
+func (c IncomeSummaryItemList) Len() int {
|
|
|
+ return len(c)
|
|
|
+}
|
|
|
+
|
|
|
+func (c IncomeSummaryItemList) Less(i, j int) bool {
|
|
|
+ return c[i].InvoiceDate.Before(c[j].InvoiceDate)
|
|
|
+}
|
|
|
+
|
|
|
+func (c IncomeSummaryItemList) Swap(i, j int) {
|
|
|
+ c[i], c[j] = c[j], c[i]
|
|
|
+}
|
|
|
|
|
|
type NotInvoicePaymentSummaryItem struct {
|
|
|
SummaryId int `json:"summary_id" description:"汇总ID"`
|