| | |
| | | ORDER BY info.sk_id asc |
| | | </if>--> |
| | | <if test="dto.projectSort != null and dto.projectSort ==3"> |
| | | ORDER BY info.surface_progress desc NULLS LAST |
| | | ORDER BY TO_NUMBER(SUBSTR(info.surface_progress, 1, LENGTH(info.surface_progress) - 1)) desc NULLS LAST |
| | | </if> |
| | | <if test="dto.projectSort != null and dto.projectSort ==4"> |
| | | ORDER BY info.video_progress desc NULLS LAST |
| | | ORDER BY TO_NUMBER(SUBSTR(info.video_progress, 1, LENGTH(info.video_progress) - 1)) desc NULLS LAST |
| | | </if> |
| | | <if test="dto.projectSort != null and dto.projectSort ==5"> |
| | | ORDER BY info.trans_progress desc NULLS LAST |
| | | ORDER BY TO_NUMBER(SUBSTR(info.trans_progress, 1, LENGTH(info.trans_progress) - 1)) desc NULLS LAST |
| | | </if> |
| | | <if test="dto.projectSort != null and dto.projectSort ==6"> |
| | | ORDER BY info.seepage_progress desc NULLS LAST |
| | | ORDER BY TO_NUMBER(SUBSTR(info.seepage_progress , 1, LENGTH(info.seepage_progress ) - 1)) desc NULLS LAST |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | <if test="dto.adCode != null and dto.adCode != ''"> |
| | | and (dria."province_cd" = #{dto.adCode} or dria."city_cd" = #{dto.adCode} or dria."county_cd" = #{dto.adCode}) |
| | | </if> |
| | | <if test="dto.skName != null and dto.skName != ''"> |
| | | and dria."res_nm" like CONCAT(CONCAT('%', #{dto.skName}), '%') |
| | | </if> |
| | | <include refid="queryBySgCodeS"></include> |
| | | </select> |
| | | </mapper> |