刘韬 преди 4 години
родител
ревизия
8f79ea78e6
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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());