chenendian 2 giorni fa
parent
commit
0dba7ccf3b

+ 1 - 1
siwei-modules/siwei-apply/src/main/java/com/siwei/apply/service/cadastre/impl/StorageServiceImpl.java

@@ -74,7 +74,7 @@ public class StorageServiceImpl {
         if(supplyType== 1){
             GongdiJihuaFilterVo filterVo = new GongdiJihuaFilterVo();
             filterVo.setYear(year);
-            filterVo.setPageSize(100000);
+            filterVo.setPageSize(21);
             List<GongdiJihua> planList = gongdiJihuaMapper.getList(filterVo);
             AtomicInteger i= new AtomicInteger();
             resList = planList.stream().map(item -> {

+ 2 - 0
siwei-modules/siwei-apply/src/main/resources/mapper/TdgyMapper.xml

@@ -167,6 +167,7 @@
         <if test="endTime != null and endTime != ''">
             AND t_node.hbcrht_date &lt;= #{endTime}
         </if>
+        LIMIT 41
     </select>
 
     <!-- 查询当前存量土地实际供应情况! -->
@@ -202,6 +203,7 @@
         <if test="endTime != null and endTime != ''">
             AND CAST(gj_gd_data.qdrq AS VARCHAR) &lt;= #{endTime}
         </if>
+        LIMIT 41
     </select>
 
     <select id="getActualProject" resultType="Map" parameterType="String">