| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.system.entity.Tenant; |
| | | import org.springblade.system.vo.TenantVo; |
| | | |
| | |
| | | * @param tenant |
| | | * @return |
| | | */ |
| | | List<TenantVo> selectTenantPage(IPage page, Tenant tenant); |
| | | List<TenantVo> selectTenantPage(IPage page, @Param("tenant") Tenant tenant); |
| | | List<Map<String, Object>> selectListTe(String type); |
| | | int inserts(String dj, String had, String ht, String ctime,String content,String hn); |
| | | void updateInfoy(String dj, String had, String ht, String ctime,String content,String hn); |
| | |
| | | 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> |
| | | |