|
|
@ -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.system.api.devtools.entity.GenShowType; |
|
|
|
import com.cloud.kicc.system.api.devtools.entity.GenValidateType; |
|
|
|
import com.cloud.kicc.system.api.devtools.entity.GenValidateType; |
|
|
|
import com.cloud.kicc.system.devtools.service.IGenValidateTypeService; |
|
|
|
import com.cloud.kicc.system.devtools.service.IGenValidateTypeService; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
@ -31,7 +32,9 @@ public class GenValidateTypeController { |
|
|
|
|
|
|
|
|
|
|
|
private LambdaQueryWrapper<GenValidateType> getQueryWrapper(GenValidateType genValidateType) { |
|
|
|
private LambdaQueryWrapper<GenValidateType> getQueryWrapper(GenValidateType genValidateType) { |
|
|
|
return new LambdaQueryWrapper<GenValidateType>() |
|
|
|
return new LambdaQueryWrapper<GenValidateType>() |
|
|
|
.like(StrUtil.isNotBlank(genValidateType.getValue()), GenValidateType::getValue, genValidateType.getValue()); |
|
|
|
.like(StrUtil.isNotBlank(genValidateType.getLabel()), GenValidateType::getLabel, genValidateType.getLabel()) |
|
|
|
|
|
|
|
.like(StrUtil.isNotBlank(genValidateType.getValue()), GenValidateType::getValue, genValidateType.getValue()) |
|
|
|
|
|
|
|
.orderByAsc(GenValidateType::getSort); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
@GetMapping("/list") |
|
|
|