Forráskód Böngészése

数据迁移日志入库 调整

lvxianyun 3 éve
szülő
commit
870ec5518b

+ 0 - 3
dmp-business/dmp-rwd/src/main/resources/mapper/SyncDatMapper.xml

@@ -34,9 +34,6 @@
   </sql>
 
   <insert id="save">
-    <selectKey keyProperty="id" resultType="java.lang.String" order="BEFORE">
-      select uuid()
-    </selectKey>
     insert into dt_sync_data
      (id,table_name,target_id, object_type, `type`,
       project_id, sign, ops, 

+ 1 - 1
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/rwd/migrate/entity/SyncData.java

@@ -16,7 +16,7 @@ import lombok.NoArgsConstructor;
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-@TableName(value = "sync_data",autoResultMap = true)
+@TableName(value = "dt_sync_data",autoResultMap = true)
 @NoArgsConstructor
 @AllArgsConstructor
 public class SyncData extends AuditableEntity {