SELECT
<choose>
<when test='timeType=="yy"'>
TO_CHAR(REPORT_TIME,'yyyy')
</when>
<when test='timeType=="mm"'>
TO_CHAR(REPORT_TIME,'yyyy-MM-dd')
</when>
<when test='timeType=="dd"'>
TO_CHAR(REPORT_TIME,'yyyy-MM-dd')
</when>
</choose>
RQ,
<choose>
<when test='isAll != null and isAll == 1'>
SUM(TOTAL)
</when>
<otherwise>
SUM(GROW_TOTAL)
</otherwise>
</choose>
NUM
FROM REPORT_EMPLOYEE

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
猜你喜欢
  • 2021-09-25
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-09-19
相关资源
相似解决方案