|
@ -48,7 +48,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<AchnsDoctorRecordDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<AchnsDoctorRecordDO>>() {
|
|
|
List<AchnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<AchnsDoctorRecordDO>>() {
|
|
|
});
|
|
|
achnsDoctorRecordService.saveAchns(dealList);
|
|
|
return success("操作成功");
|
|
@ -110,7 +110,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<UpAppointmentOnlineDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<UpAppointmentOnlineDO>>() {
|
|
|
List<UpAppointmentOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpAppointmentOnlineDO>>() {
|
|
|
});
|
|
|
upAppointmentOnlineService.saveUpAppointment(dealList);
|
|
|
return success("操作成功");
|
|
@ -171,7 +171,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<UpMedicalOnlineDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<UpMedicalOnlineDO>>() {
|
|
|
List<UpMedicalOnlineDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpMedicalOnlineDO>>() {
|
|
|
});
|
|
|
upMedicalOnlineService.saveUpMedicalOnline(dealList);
|
|
|
return success("操作成功");
|
|
@ -232,7 +232,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<UpnsDoctorRecordDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<UpnsDoctorRecordDO>>() {
|
|
|
List<UpnsDoctorRecordDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorRecordDO>>() {
|
|
|
});
|
|
|
upnsDoctorRecordService.saveUpnsDoctorRecord(dealList);
|
|
|
return success("操作成功");
|
|
@ -293,7 +293,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<UpnsDoctorScoreDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<UpnsDoctorScoreDO>>() {
|
|
|
List<UpnsDoctorScoreDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpnsDoctorScoreDO>>() {
|
|
|
});
|
|
|
upnsDoctorScoreService.saveUpnsDoctorScore(dealList);
|
|
|
return success("操作成功");
|
|
@ -354,7 +354,7 @@ public class ThirdUploadEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(name = "jsonData", required = true) String jsonData) throws Exception {
|
|
|
|
|
|
try {
|
|
|
List<UpNsOrganBaseDO> dealList = objectMapper.readValue(JSONObject.toJSONString(jsonData), new TypeReference<List<UpNsOrganBaseDO>>() {
|
|
|
List<UpNsOrganBaseDO> dealList = objectMapper.readValue(jsonData, new TypeReference<List<UpNsOrganBaseDO>>() {
|
|
|
});
|
|
|
upnsOrganBaseService.saveUpnsOrganBase(dealList);
|
|
|
return success("操作成功");
|