|
@@ -61,7 +61,7 @@ public class TaizDataImportApiTest {
|
|
|
patientMap.put("hospital_id", hospitalId);
|
|
|
list.add(patientMap);
|
|
|
}
|
|
|
- initMysqlJdbc().insert(list, "qc_cases_number", new String[]{"hospital_id", "case_number"});
|
|
|
+ initMysqlJdbc().insert(list, "qc_cases_number_copy", new String[]{"hospital_id", "case_number"});
|
|
|
}
|
|
|
|
|
|
private void insertPatientText(Map<String, String> patientMap, Map<String, String> modelMap) {
|
|
@@ -80,6 +80,7 @@ public class TaizDataImportApiTest {
|
|
|
firstPageTextMap.put("case_number_id", patientMap.get(entry.getKey()));
|
|
|
firstPageTextMap.put("hospital_id", hospitalId);
|
|
|
firstPageTextMap.put("mode_id", 6);
|
|
|
+ firstPageTextMap.put("origin_mode", "病案首页");
|
|
|
firstPageTextMap.put("origin_text", FastJsonUtils.getBeanToJson(homePageMap));
|
|
|
String pagetext = "";
|
|
|
for (Map.Entry<String, String> e : homePageMap.entrySet()) {
|
|
@@ -106,7 +107,7 @@ public class TaizDataImportApiTest {
|
|
|
patientTextMap.put("hospital_id", hospitalId);
|
|
|
//System.out.println("******" + patientText.getBljlmc() + "**" + caseMap.get(patientText.getBljlmc()));
|
|
|
patientTextMap.put("mode_id", modelMap.get(caseMap.get(patientText.getBljlmc())));
|
|
|
-
|
|
|
+ patientTextMap.put("origin_mode", patientText.getBljlmc());
|
|
|
if (patientTextMap.get("mode_id") == null) {
|
|
|
continue;
|
|
|
}
|
|
@@ -127,7 +128,7 @@ public class TaizDataImportApiTest {
|
|
|
list.add(patientTextMap);
|
|
|
}
|
|
|
}
|
|
|
- initMysqlJdbc().insert(list, "qc_model_mapping", new String[]{"case_number", "case_number_id", "origin_text", "mode_id", "text"});
|
|
|
+ initMysqlJdbc().insert(list, "qc_model_mapping_copy", new String[]{"case_number", "case_number_id", "origin_text", "mode_id", "text", "origin_mode"});
|
|
|
|
|
|
deletePatientInfos(deletePatient);
|
|
|
}
|