| | |
| | | <result column="account_number" property="accountNumber"/> |
| | | <result column="expire_time" property="expireTime"/> |
| | | <result column="license_key" property="licenseKey"/> |
| | | <result column="type" property="type"/> |
| | | <result column="jd" property="jd"/> |
| | | <result column="wd" property="wd"/> |
| | | <result column="information" property="information"/> |
| | | <result column="types" property="types"/> |
| | | <result column="province" property="province"/> |
| | | <result column="city" property="city"/> |
| | | <result column="district" property="district"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <select id="selectTenantPage" resultMap="tenantResultMap"> |
| | | select * from blade_tenant where is_deleted = 0 |
| | | <if test="tenant.tenantName!=null"> |
| | | and tenant_name like concat('%',#{tenant.tenantName},'%') |
| | | </if> |
| | | <if test="tenant.linkman!=null"> |
| | | and linkman like concat('%',#{tenant.linkman},'%') |
| | | </if> |
| | | <if test="tenant.district!=null"> |
| | | and district like concat('%',#{tenant.district},'%') |
| | | </if> |
| | | <if test="tenant.province!=null"> |
| | | and province like concat('%',#{tenant.province},'%') |
| | | </if> |
| | | <if test="tenant.city!=null"> |
| | | and city like concat('%',#{tenant.city},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |