刘韬 4 years ago
parent
commit
8f79ea78e6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      DataFusion/src/com/zskk/task/PayTask.java

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

@@ -18,11 +18,11 @@ 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 * from(select * from zlhis.paylist where ISFEE=1 and STUDYUID is not null order by PAYTIME desc)where rownum<10");
+		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<50");
 		for (Record record : records) {
 			JSONObject jsonObject = new JSONObject();
 			jsonObject.put("institution_id", PropKit.get("institution_id"));
-			jsonObject.put("patient_num", record.getStr("STUDYUID"));
+			jsonObject.put("accession_num", record.getStr("STUDYUID"));
 			jsonObject.put("ins_type", "1");
 			JSONObject pJsonObject = new JSONObject();
 			pJsonObject.put("params", jsonObject.toJSONString());