浏览代码

修改分页问题

Administrator 1 年之前
父节点
当前提交
2a946b0730

+ 1 - 1
ruoyi-common/src/main/java/com/ruoyi/common/utils/file/FileUploadUtils.java

@@ -25,7 +25,7 @@ public class FileUploadUtils
     /**
      * 默认大小 50M
      */
-    public static final long DEFAULT_MAX_SIZE = 50 * 1024 * 1024;
+    public static final long DEFAULT_MAX_SIZE = 900 * 1024 * 1024;
 
     /**
      * 默认的文件名最大长度 100

+ 1 - 0
ruoyi-system/src/main/resources/mapper/system/BomanMaterialMapper.xml

@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="isLunbo != null  and isLunbo != ''"> and is_lunbo = #{isLunbo}</if>
             <if test="releaseTime != null "> and release_time = #{releaseTime}</if>
         </where>
+        order by create_time DESC
     </select>
     
     <select id="selectBomanMaterialByMaterialId" parameterType="Long" resultMap="BomanMaterialResult">