Commit f2603621696659539f384b223d1d41394f0b9030
1 parent
1d6c2cd4aa
Exists in
master
and in
1 other branch
医院查询人
Showing 3 changed files with 4 additions and 2 deletions
platform-common/src/main/java/com/lyms/platform/common/utils/DateUtil.java
View file @
f260362
| ... | ... | @@ -556,7 +556,7 @@ |
| 556 | 556 | |
| 557 | 557 | // int s = getBabyAgeMonth(parseYMD("2016-05-26"), new Date()); |
| 558 | 558 | // SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd "); |
| 559 | -//// System.out.println(getBabyAgeMonth(parseYMD("2016-05-23"), new Date())); | |
| 559 | + System.out.println(getBabyAgeMonth(parseYMD("2016-05-23"), new Date())); | |
| 560 | 560 | // System.out.println(DateUtil.getyyyy_MM_dd_hms(DateUtil.addDay(new Date(),-108))); |
| 561 | 561 | // System.out.println(DateUtil.getyyyy_MM_dd_hms(DateUtil.addDay(new Date(), -146))); |
| 562 | 562 | // System.out.print(1457688652-23341); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/StopPregnancyController.java
View file @
f260362
| 1 | 1 | package com.lyms.platform.operate.web.controller; |
| 2 | 2 | |
| 3 | +import com.lyms.platform.common.annotation.TokenRequired; | |
| 3 | 4 | import com.lyms.platform.common.base.BaseController; |
| 4 | 5 | import com.lyms.platform.common.base.LoginContext; |
| 5 | 6 | import com.lyms.platform.common.result.BaseResponse; |
| ... | ... | @@ -57,6 +58,7 @@ |
| 57 | 58 | */ |
| 58 | 59 | @RequestMapping(method = RequestMethod.GET, value = "/queryInPerson") |
| 59 | 60 | @ResponseBody |
| 61 | + @TokenRequired | |
| 60 | 62 | public BaseResponse queryInPerson(HttpServletRequest request) { |
| 61 | 63 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 62 | 64 | return stopPregnancyFacade.queryInPerson(loginState.getId()); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BabyBookbuildingFacade.java
View file @
f260362