| | |
| | | </resultMap> |
| | | |
| | | <select id="selectDeptList" resultMap="SysDeptResult"> |
| | | select ${ew.getSqlSelect} from sys_dept ${ew.getCustomSqlSegment} |
| | | select |
| | | <if test="ew.getSqlSelect != null"> |
| | | ${ew.getSqlSelect} |
| | | </if> |
| | | <if test="ew.getSqlSelect == null"> |
| | | * |
| | | </if> |
| | | from sys_dept ${ew.getCustomSqlSegment} |
| | | </select> |
| | | |
| | | <select id="selectPageDeptList" resultMap="SysDeptResult"> |
| | | select |
| | | <if test="ew.getSqlSelect != null"> |
| | | ${ew.getSqlSelect} |
| | | </if> |
| | | <if test="ew.getSqlSelect == null"> |
| | | * |
| | | </if> |
| | | from sys_dept ${ew.getCustomSqlSegment} |
| | | </select> |
| | | |
| | | <select id="countDeptById" resultType="Long"> |