fei
19 小时以前 359f1d48b1d859a23cd35a425d2cffb1e9d1c811
archiveManager/src/main/java/com/ruoyi/mapper/DocumentMaterialsMapper.java
@@ -72,6 +72,10 @@
    @Select("select count(*) FROM document_materials where file_style!='其他材料' and record_id=#{recordId}")
    int getCount(@Param("recordId") int recordId);
    //获取指定案卷的最大页号
    @Select("select max(page_number) FROM document_materials where record_id=#{recordId}")
    Long getMaxPageNumber(@Param("recordId") int recordId);
    //判断卷内目录是否全部上传了附件
    @Select("select if(num=total_count, true, false) as res from (\n" +
@@ -84,3 +88,4 @@
    Boolean judgeArchiveInfo(   @Param("recordId") int recordId);
}