区域报告接口
This commit is contained in:
@@ -19,9 +19,11 @@ public interface TemplateRelMapper extends BaseMapper<TemplateRel> {
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
List<TemplateRel> selectRelevance(@Param("ids") List<String> ids);
|
||||
List<TemplateRel> selectRelevance (@Param("ids") List<String> ids);
|
||||
|
||||
boolean batchInsert(@Param("list") List<TemplateRel> list);
|
||||
boolean batchInsert (@Param("list") List<TemplateRel> list);
|
||||
|
||||
boolean deleteByRtId(@Param("rtId") String id);
|
||||
boolean deleteByRtId (@Param("rtId") String id);
|
||||
|
||||
List<String> selectReleation (@Param("id") String id);
|
||||
}
|
||||
|
||||
@@ -25,4 +25,11 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
</select>
|
||||
<select id="selectReleation" resultType="java.lang.String">
|
||||
SELECT
|
||||
rd.Name
|
||||
FROM report_relevancy rr
|
||||
INNER JOIN report_dict rd ON rr.Rd_Id = rd.Id
|
||||
WHERE rr.Rt_Id = #{id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user