|
|
@ -37,12 +37,13 @@ |
|
|
|
</when> |
|
|
|
<when test='level != null and "3" == level'> |
|
|
|
and PROJECT_STATUS_CODE !='pending' |
|
|
|
and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date(PROJECT_CREATE_TIME) |
|
|
|
</when> |
|
|
|
<otherwise> |
|
|
|
and PROJECT_STATUS_CODE ='pending' |
|
|
|
</otherwise> |
|
|
|
</choose> |
|
|
|
order by PROJECT_CREATE_TIME desc |
|
|
|
order by PROJECT_CREATE_TIME desc |
|
|
|
</select> |
|
|
|
<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},'%') |
|
|
|