二开--康瑞考勤需求

kangrui
dxfeng 2 years ago
parent e9b8e62287
commit 2cba1b8467

@ -36,7 +36,7 @@ public class KrLeaveRepeatAction implements Action {
} }
String billTableName = requestInfo.getRequestManager().getBillTableName(); String billTableName = requestInfo.getRequestManager().getBillTableName();
RecordSet rs = new RecordSet(); RecordSet rs = new RecordSet();
rs.executeQuery("select count(1) as num from " + billTableName + " where resourceId = ? and jqlx =? and spzt != 2", resourceId, leaveType); rs.executeQuery("select count(1) as num from " + billTableName + " where resourceId = ? and jqlx =? and requestid != ? and spzt != 2", resourceId, leaveType, requestInfo.getRequestid());
if (rs.next()) { if (rs.next()) {
int num = rs.getInt("num"); int num = rs.getInt("num");
if (num > 0) { if (num > 0) {

Loading…
Cancel
Save