0027005599 преди 2 години
родител
ревизия
ea3a76560c

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/job/XCFYDataV_OPERATIONJob.java

@@ -30,13 +30,13 @@ public class XCFYDataV_OPERATIONJob implements Job {
     XCFYDataTransferService xcfyDataTransferService;
     @Autowired
     JdbcTemplate jdbcTemplate;
-    public static String insertSql = "INSERT INTO operation (hisid, treatment_type, operation_no, operation_code, patient_id, patient_name, patient_gender, operation_name, operation_start_time, " +
+    public static String insertSql = "INSERT INTO operation (visit_no, treatment_type, operation_no, operation_code, patient_id, patient_name, patient_gender, operation_name, operation_start_time, " +
             "operation_end_time, operation_doc_no, operation_doc_name, operation_dept_no, operation_dept_name, operation_source, operation_order_time, operation_room_no, " +
             "operation_site_code, operation_diag_code, operation_diag_name, suf_diag_code, suf_diag_name, operation_type, operation_level, reoperation, incision_healing_code, " +
             "incision_type, is_implant, implant_no, implant_name, first_doc_no, first_doc_name, second_doc_no, second_doc_name, third_doc_no, third_doc_name, direct_doc_no, " +
             "direct_doc_name, anesthesia_type_name, anesthesia_doc_no, " +
             "anesthesia_doc_name, anesthesia_start_time, anesthesia_end_time, antibacterial_time, premedication_time_point, intraoperative_dosing, amount, create_by, create_time) " +
-            "VALUES (:HISID,:TREATMENT_TYPE,:OPERATION_NO,:OPERATION_CODE,:PATIENT_ID,:PATIENT_NAME,:PATIENT_GENDER,:OPERATION_NAME,:OPERATION_START_TIME,:OPERATION_END_TIME," +
+            "VALUES (:VISIT_NO,:TREATMENT_TYPE,:OPERATION_NO,:OPERATION_CODE,:PATIENT_ID,:PATIENT_NAME,:PATIENT_GENDER,:OPERATION_NAME,:OPERATION_START_TIME,:OPERATION_END_TIME," +
             ":OPERATION_DOC_NO,:OPERATION_DOC_NAME,:OPERATION_DEPT_NO,:OPERATION_DEPT_NAME,:OPERATION_SOURCE,:OPERATION_ORDER_TIME,:OPERATION_ROOM_NO,:OPERATION_SITE_CODE," +
             ":OPERATION_DIAG_CODE,:OPERATION_DIAG_NAME,:SUF_DIAG_CODE,:SUF_DIAG_NAME,:OPERATION_TYPE,:OPERATION_LEVEL,:REOPERATION,:INCISION_HEALING_CODE,:INCISION_TYPE," +
             ":IS_IMPLANT,:IMPLANT_NO,:IMPLANT_NAME,:FIRST_DOC_NO,:FIRST_DOC_NAME,:SECOND_DOC_NO,:SECOND_DOC_NAME,:THIRD_DOC_NO,:THIRD_DOC_NAME,:DIRECT_DOC_NO,:DIRECT_DOC_NAME," +

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/job/XCFYDataV_STAFF_INFOJob.java

@@ -55,7 +55,7 @@ public class XCFYDataV_STAFF_INFOJob implements Job {
     public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
 //        ORG_ID,STAFF_CODE,WORK_CODE,STAFE_NAME,STAFE_SEY,STAFE_BIRTHDA,IDENTITY_CARD_NO,MOBI_PHON,ADMIN_DEE,BOWIN_DEDT_WAR,LOGIN_USER,TECH_TITLE
         String querySql = "select ORG_ID,STAFF_CODE as DOCTOR_ID,WORK_CODE,STAFE_NAME as DOCTOR_NAME,STAFE_SEY as SEX,STAFE_BIRTHDAY as BIRTH_DATE,IDENTITY_CARD_NO," +
-                "MOBI_PHONE,ADMIN_DEPT as DEPT_CODE,ADMIN_DEDT_NAME as DEPT_NAME,LOGIN_USER,TECH_TITLE as DOCTOR_LEVEL from V_STAFF_INFO ";
+                "MOBI_PHONE,ADMIN_DEPT as DEPT_CODE,ADMIN_DEPT_NAME as DEPT_NAME,LOGIN_USER,TECH_TITLE as DOCTOR_LEVEL from V_STAFF_INFO ";
         while (true) {
             log.info("开始同步V_STAFF_INFO数据");
             Map<String, Object> paramMap = new HashMap<>();