src/main/resources/mapper/XlsReportMapper.xml
@@ -21,6 +21,13 @@ limit #{limit} offset #{offset} </select> <!-- 根据ID查询报告 --> <select id="selectById" resultType="com.yssh.entity.xls.XlsReport"> select * from xls_report where id = #{id}; </select> <!-- 报告是否存在 --> <select id="reportExists" resultType="java.lang.Integer"> select count(*)