刘韬 5 anos atrás
pai
commit
9a7395dd28

+ 2 - 2
DataFusion/src/com/zskk/control/ViewController.java

@@ -46,7 +46,7 @@ public class ViewController extends Controller {
 	public void testTask() {
 		try {
 			//List<Record>  d =  Db.use("connected").find(this.getPara("sqlStr"));
-			List<Exams> exams = Exams.dao.use("zskk").find("SELECT * FROM pacsonline.exams where exam_status=3 and institution_id=73090001 order by createdAt desc limit 50");
+			List<Exams> exams = Exams.dao.use("zskk").find("SELECT * FROM pacsonline.exams where exam_status=3 and institution_id=46400001 order by createdAt desc limit 50");
 			List<Record> examds = new ArrayList<>();
 			for (Exams exams2 : exams) {
 //				Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
@@ -96,7 +96,7 @@ public class ViewController extends Controller {
 		if (name == null) {
 			return "1";
 		}
-		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=73090001",name);
+		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=46400001",name);
 		if (doctors == null) {
 			return "1";
 		}

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

@@ -80,7 +80,7 @@ public class DataTask implements ITask {
 		if (name == null) {
 			return null;
 		}
-		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=44000003",name);
+		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=46400001",name);
 		if (doctors == null) {
 			return null;
 		}