| | |
| | | AND bt.tenant_id != 000000 |
| | | |
| | | <if test="tenant.tenantName!=null and tenant.tenantName!=''"> |
| | | and tenant_name=#{tenant.tenantName} |
| | | and bt.tenant_name like concat('%',#{tenant.tenantName},'%') |
| | | </if> |
| | | <if test="tenant.linkman!=null and tenant.linkman!=''"> |
| | | and tenant.linkman=#{tenant.linkman} |
| | | and bt.linkman like concat('%',#{tenant.linkman},'%') |
| | | </if> |
| | | <if test="tenant.province!=null and tenant.province!=''"> |
| | | and tenant.province=#{tenant.province} |
| | | and bt.province=#{tenant.province} |
| | | </if> |
| | | <if test="tenant.city!=null and tenant.city!=''"> |
| | | and tenant.city=#{tenant.city} |
| | | and bt.city=#{tenant.city} |
| | | </if> |
| | | <if test="tenant.district!=null and tenant.district!=''"> |
| | | and tenant.district=#{tenant.district} |
| | | and bt.district=#{tenant.district} |
| | | </if> |
| | | </select> |
| | | |