This commit is contained in:
huangzj
2023-07-05 13:55:06 +08:00
9 changed files with 36 additions and 25 deletions

View File

@@ -24,5 +24,5 @@ public interface CsGroupMapper extends BaseMapper<CsGroup> {
List<CsGroupVO> getArrayData(@Param("list") List<String> list);
Page<DataGroupTemplateVO> getGroupDataList(IPage<DataGroupTemplateVO> page, @Param("id") String id);
Page<DataGroupTemplateVO> getGroupDataList(IPage<DataGroupTemplateVO> page, @Param("id") String id, @Param("searchValue") String searchValue);
}

View File

@@ -69,8 +69,10 @@
cs_group
where
data_set_id = #{id} and is_show = 1
order by
sort
<if test="searchValue != null and searchValue !=''">
and group_name like concat('%',#{searchValue},'%')
</if>
order by sort
</select>
</mapper>