Forráskód Böngészése

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

zou.yingbin 3 éve
szülő
commit
7f62f71227
1 módosított fájl, 3 hozzáadás és 0 törlés
  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()
 }