瀏覽代碼

删除tagType=10下的映射关系

zhoutg 5 年之前
父節點
當前提交
4487627c91
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

+ 1 - 1
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -328,7 +328,7 @@
     <select id="deleteTagType10Mapping">
         update icss_question_mapping
         set is_deleted = 'Y', gmt_modified = #{date}, modifier = #{person}
-        where e.is_deleted = 'N' and parent_question in
+        where is_deleted = 'N' and parent_question in
         (SELECT c.id FROM `icss_question_info` a, icss_question_mapping b, icss_question_info c
         where a.is_deleted = 'N' and b.is_deleted = 'N' and c.is_deleted = 'N' and
         a.id = b.parent_question and b.son_question = c.id and a.id = #{id} and c.tag_type = 10)