mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
bugfix
This commit is contained in:
@@ -160,7 +160,7 @@ public class EmpSalaryService extends BaseService<EmpSalaryEntity, EmpSalaryRepo
|
||||
public List<String> batchSelectEmpIds(IdRequest idRequest) {
|
||||
|
||||
return em.createQuery(
|
||||
"select distinct e.id from EmpSalaryEntity e where e.id not in (select s.employee.id from EmpSalaryEntity s where s.batch.id =:batchId)",
|
||||
"select distinct e.id from EmployeeEntity e where e.id not in (select s.employee.id from EmpSalaryEntity s where s.batch.id =:batchId)",
|
||||
String.class)
|
||||
.setParameter("batchId", idRequest.getId())
|
||||
.getResultList();
|
||||
@@ -175,7 +175,7 @@ public class EmpSalaryService extends BaseService<EmpSalaryEntity, EmpSalaryRepo
|
||||
public List<String> batchSelectedEmpIds(IdRequest idRequest) {
|
||||
|
||||
return em.createQuery(
|
||||
"select distinct e.id from EmpSalaryEntity e where e.id in (select s.employee.id from EmpSalaryEntity s where s.batch.id =:batchId)",
|
||||
"select distinct e.id from EmployeeEntity e where e.id in (select s.employee.id from EmpSalaryEntity s where s.batch.id =:batchId)",
|
||||
String.class)
|
||||
.setParameter("batchId", idRequest.getId())
|
||||
.getResultList();
|
||||
|
||||
Reference in New Issue
Block a user