sql权限
This commit is contained in:
parent
a22aa624db
commit
df8f2d7b3a
|
|
@ -8,7 +8,6 @@ import com.engine.salary.exception.SalaryRunTimeException;
|
|||
import com.engine.salary.service.impl.SalaryEmployeeServiceImpl;
|
||||
import com.engine.salary.util.SalaryEntityUtil;
|
||||
import weaver.conn.RecordSet;
|
||||
import weaver.general.Util;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
|
@ -111,9 +110,9 @@ public enum DataTargetTypeEnum implements BaseEnum<Integer> {
|
|||
@Override
|
||||
public Set<Long> getEmpIds(String target, Object... param) {
|
||||
//参数1,登录人信息
|
||||
DataCollectionEmployee employee = (DataCollectionEmployee) param[0];
|
||||
// DataCollectionEmployee employee = (DataCollectionEmployee) param[0];
|
||||
// target = target.replaceAll("$uid$", Util.null2String(employee.getEmployeeId()));
|
||||
Set<Long> memberList = new HashSet<>();
|
||||
target = target.replaceAll("$uid$", Util.null2String(employee.getEmployeeId()));
|
||||
RecordSet rs = new RecordSet();
|
||||
if (rs.execute(target)) {
|
||||
while (rs.next()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue