Commit 9ae7ddc5139cdcd3b11cc09af1d65e2994f7e9ce
1 parent
d4bb649f15
Exists in
master
and in
6 other branches
分娩
Showing 1 changed file with 4 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TestController.java
View file @
9ae7ddc
... | ... | @@ -11,8 +11,10 @@ |
11 | 11 | import com.lyms.platform.common.annotation.TokenRequired; |
12 | 12 | import com.lyms.platform.common.base.BaseController; |
13 | 13 | import com.lyms.platform.common.base.LoginContext; |
14 | +import com.lyms.platform.common.constants.ErrorCodeConstants; | |
14 | 15 | import com.lyms.platform.common.enums.SieveStatusEnums; |
15 | 16 | import com.lyms.platform.common.enums.YnEnums; |
17 | +import com.lyms.platform.common.result.BaseObjectResponse; | |
16 | 18 | import com.lyms.platform.common.result.BaseResponse; |
17 | 19 | import com.lyms.platform.common.utils.CompressEncodeingUtil; |
18 | 20 | import com.lyms.platform.common.utils.DateUtil; |
... | ... | @@ -1687,9 +1689,8 @@ |
1687 | 1689 | |
1688 | 1690 | @RequestMapping("/qhdfm") |
1689 | 1691 | @ResponseBody |
1690 | - public MaternalDeliverResult qhdfm(String cardNo){ | |
1691 | - | |
1692 | - return qhdfyFmService.queryFmPatient(cardNo); | |
1692 | + public BaseObjectResponse qhdfm(String cardNo){ | |
1693 | + return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(qhdfyFmService.queryFmPatient(cardNo)); | |
1693 | 1694 | } |
1694 | 1695 | |
1695 | 1696 |