Commit 03912942 authored by neo's avatar neo

[dev] do not use config type to filter cell template per group

parent 1c0d7ab7
...@@ -27,11 +27,8 @@ public interface FormulaAdminMapper extends MyMapper { ...@@ -27,11 +27,8 @@ public interface FormulaAdminMapper extends MyMapper {
" template " + " template " +
" JOIN " + " JOIN " +
" cell_template ON template.id = cell_template.report_template_id " + " cell_template ON template.id = cell_template.report_template_id " +
" JOIN " +
" cell_template_config ON cell_template.id = cell_template_config.cell_template_id " +
"WHERE " + "WHERE " +
" cell_template_config.data_source_type = 1 " + " template.template_group_id = #{groupId}")
" AND template.template_group_id = #{groupId}")
List<CellTemplatePerGroupDto> getCellTemplatePerGroupDto(@Param("groupId") Long groupId); List<CellTemplatePerGroupDto> getCellTemplatePerGroupDto(@Param("groupId") Long groupId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment