|
@@ -3,6 +3,7 @@ package com.rongwei.bscommon.sys.dao;
|
|
|
import com.rongwei.bsentity.domain.ZhcxBiDatasourceDo;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.rongwei.bsentity.vo.check.LargeScreenCheckVo;
|
|
|
+import org.apache.ibatis.annotations.Delete;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
|
|
@@ -18,15 +19,15 @@ import java.util.List;
|
|
|
*/
|
|
|
public interface ZhcxBiDatasourceDao extends BaseMapper<ZhcxBiDatasourceDo> {
|
|
|
|
|
|
- @Update({"<script>",
|
|
|
- "UPDATE INCONTROL.ZHCX_BI_DATASOURCE ",
|
|
|
- "SET DELETED = '1' ",
|
|
|
- "WHERE TAGID IN ",
|
|
|
- "<foreach collection='tagIds' item='item' open='(' separator=',' close=')'>",
|
|
|
- "#{item}",
|
|
|
- "</foreach>",
|
|
|
- " AND DELETED = '0'",
|
|
|
- "</script>"})
|
|
|
+// @Update({"<script>",
|
|
|
+// "UPDATE INCONTROL.ZHCX_BI_DATASOURCE ",
|
|
|
+// "SET DELETED = '1' ",
|
|
|
+// "WHERE TAGID IN ",
|
|
|
+// "<foreach collection='tagIds' item='item' open='(' separator=',' close=')'>",
|
|
|
+// "#{item}",
|
|
|
+// "</foreach>",
|
|
|
+// " AND DELETED = '0'",
|
|
|
+// "</script>"})
|
|
|
void deleteDataByTagId(@Param("tagIds") List<String> tagIds);
|
|
|
|
|
|
/**
|