Ver Fonte

Thjpurchasetransfer:按委托时间倒序;

deng.yinping há 3 anos atrás
pai
commit
d1e151b071
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      models/ferroalloy.go

+ 1 - 0
models/ferroalloy.go

@@ -1357,6 +1357,7 @@ func (r *Thjpurchasetransfer) buildSql() string {
 	inner join wr_presaleinfo pi on pi.presaleapplyid = t.presaleapplyid
 	inner join wrstandard wr on t.wrstandardid = wr.wrstandardid
 	where %v and 1=1
+	order by t.CREATETIME desc
 `
 	//转让委托 - 挂牌中  -卖方
 	param := fmt.Sprintf("t.selluserid = %v and t.transferstatus = 1", r.USERID)