From 28fcf43caf0ea86273fb84036aa032abf0ff7ac2 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Mon, 19 Feb 2024 18:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=8A=95=E9=80=92=E7=AE=80?= =?UTF-8?q?=E5=8E=86=E7=BB=9F=E8=AE=A1BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java b/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java index dd37999..2869c5e 100644 --- a/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java +++ b/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java @@ -48,7 +48,8 @@ public class RecruitTabPo { if ("uf_jcl_yppc".equalsIgnoreCase(tableName)) { rs.executeQuery("select xm,sjhm from uf_jcl_yppc where id = ?", billId); if (rs.next()) { - rs.executeQuery("select count(id) as num from uf_jcl_yppc where xm=? and sjhm =?", rs.getString("xm"), rs.getString("sjhm")); + // 只统计展示入库的数据,即formmodeid不为null的数据 + rs.executeQuery("select count(id) as num from uf_jcl_yppc where formmodeid is not null and xm=? and sjhm =?", rs.getString("xm"), rs.getString("sjhm")); } } else { rs.executeQuery("select count(1) as num from " + tableName + " where ypz = ? ", billId);