|
@@ -242,17 +242,16 @@ public interface DataConnectorMapper {
|
|
|
|
|
|
|
|
@Insert("<script>"
|
|
@Insert("<script>"
|
|
|
+ "INSERT INTO BI_BASE_GROUP_BY(BB_ID, BB_GROUP_NAME, BB_INDEX, BB_FATHER_ID, CREATE_DATE)"
|
|
+ "INSERT INTO BI_BASE_GROUP_BY(BB_ID, BB_GROUP_NAME, BB_INDEX, BB_FATHER_ID, CREATE_DATE)"
|
|
|
- + "("
|
|
|
|
|
|
|
+ + "SELECT BI_BASE_GROUP_BY_SEQUENCE.NEXTVAL,M.* FROM ("
|
|
|
+ "<foreach collection=\"list\" item=\"item\" index=\"index\" separator=\"union all\">"
|
|
+ "<foreach collection=\"list\" item=\"item\" index=\"index\" separator=\"union all\">"
|
|
|
+ "SELECT "
|
|
+ "SELECT "
|
|
|
- + "BI_BASE_GROUP_BY_SEQUENCE.NEXTVAL,"
|
|
|
|
|
+ "#{item.groupName, jdbcType=VARCHAR},"
|
|
+ "#{item.groupName, jdbcType=VARCHAR},"
|
|
|
+ "#{item.groupIndex, jdbcType=INTEGER},"
|
|
+ "#{item.groupIndex, jdbcType=INTEGER},"
|
|
|
+ "#{item.fatherId, jdbcType=INTEGER},"
|
|
+ "#{item.fatherId, jdbcType=INTEGER},"
|
|
|
+ "SYSDATE "
|
|
+ "SYSDATE "
|
|
|
+ "FROM DUAL"
|
|
+ "FROM DUAL"
|
|
|
+ "</foreach>"
|
|
+ "</foreach>"
|
|
|
- + ")"
|
|
|
|
|
|
|
+ + ") M"
|
|
|
+ "</script>")
|
|
+ "</script>")
|
|
|
void batchInsertDataConnector(@Param("list") List<GroupInfo> groupInfoList);
|
|
void batchInsertDataConnector(@Param("list") List<GroupInfo> groupInfoList);
|
|
|
|
|
|