Kaynağa Gözat

[bug-1286]【首页】【后端】我的已办条数与列表数据量对不上

szjbdgzl 2 yıl önce
ebeveyn
işleme
c763ab88cf

+ 2 - 2
ibps-bpmnbase-root/modules/bpmn-model/src/main/resources/com/lc/ibps/bpmn/persistence/mapping/BpmInst.map.xml

@@ -616,7 +616,7 @@
 					</if>
 			) inst
 		WHERE
-			1 = 1
+			1 = 1 AND ID_ IS NOT NULL
 		<if test="whereSql!=null">
 			AND ${whereSql}
 		</if>
@@ -670,7 +670,7 @@
 								aphis.AUDITOR_ = #{userId}
 					) inst
 				WHERE
-					1 = 1
+					1 = 1  AND ID_ IS NOT NULL
 					<if test="whereSql!=null">
 						AND ${whereSql}
 					</if>

+ 0 - 1
ibps-provider-root/modules/provider-bpmn/src/main/java/com/lc/ibps/office/provider/BpmReceivedProvider.java

@@ -370,7 +370,6 @@ public class BpmReceivedProvider extends GenericProvider implements IBpmReceived
 			if(!request.containParameterKey("skipBuildInternal")) {
 				BpmInstBuilder.build(list);
 			}
-			list.removeAll(Collections.singleton(null));
 			APIPageList<BpmInstPo> apiPageList = this.getAPIPageList(list);
 			result.setData(apiPageList);
 		} catch(Exception e) {