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");