| 
															
																@ -19,12 +19,13 @@ import io.swagger.annotations.ApiOperation; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import io.swagger.annotations.ApiParam; 
															 | 
															
															 | 
															
																import io.swagger.annotations.ApiParam; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import org.springframework.beans.factory.annotation.Autowired; 
															 | 
															
															 | 
															
																import org.springframework.beans.factory.annotation.Autowired; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import org.springframework.web.bind.annotation.*; 
															 | 
															
															 | 
															
																import org.springframework.web.bind.annotation.*; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																import com.yihu.jw.rm.regulatory.BaseRegulatoryRequestMapping; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import java.util.ArrayList; 
															 | 
															
															 | 
															
																import java.util.ArrayList; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import java.util.List; 
															 | 
															
															 | 
															
																import java.util.List; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																@RestController 
															 | 
															
															 | 
															
																@RestController 
															 | 
														
													
												
													
														
															| 
															 | 
															
																@RequestMapping("/monitoringPlatform") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																@RequestMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.PREFIX)     //请求地址前缀  /regulatory 
															 | 
														
													
												
													
														
															| 
															 | 
															
																@Api(value = "监管平台数据增删改查", description = "监管平台数据增删改查", tags = {"监管平台数据增删改查"}) 
															 | 
															
															 | 
															
																@Api(value = "监管平台数据增删改查", description = "监管平台数据增删改查", tags = {"监管平台数据增删改查"}) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
															
															 | 
															
																public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Autowired 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -41,25 +42,33 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private UpnsDoctorScoreService upnsDoctorScoreService; 
															 | 
															
															 | 
															
																    private UpnsDoctorScoreService upnsDoctorScoreService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Autowired 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private UpnsOrganBaseService upnsOrganBaseService; 
															 | 
															
															 | 
															
																    private UpnsOrganBaseService upnsOrganBaseService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BaseNsOnlineAskService baseNsOnlineAskService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BaseNsOlineMedService baseNsOlineMedService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BaseNsPrescriptionAService baseNsPrescriptionAService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BaseNsPrescriptionDrugService baseNsPrescriptionDrugService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveAchns") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @PostMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.SAVEACHNS)     //请求地址  /saveAchns 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存医师唯一标识") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存医师唯一标识") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveAchns(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveAchns(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<AchnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<AchnsDoctorRecordDO>>() { 
															 | 
															
															 | 
															
																            List<AchnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<AchnsDoctorRecordDO>>() { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        }); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            achnsDoctorRecordService.saveAchns(dealList); 
															 | 
															
															 | 
															
																            achnsDoctorRecordService.saveAchns(dealList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            return success("操作成功"); 
															 | 
															
															 | 
															
																            return success("操作成功"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        }catch (Exception e) { 
															 | 
															
															 | 
															
																        }catch (Exception e) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteAchns") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETEACHNS)    //请求地址  /deleteAchns 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除医师唯一标识") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除医师唯一标识") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteAchns(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteAchns(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            achnsDoctorRecordService.deleteById(id); 
															 | 
															
															 | 
															
																            achnsDoctorRecordService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -69,10 +78,10 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/findAchnsByCreateTime") 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.FINDACHNSBYCREATETIME) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "查询医师唯一标识") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "查询医师唯一标识") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop findAchnsByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
															
															 | 
															
																    public Envelop findAchnsByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                         @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -107,7 +116,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveUpApp") 
															 | 
															
															 | 
															
																    @PostMapping("/saveUpApp") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存网上预约挂号") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存网上预约挂号") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveUpAppointmentOnline(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveUpAppointmentOnline(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                           @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<UpAppointmentOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpAppointmentOnlineDO>>() { 
															 | 
															
															 | 
															
																            List<UpAppointmentOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpAppointmentOnlineDO>>() { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -121,7 +130,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteUpApp") 
															 | 
															
															 | 
															
																    @GetMapping("/deleteUpApp") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除网上预约挂号") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除网上预约挂号") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteUpAppointmentOnline(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteUpAppointmentOnline(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                             @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            upAppointmentOnlineService.deleteById(id); 
															 | 
															
															 | 
															
																            upAppointmentOnlineService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -168,7 +177,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveUpMedical") 
															 | 
															
															 | 
															
																    @PostMapping("/saveUpMedical") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存在线医技预约") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存在线医技预约") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveUpMedical(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveUpMedical(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                 @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<UpMedicalOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpMedicalOnlineDO>>() { 
															 | 
															
															 | 
															
																            List<UpMedicalOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpMedicalOnlineDO>>() { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -182,7 +191,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteUpMedical") 
															 | 
															
															 | 
															
																    @GetMapping("/deleteUpMedical") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除在线医技预约") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除在线医技预约") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteUpMedical(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteUpMedical(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                   @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            upMedicalOnlineService.deleteById(id); 
															 | 
															
															 | 
															
																            upMedicalOnlineService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -195,7 +204,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/findUpMedicalByCreateTime") 
															 | 
															
															 | 
															
																    @GetMapping("/findUpMedicalByCreateTime") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "查询在线医技预约") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "查询在线医技预约") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop findUpMedicalByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
															
															 | 
															
																    public Envelop findUpMedicalByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                             @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -229,7 +238,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveUpnsDr") 
															 | 
															
															 | 
															
																    @PostMapping("/saveUpnsDr") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存医师基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存医师基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveUpnsDr(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveUpnsDr(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                              @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<UpnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorRecordDO>>() { 
															 | 
															
															 | 
															
																            List<UpnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorRecordDO>>() { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -243,7 +252,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteUpnsDr") 
															 | 
															
															 | 
															
																    @GetMapping("/deleteUpnsDr") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除医师基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除医师基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteUpnsDr(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteUpnsDr(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            upnsDoctorRecordService.deleteById(id); 
															 | 
															
															 | 
															
																            upnsDoctorRecordService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -256,7 +265,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/findUpnsDrByCreateTime") 
															 | 
															
															 | 
															
																    @GetMapping("/findUpnsDrByCreateTime") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "查询医师基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "查询医师基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop findUpnsDrByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
															
															 | 
															
																    public Envelop findUpnsDrByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                          @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -290,7 +299,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveUpnsDs") 
															 | 
															
															 | 
															
																    @PostMapping("/saveUpnsDs") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存医生评价信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存医生评价信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveUpnsDs(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveUpnsDs(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                              @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<UpnsDoctorScoreDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorScoreDO>>() { 
															 | 
															
															 | 
															
																            List<UpnsDoctorScoreDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorScoreDO>>() { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -304,7 +313,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteUpnsDs") 
															 | 
															
															 | 
															
																    @GetMapping("/deleteUpnsDs") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除医生评价信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除医生评价信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteUpnsDs(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteUpnsDs(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            upnsDoctorScoreService.deleteById(id); 
															 | 
															
															 | 
															
																            upnsDoctorScoreService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -317,7 +326,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/findUpnsDsByCreateTime") 
															 | 
															
															 | 
															
																    @GetMapping("/findUpnsDsByCreateTime") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "查询医生评价信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "查询医生评价信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop findUpnsDsByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
															
															 | 
															
																    public Envelop findUpnsDsByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                          @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -351,7 +360,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping("/saveUpnsOrg") 
															 | 
															
															 | 
															
																    @PostMapping("/saveUpnsOrg") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "保存医院基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存医院基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop saveUpnsOrg(@ApiParam(name = "jsonData", value = "") 
															 | 
															
															 | 
															
																    public Envelop saveUpnsOrg(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                             @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                               @RequestParam(name = "jsonData", required = true) String jsonData) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            List<UpNsOrganBaseDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpNsOrganBaseDO>>() { 
															 | 
															
															 | 
															
																            List<UpNsOrganBaseDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpNsOrganBaseDO>>() { 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -365,7 +374,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/deleteUpnsOrg") 
															 | 
															
															 | 
															
																    @GetMapping("/deleteUpnsOrg") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "删除医院基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除医院基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop deleteUpnsOrg(@ApiParam(name = "id", value = "") 
															 | 
															
															 | 
															
																    public Envelop deleteUpnsOrg(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                               @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                 @RequestParam(name = "id", required = true) String id) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																            upnsOrganBaseService.deleteById(id); 
															 | 
															
															 | 
															
																            upnsOrganBaseService.deleteById(id); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -378,7 +387,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping("/findUpnsOrgByCreateTime") 
															 | 
															
															 | 
															
																    @GetMapping("/findUpnsOrgByCreateTime") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "查询医院基本信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "查询医院基本信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop findUpnsOrgByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
															
															 | 
															
																    public Envelop findUpnsOrgByCreateTime(@ApiParam(name = "date", value = "yyyy-mm-dd") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                                         @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                           @RequestParam(name = "date", required = true) String date) throws Exception { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        try { 
															 | 
															
															 | 
															
																        try { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -410,4 +419,106 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @PostMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.SAVENSOLINEASK) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存网络咨询服务信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop saveNsOlineAsk(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                  @RequestParam(name = "jsonData",required = true) String jsonData) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            List<BaseNsOnlineAskDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<BaseNsOnlineAskDO>>(){}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsOnlineAskService.saveNsOlineAsk(dealList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETESOLINEASK) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除网络咨询信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop deleteNsOlineAsk(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                    @RequestParam(name = "id", required = true) String id) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsOnlineAskService.deleteById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @PostMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.SAVENSONLINEMED) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存网络诊疗信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop saveNsOnlinemed(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                   @RequestParam(name = "jsonData",required = true) String jsonData) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            List<BaseNsOnlineMedDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<BaseNsOnlineMedDO>>(){}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsOlineMedService.saveNsOnlinemed(dealList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETENSONLINEMED) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除网络咨询信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop deleteNsonlinemed(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                    @RequestParam(name = "id", required = true) String id) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsOlineMedService.deleteById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @PostMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.SAVEPRESCRIPTION) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存电子处方") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop savePrescription(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                    @RequestParam(name = "jsonData",required = true) String jsonData)throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            List<BaseNsPrescriptionDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<BaseNsPrescriptionDO>>(){}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsPrescriptionAService.savePrescription(dealList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETEPRESCRIPTION) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除电子处方") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop deletePrescription(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                     @RequestParam(name = "id", required = true) String id) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsPrescriptionAService.deleteById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @PostMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.SAVEPRESCRIPTIONDRUG) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "保存电子处方药品明细") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop savePrescriptionDrug(@ApiParam(name = "jsonData", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                        @RequestParam(name = "jsonData",required = true) String jsonData) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            List<BaseNsPrescriptionDrugDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<BaseNsPrescriptionDrugDO>>(){}); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsPrescriptionDrugService.savePrescriptionDrug(dealList); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETEPRESCRIPTIONDRUG) 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "删除电子处方") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop deletePrescriptionDrug(@ApiParam(name = "id", value = "") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                                      @RequestParam(name = "id", required = true) String id) throws Exception{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            baseNsPrescriptionDrugService.deleteById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("success"); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedObjEnvelopException(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																} 
															 | 
															
															 | 
															
																} 
															 |