|
|
@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.cloud.kicc.common.core.api.R; |
|
|
|
import com.cloud.kicc.common.core.api.R; |
|
|
|
import com.cloud.kicc.common.core.constant.AppConstants; |
|
|
|
import com.cloud.kicc.common.core.constant.AppConstants; |
|
|
|
|
|
|
|
import com.cloud.kicc.common.security.util.SecurityUtils; |
|
|
|
import com.cloud.kicc.commonbiz.api.entity.PushCustomType; |
|
|
|
import com.cloud.kicc.commonbiz.api.entity.PushCustomType; |
|
|
|
import com.cloud.kicc.commonbiz.service.IPushCustomTypeService; |
|
|
|
import com.cloud.kicc.commonbiz.service.IPushCustomTypeService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.Api; |
|
|
@ -35,6 +36,7 @@ public class PushCustomTypeController { |
|
|
|
|
|
|
|
|
|
|
|
private LambdaQueryWrapper<PushCustomType> getQueryWrapper(PushCustomType pushCustomType) { |
|
|
|
private LambdaQueryWrapper<PushCustomType> getQueryWrapper(PushCustomType pushCustomType) { |
|
|
|
return new LambdaQueryWrapper<PushCustomType>() |
|
|
|
return new LambdaQueryWrapper<PushCustomType>() |
|
|
|
|
|
|
|
.eq(PushCustomType::getCreateById, SecurityUtils.getUser().getId()) |
|
|
|
.eq(StrUtil.isNotBlank(pushCustomType.getName()), PushCustomType::getName, pushCustomType.getName()); |
|
|
|
.eq(StrUtil.isNotBlank(pushCustomType.getName()), PushCustomType::getName, pushCustomType.getName()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|