浏览代码

客户端首件分页总数

qianxb 2 年之前
父节点
当前提交
02a4cde99d

+ 2 - 1
blade-service/blade-business/src/main/java/org/springblade/business/mapper/InformationQueryMapper.xml

@@ -511,7 +511,8 @@
         iq.e_visa_pdf_url,
         iq.wbs_id,
         iq.sj_record_ids
-        from u_information_query iq left join (select  * from u_task k where k.status!=3 and k.contract_id = #{query.contractId}) t on iq.id = t.form_data_id  and t.is_deleted = 0
+        from u_information_query iq left join (select  * from u_task k where k.status!=3 and k.contract_id = #{query.contractId} group by
+        form_data_id) t on iq.id = t.form_data_id  and t.is_deleted = 0
         where
         iq.is_deleted = 0
         and iq.classify = #{query.classify}