|
@@ -23,8 +23,7 @@
|
|
#{item.classifyName,jdbcType=VARCHAR} AS CLASSIFY_NAME,
|
|
#{item.classifyName,jdbcType=VARCHAR} AS CLASSIFY_NAME,
|
|
#{item.parentId,jdbcType=VARCHAR} AS PARENT_ID,
|
|
#{item.parentId,jdbcType=VARCHAR} AS PARENT_ID,
|
|
#{item.sort,jdbcType=INTEGER} AS SORT,
|
|
#{item.sort,jdbcType=INTEGER} AS SORT,
|
|
- #{item.frameLevel,jdbcType=VARCHAR} AS FRAME_LEVEL,
|
|
|
|
- #{item.createTime,jdbcType=TIMESTAMP} AS CREATE_TIME
|
|
|
|
|
|
+ #{item.frameLevel,jdbcType=VARCHAR} AS FRAME_LEVEL
|
|
FROM dual
|
|
FROM dual
|
|
</foreach>
|
|
</foreach>
|
|
) s ON (t.CLASSIFY_ID = s.CLASSIFY_ID)
|
|
) s ON (t.CLASSIFY_ID = s.CLASSIFY_ID)
|
|
@@ -32,13 +31,12 @@
|
|
UPDATE SET
|
|
UPDATE SET
|
|
t.classify_name = s.classify_name,
|
|
t.classify_name = s.classify_name,
|
|
t.parent_id = s.parent_id,
|
|
t.parent_id = s.parent_id,
|
|
- t.sort=s.sort,
|
|
|
|
- t.update_time=SYSDATE
|
|
|
|
|
|
+ t.sort=s.sort
|
|
WHEN NOT MATCHED THEN
|
|
WHEN NOT MATCHED THEN
|
|
INSERT
|
|
INSERT
|
|
- (CLASSIFY_ID,INDEX_FRAME_ID,CLASSIFY_NAME,PARENT_ID,SORT,FRAME_LEVEL,UNIQUE_CODE,CREATE_TIME)
|
|
|
|
|
|
+ (CLASSIFY_ID,INDEX_FRAME_ID,CLASSIFY_NAME,PARENT_ID,SORT,FRAME_LEVEL,UNIQUE_CODE)
|
|
VALUES
|
|
VALUES
|
|
- (s.CLASSIFY_ID,s.INDEX_FRAME_ID,s.CLASSIFY_NAME,s.PARENT_ID,s.SORT,s.FRAME_LEVEL,s.UNIQUE_CODE,s.CREATE_TIME)
|
|
|
|
|
|
+ (s.CLASSIFY_ID,s.INDEX_FRAME_ID,s.CLASSIFY_NAME,s.PARENT_ID,s.SORT,s.FRAME_LEVEL,s.UNIQUE_CODE)
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<select id="getClassifyMappingList" resultMap="EtaClassifyIndexFrameMappingMap">
|
|
<select id="getClassifyMappingList" resultMap="EtaClassifyIndexFrameMappingMap">
|