generated from dxfeng/secondev-chapanda-feishu
BUG-招聘流程tab统计BUG
This commit is contained in:
parent
1c44427555
commit
1f12bc1756
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue