Commit cd00cf8f8e63f0d503e1a428bd4aac6a7917f82f
1 parent
703904df6b
Exists in
dev
小程序调用-产后康复
Showing 1 changed file with 0 additions and 28 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MedicalRecordFacade.java
View file @
cd00cf8
1 | -package com.lyms.platform.operate.web.facade; | |
2 | - | |
3 | -import com.lyms.platform.common.constants.ErrorCodeConstants; | |
4 | -import com.lyms.platform.common.result.BaseResponse; | |
5 | -import com.lyms.platform.operate.web.request.HisMedicalRecordRequest; | |
6 | -import org.apache.commons.collections.CollectionUtils; | |
7 | -import org.springframework.stereotype.Component; | |
8 | - | |
9 | -import java.util.List; | |
10 | - | |
11 | -/** | |
12 | - * | |
13 | - */ | |
14 | -@Component | |
15 | -public class MedicalRecordFacade { | |
16 | - public BaseResponse saveHisMedicalRecord(List<HisMedicalRecordRequest> hisList) { | |
17 | - if(CollectionUtils.isNotEmpty(hisList)){ | |
18 | - for(HisMedicalRecordRequest temp : hisList){ | |
19 | - if("".equals(temp.getDepartment())){ | |
20 | - | |
21 | - } | |
22 | - } | |
23 | - }else{ | |
24 | - return new BaseResponse().setErrorcode(ErrorCodeConstants.BUSINESS_ERROR).setErrormsg("his未返回数据"); | |
25 | - } | |
26 | - return new BaseResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功"); | |
27 | - } | |
28 | -} |