| | |
| | | ${params.dataScope} |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="getServerLsNoPermission" parameterType="ArdServerInfo" resultMap="ArdServerInfoResult"> |
| | | <include refid="selectArdServerInfoVoNo"/> |
| | | <where> |
| | | <if test="id != null and id != ''"> and id = #{id}</if> |
| | | <if test="serverName != null and serverName != ''"> and server_name like concat('%', #{serverName}, '%')</if> |
| | | <if test="accessKeyId != null and accessKeyId != ''"> and access_key_id = #{accessKeyId}</if> |
| | | <if test="accessKeySecret != null and accessKeySecret != ''"> and access_key_secret = #{accessKeySecret}</if> |
| | | <if test="serverStatus != null and serverStatus != ''"> and server_status = #{serverStatus}</if> |
| | | <if test="deptId != null and deptId != 0">and dept_id = #{deptId}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectArdServerInfoById" parameterType="String" resultMap="ArdServerInfoResult"> |
| | | <include refid="selectArdServerInfoVo"/> |