Selaa lähdekoodia

查采购销售合同按创建时间排序

zou.yingbin 3 vuotta sitten
vanhempi
commit
7f62f71227
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      models/ermcp3.go

+ 3 - 0
models/ermcp3.go

@@ -1055,6 +1055,9 @@ select t.contractno,
 	}
 
 	sqlId.JoinEx(r.QryType == 2, " and t.qty - t.pricedqty > 0 and t.pricetype !=1")
+
+	sqlId.Join(" order by t.createtime desc")
+
 	return sqlId.String()
 }