Commit 893d67190387a7c1862761aaea6135550b828097

Authored by liquanyu
1 parent a9b945a5d4

居住类型

Showing 2 changed files with 15 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java View file @ 893d671
... ... @@ -15,6 +15,15 @@
15 15  
16 16 public static void main(String[] args) throws Exception {
17 17  
  18 + Map map = new HashMap();
  19 + map.put("111", "bbb");
  20 + System.out.println(map);
  21 +
  22 + int h = 0;
  23 + Object key = "111";
  24 + int hash = (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16);
  25 + int i = (16 - 1) & hash;
  26 + System.out.print(i);
18 27 }
19 28  
20 29  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyCheckFacade.java View file @ 893d671
... ... @@ -45,6 +45,8 @@
45 45 @Autowired
46 46 private BabyService babyService;
47 47  
  48 + @Autowired
  49 + private BasicConfigFacade basicConfigFacade;
48 50  
49 51 @Autowired
50 52 private MongoTemplate mongoTemplate;
... ... @@ -1651,6 +1653,10 @@
1651 1653 map.put("ycp", ycp);
1652 1654  
1653 1655 map.put("initCheckDate", DateUtil.getyyyy_MM_dd(new Date()));
  1656 +
  1657 + // 居住类别
  1658 + List<BasicConfigResult> liveType = basicConfigFacade.getBaseicConfigByParentId(SystemConfig.LIVE_TYPE_ID);
  1659 + map.put("liveType", liveType);
1654 1660  
1655 1661 map.put("organizations", antenatalExaminationFacade.convert());
1656 1662 BaseObjectResponse objectResponse = new BaseObjectResponse();