| | |
| | | and a.FAIL_TIME = #{record.failTime} |
| | | </if> |
| | | <if test="record.targetFailTime != null "> |
| | | and date_format(#{record.failTime}, '%Y-%m-%d') > date_format(a.FAIL_TIME, '%Y-%m-%d') |
| | | and date_format(#{record.targetFailTime}, '%Y-%m-%d') > date_format(a.FAIL_TIME, '%Y-%m-%d') |
| | | </if> |
| | | <if test="record.price != null and record.price !='' "> |
| | | and a.PRICE = #{record.price} |
| | |
| | | and a.proj_name like concat('%',#{projName},'%') |
| | | </if> |
| | | <if test="cateId != null and cateId != '' "> |
| | | and b.PROJ_TYPE_ID=#{cateId} |
| | | and b.cate_id=#{cateId} |
| | | </if> |
| | | </where> |
| | | |