From 1f12bc1756c17fb5283763e6579d35be7a67302d Mon Sep 17 00:00:00 2001 From: dxfeng Date: Fri, 12 Jul 2024 09:57:06 +0800 Subject: [PATCH] =?UTF-8?q?BUG-=E6=8B=9B=E8=81=98=E6=B5=81=E7=A8=8Btab?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../engine/recruit/entity/recruitflow/po/RecruitTabPo.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java b/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java index 2869c5e..71717d1 100644 --- a/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java +++ b/src/com/engine/recruit/entity/recruitflow/po/RecruitTabPo.java @@ -1,5 +1,6 @@ package com.engine.recruit.entity.recruitflow.po; +import cn.hutool.core.convert.Convert; import com.engine.recruit.util.RecruitFlowUtil; import lombok.AllArgsConstructor; import lombok.Builder; @@ -46,13 +47,13 @@ public class RecruitTabPo { String tableName = rs.getString("tablename"); String tabCount = "0"; if ("uf_jcl_yppc".equalsIgnoreCase(tableName)) { - rs.executeQuery("select xm,sjhm from uf_jcl_yppc where id = ?", billId); + rs.executeQuery("select xm,sjhm from uf_jcl_yppc where id = ?", Convert.toInt(billId, -1)); if (rs.next()) { // 只统计展示入库的数据,即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); + rs.executeQuery("select count(1) as num from " + tableName + " where ypz = ? ", Convert.toInt(billId, -1)); } if (rs.next()) { tabCount = rs.getString("num");