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:
@@ -897,7 +897,7 @@ public class EmpSalaryService extends BaseService<EmpSalaryEntity, EmpSalaryRepo
|
||||
|
||||
private List<EmpSalaryEntity> queryHisSalary(List<String> employeesIds) {
|
||||
|
||||
List ids = em.createNativeQuery(
|
||||
List<String> ids = em.createNativeQuery(
|
||||
"""
|
||||
with tmp1 as (
|
||||
|
||||
@@ -912,7 +912,7 @@ public class EmpSalaryService extends BaseService<EmpSalaryEntity, EmpSalaryRepo
|
||||
.getResultList();
|
||||
|
||||
return em.createQuery(
|
||||
"select s from EmpSalaryEntity s where s.employee.id in :ids",
|
||||
"select s from EmpSalaryEntity s where s.id in :ids",
|
||||
EmpSalaryEntity.class)
|
||||
.setParameter("ids", ids)
|
||||
.getResultList();
|
||||
|
||||
Reference in New Issue
Block a user