作者 yangfu

支付记录列表修改

@@ -109,7 +109,12 @@ func (srv CompanyCreditAccountService) CreditAccountPaySearch(cmd *command.Credi @@ -109,7 +109,12 @@ func (srv CompanyCreditAccountService) CreditAccountPaySearch(cmd *command.Credi
109 } 109 }
110 var items = make([]*dto.CreditAccountItem, 0) 110 var items = make([]*dto.CreditAccountItem, 0)
111 if len(cooperationContractNumbers) == 0 { 111 if len(cooperationContractNumbers) == 0 {
112 - return items, nil 112 + return map[string]interface{}{
  113 + "grid": map[string]interface{}{
  114 + "list": items,
  115 + "sum": 0,
  116 + },
  117 + }, nil
113 } 118 }
114 119
115 var beginTime, endTime time.Time 120 var beginTime, endTime time.Time