| | |
| | | and TPI.project_type = #{query.projectType} |
| | | </if> |
| | | <if test="query.importanceType !=null and query.importanceType!=''"> |
| | | and TPI.importance_type = #{query.importanceType} |
| | | and ( |
| | | TPI.importance_type like concat('%',#{query.importanceType},'%') |
| | | <if test="query.importanceType == 'normal'"> |
| | | or TPI.importance_type is null or TPI.importance_type = '' |
| | | </if> |
| | | ) |
| | | </if> |
| | | <if test="query.tag !=null and query.tag!=''"> |
| | | and TPI.tag like concat('%',#{query.tag},'%') |
| | |
| | | <if test="query.projectPhase !=null and query.projectPhase!='' and query.projectPhase!=6 and query.projectPhase!=5"> |
| | | and TPI.project_phase = #{query.projectPhase} |
| | | </if> |
| | | <if test="query.projectPhase != null and query.projectPhase != 5 "> |
| | | /* 只要不是6就查审核通过的,6是项目中心 */ |
| | | <if test="query.projectPhase != 6"> |
| | | and TPI.used_status = 2 |
| | | </if> |
| | | <if test="query.fundType !=null and query.fundType!=''"> |