刘韬 %!s(int64=4) %!d(string=hai) anos
pai
achega
e0e4ca832c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      DataFusion/src/com/zskk/task/PayTask.java

+ 1 - 1
DataFusion/src/com/zskk/task/PayTask.java

@@ -18,7 +18,7 @@ public class PayTask implements ITask {
 	public void run() {
 		// TODO Auto-generated method stub
 		DataService dService = ServiceFactory.getService(DataService.class);
-		List<Record> records = Db.use("connected").find("select top 30 * from zlhis.paylist where ISFEE=1 order by PAYTIME desc");
+		List<Record> records = Db.use("connected").find("select * from(select * from zlhis.paylist where ISFEE=1 and STUDYUID is not null order by PAYTIME desc)where rownum<10");
 		for (Record record : records) {
 			JSONObject jsonObject = new JSONObject();
 			jsonObject.put("institution_id", PropKit.get("institution_id"));