SELECT new cn.enn.hr.hrcontract.dao.HrContract(e.scopeName,o.name,e.id,e.lastName||e.firstName,e.mobile,e.contractDate," +       "c.contracttype,c.contractyears,c.contractdatestart,c.contractdateend,c.contractsidea,c.status) "+       "from Employee e " +       "inner join Position p with  p.employee.id = e.id  and p.active='1' and p.inCharge ='1' "

 

以上是new了个HrContract(POJO),POJO类需要有构造方法及getter &setter方法

相关文章:

  • 2021-09-22
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2021-07-31
  • 2022-02-26
猜你喜欢
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
相关资源
相似解决方案