Commit dc0dd1f1f8a831408c08ccd5d947380b8af9ab15

Authored by jiangjiazhi
1 parent 9e12a3a08e

修改电子病历

Showing 1 changed file with 11 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java View file @ dc0dd1f
... ... @@ -6,10 +6,7 @@
6 6 import com.lyms.platform.permission.model.Users;
7 7 import com.lyms.platform.permission.service.UsersService;
8 8 import com.lyms.platform.pojo.Patients;
9   -import com.lyms.platform.query.AntExChuQuery;
10   -import com.lyms.platform.query.BabyCheckModelQuery;
11   -import com.lyms.platform.query.PatientCheckTicketQuery;
12   -import com.lyms.platform.query.PatientsQuery;
  9 +import com.lyms.platform.query.*;
13 10 import org.apache.commons.lang.math.*;
14 11 import org.springframework.context.ApplicationContext;
15 12 import org.springframework.context.support.ClassPathXmlApplicationContext;
16 13  
... ... @@ -33,7 +30,17 @@
33 30  
34 31 String addr="四川省华蓥市双河街道办事处民太村";
35 32  
  33 + PatientsQuery patientsQuery = new PatientsQuery();
  34 + patientsQuery.setYn(YnEnums.YES.getId());
  35 + patientsQuery.setBuildType(1);
  36 + //查询主档案
  37 + patientsQuery.setExtEnable(false);
  38 + patientsQuery.setCardNo("aaaa");
  39 + patientsQuery.setPid("aaaa");
  40 + System.out.println(patientsQuery.convertToQuery().convertToMongoQuery());
36 41  
  42 +
  43 + System.out.print("5878388d0cf235c11f845399".length());
37 44 }
38 45 }