Browse Source

修改"projectdistribution" 方法,绿灯,显示近30天数据

dev_shibei_match
yinzuomei 4 years ago
parent
commit
4ce24c9541
  1. 3
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

3
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenProjectDataDao.xml

@ -37,12 +37,13 @@
</when> </when>
<when test='level != null and "3" == level'> <when test='level != null and "3" == level'>
and PROJECT_STATUS_CODE !='pending' and PROJECT_STATUS_CODE !='pending'
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) &lt;= date(PROJECT_CREATE_TIME)
</when> </when>
<otherwise> <otherwise>
and PROJECT_STATUS_CODE ='pending' and PROJECT_STATUS_CODE ='pending'
</otherwise> </otherwise>
</choose> </choose>
order by PROJECT_CREATE_TIME desc order by PROJECT_CREATE_TIME desc
</select> </select>
<select id="selectIdsByAreaCode" resultType="java.lang.String"> <select id="selectIdsByAreaCode" resultType="java.lang.String">
select agency_id as id from screen_customer_agency where del_flag = '0' and area_code like concat(#{areaCode},'%') select agency_id as id from screen_customer_agency where del_flag = '0' and area_code like concat(#{areaCode},'%')

Loading…
Cancel
Save