BUG-ModeId获取优化,去除废弃模块

This commit is contained in:
dxfeng 2024-08-09 11:27:46 +08:00
parent 54d723bcc6
commit b082c958d2
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class ApplicantCommonInfo {
public static int getModeIdByTableName(String modeTable) {
int formModeId = -1;
RecordSet rs = new RecordSet();
rs.executeQuery("select id from modeinfo where formid =( select id from workflow_bill where tablename = ? ) order by id", modeTable);
rs.executeQuery("select id from modeinfo where formid =( select id from workflow_bill where tablename = ? ) and isdelete = 0 order by id", modeTable);
if (rs.next()) {
formModeId = rs.getInt("id");
}