作者 陈志颖

fix:修改合伙人列表排序

@@ -128,7 +128,7 @@ func (repository *PartnerInfoRepository) Find(queryOption domain.PartnerFindQuer @@ -128,7 +128,7 @@ func (repository *PartnerInfoRepository) Find(queryOption domain.PartnerFindQuer
128 err error 128 err error
129 partnerReturn = make([]domain.PartnerInfo, 0) 129 partnerReturn = make([]domain.PartnerInfo, 0)
130 ) 130 )
131 - query = query.Order("id DESC") 131 + query = query.Order("create_at DESC")
132 err = query.Select() 132 err = query.Select()
133 if err != nil { 133 if err != nil {
134 return partnerReturn, err 134 return partnerReturn, err
@@ -145,7 +145,7 @@ func (repository *PartnerInfoRepository) Find(queryOption domain.PartnerFindQuer @@ -145,7 +145,7 @@ func (repository *PartnerInfoRepository) Find(queryOption domain.PartnerFindQuer
145 145
146 /** 146 /**
147 * @Author SteveChan 147 * @Author SteveChan
148 - * @Description //TODO 移除合伙人 148 + * @Description // 移除合伙人
149 * @Date 15:33 2020/12/29 149 * @Date 15:33 2020/12/29
150 * @Param 150 * @Param
151 * @return 151 * @return