历史投递简历统计BUG修复

This commit is contained in:
dxfeng 2024-02-19 18:32:07 +08:00
parent 60bd66a4c1
commit 28fcf43caf
1 changed files with 2 additions and 1 deletions

View File

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