| | |
| | | <if test="dto.deptId != null and dto.deptId !=''"> |
| | | and (info.control_unit = #{dto.deptId} or info.construction_unit = #{dto.deptId}) |
| | | </if> |
| | | <if test="dto.adCode != null and dto.adCode !=''"> |
| | | and dria."county_cd" = #{dto.adCode} |
| | | </if> |
| | | <if test="dto.projectSort == null"> |
| | | ORDER BY TO_NUMBER(info.project_progress) desc NULLS LAST,info.status desc |
| | | </if> |
| | |
| | | </select> |
| | | <select id="projectTree" resultType="cn.gistack.sm.sg.VO.SgProjectTreeVO"> |
| | | SELECT |
| | | <!-- TOP 200 --> |
| | | <!-- TOP 200 --> |
| | | info.id, |
| | | info.lot, |
| | | dria."province_nm", |
| | |
| | | #{id} |
| | | </foreach>) |
| | | </if> |
| | | <if test="dto.adCode != null and dto.adCode !=''"> |
| | | and dria."county_cd" = #{dto.adCode} |
| | | </if> |
| | | </select> |
| | | <select id="getUserS" resultType="java.lang.String"> |
| | | |