修改ip查询异常
This commit is contained in:
@@ -29,7 +29,7 @@ public interface TenantMapper extends BaseMapperX<TenantDO> {
|
|||||||
|
|
||||||
default List<TenantDO> selectListByWebsite(String website) {
|
default List<TenantDO> selectListByWebsite(String website) {
|
||||||
return selectList(new LambdaQueryWrapperX<TenantDO>()
|
return selectList(new LambdaQueryWrapperX<TenantDO>()
|
||||||
.apply(MyBatisUtils.findInSet("websites", website)));
|
.apply("PATINDEX('%,'+{0}+',%', ','+websites+',') > 0", website));
|
||||||
}
|
}
|
||||||
|
|
||||||
default Long selectCountByPackageId(Long packageId) {
|
default Long selectCountByPackageId(Long packageId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user