select sum(duration_time) as quantity,account,user_name,dept_name,parent_dept from blade_employee_training_record_detail
         where tenant_id=#{tenantId}
        <if test="startDate !=null and startDate !='' ">
            and end_training_date >= #{startDate}
        </if>
        <if test="endDate !=null and endDate !='' ">
            and end_training_date <= #{endDate}
        </if>
        GROUP BY account,user_name,dept_name,parent_dept

  

相关文章:

  • 2021-11-18
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-06-18
  • 2021-10-21
  • 2022-01-20
相关资源
相似解决方案