|
@@ -71,4 +71,20 @@ public class IntroduceMapFacade extends IntroduceMapServiceImpl {
|
|
|
this.saveOrUpdate(introduceMap);
|
|
|
return true;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 删除标签提示信息映射关系
|
|
|
+ *
|
|
|
+ * @param introduceMapVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public Boolean delIntroduceMap(IntroduceMapVO introduceMapVO) {
|
|
|
+ UpdateWrapper<IntroduceMap> introduceMapUpdateWrapper = new UpdateWrapper<>();
|
|
|
+ introduceMapUpdateWrapper.eq("is_deleted", IsDeleteEnum.N.getKey()).
|
|
|
+ eq("question_id", introduceMapVO.getQuestionId()).
|
|
|
+ eq("type", introduceMapVO.getType()).
|
|
|
+ set("is_deleted", IsDeleteEnum.Y.getKey());
|
|
|
+ this.update(new IntroduceMap(), introduceMapUpdateWrapper);
|
|
|
+ return true;
|
|
|
+ }
|
|
|
}
|