|
@@ -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";
|
|
|
}
|