Browse Source

组织类型添加

master
jianjun 5 years ago
parent
commit
37d2588ba4
  1. 9
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

9
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenIndexDataMonthlyDao.xml

@ -77,7 +77,14 @@
del_flag = '0'
AND parent_id = #{agencyId}
AND month_id = #{monthId,jdbcType=VARCHAR}
AND ORG_TYPE != 'department'
<choose>
<when test="orgType != null and orgType != ''">
AND ORG_TYPE = #{orgType,jdbcType=VARCHAR}
</when>
<otherwise>
AND ORG_TYPE != 'department'
</otherwise>
</choose>
<if test="sort == 'asc'">
ORDER BY index_total ASC
</if>

Loading…
Cancel
Save