@@ -90,7 +90,7 @@ public interface EngineerInfoDao extends JpaRepository<EngineerInfoEntity, Integ
" WHERE esg.status = 1 AND esg.skill_group_code IN( :skillGroupCodes) group by esg.engineer_code having count(esg.skill_group_code) = :skillGroupNumber "+
" ) AS tabA ON tabA.engineer_code = ote.engineer_code "+
" LEFT JOIN engineer_info ei ON ei.engineer_code = tabA.engineer_code "+
" WHERE ote.team_id = :teamId AND ei.id is not null"+
" WHERE ote.team_id = :teamId AND ote.status = 1 AND ei.id is not null"+
" order by ei.engineer_code desc",nativeQuery=true)
@Query(value="SELECT DISTINCT esg.engineer_code FROM engineer_skill_group esg WHERE engineer_code in (:engineerCodes) and skill_group_code in (:skillGroupCodes)",nativeQuery=true)
@Query(value="SELECT DISTINCT esg.engineer_code FROM engineer_skill_group esg WHERE engineer_code in (:engineerCodes) and skill_group_code in (:skillGroupCodes) and status = 1",nativeQuery=true)
@Query("SELECT o.orderId, s.skillCategory as skillCaption FROM OrderInfoEntity o JOIN SkillInfoEntity s on o.brand=s.brand and o.type=s.type and o.skill=s.skill WHERE o.orderId = :orderId and o.dt = :dt")