| 
					
				 | 
			
			
				@ -19,12 +19,13 @@ import io.swagger.annotations.ApiOperation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import io.swagger.annotations.ApiParam; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import org.springframework.web.bind.annotation.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import com.yihu.jw.rm.regulatory.BaseRegulatoryRequestMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import java.util.ArrayList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				@RestController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				@RequestMapping("/monitoringPlatform") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				@RequestMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.PREFIX)     //请求地址前缀  /regulatory 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				@Api(value = "监管平台数据增删改查", description = "监管平台数据增删改查", tags = {"监管平台数据增删改查"}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -41,25 +42,33 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    private UpnsDoctorScoreService upnsDoctorScoreService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @Autowired 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 = "保存医师唯一标识") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<AchnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<AchnsDoctorRecordDO>>() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            achnsDoctorRecordService.saveAchns(dealList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return success("操作成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return failedObjEnvelopException(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteAchns") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.DELETEACHNS)    //请求地址  /deleteAchns 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            achnsDoctorRecordService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -69,10 +78,10 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/findAchnsByCreateTime") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping(value = BaseRegulatoryRequestMapping.UpWebTherapySupserviceInfo.FINDACHNSBYCREATETIME) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询医师唯一标识") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -107,7 +116,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping("/saveUpApp") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<UpAppointmentOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpAppointmentOnlineDO>>() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -121,7 +130,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteUpApp") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            upAppointmentOnlineService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -168,7 +177,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping("/saveUpMedical") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<UpMedicalOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpMedicalOnlineDO>>() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -182,7 +191,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteUpMedical") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            upMedicalOnlineService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -195,7 +204,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/findUpMedicalByCreateTime") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询在线医技预约") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -229,7 +238,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping("/saveUpnsDr") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<UpnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorRecordDO>>() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -243,7 +252,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteUpnsDr") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            upnsDoctorRecordService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -256,7 +265,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/findUpnsDrByCreateTime") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询医师基本信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -290,7 +299,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping("/saveUpnsDs") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<UpnsDoctorScoreDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorScoreDO>>() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -304,7 +313,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteUpnsDs") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            upnsDoctorScoreService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -317,7 +326,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/findUpnsDsByCreateTime") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询医生评价信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -351,7 +360,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @PostMapping("/saveUpnsOrg") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<UpNsOrganBaseDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpNsOrganBaseDO>>() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -365,7 +374,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/deleteUpnsOrg") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            upnsOrganBaseService.deleteById(id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -378,7 +387,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @GetMapping("/findUpnsOrgByCreateTime") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    @ApiOperation(value = "查询医院基本信息") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    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 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -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); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				} 
			 |