1234567891011121314151617181920212223 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="cn.cslg.pas.mapper.WebLoginConfigMapper">
- <select id="getPageList" parameterType="cn.cslg.pas.common.vo.QueryConfigVO"
- resultType="cn.cslg.pas.common.vo.ConfigVO">
- select web_name as webName,web_address as webAddress ,login_account as loginAccount ,login_password as
- loginPassword,b.id as id
- ,a.id as webId
- from web_config a
- left join web_login_config b
- on a.id=b.web_id
- <where>
- b.tenant_id=#{params.tenantId}
- <if test="params.webId !=null">
- and a.id =#{params.webId}
- </if>
- <if test="params.loginAccount!=null and params.loginAccount!='' ">
- and b.login_account like concat('%',#{params.loginAccount}, '%')
- </if>
- </where>
- </select>
- </mapper>
|