刘韬 4 years ago
parent
commit
e0e4ca832c
1 changed files with 1 additions and 1 deletions
  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"));