Browse Source

chore: 控件类型模块

master
wangxiang 1 year ago
parent
commit
fdbcba7040
  1. 3
      kicc-platform/kicc-platform-api/kicc-system-api/src/main/java/com/cloud/kicc/system/api/devtools/entity/GenShowType.java
  2. 4
      kicc-platform/kicc-platform-biz/kicc-system-biz/src/main/java/com/cloud/kicc/system/devtools/controller/GenShowTypeController.java

3
kicc-platform/kicc-platform-api/kicc-system-api/src/main/java/com/cloud/kicc/system/api/devtools/entity/GenShowType.java

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
package com.cloud.kicc.system.api.devtools.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.kicc.common.data.entity.BaseEntity;
import com.cloud.kicc.common.data.entity.CommonEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
@ -24,7 +25,7 @@ import lombok.experimental.Accessors; @@ -24,7 +25,7 @@ import lombok.experimental.Accessors;
@Accessors(chain = true)
@TableName("sys_gen_show_type")
@ApiModel(value = "GenShowType对象", description = "控件类型")
public class GenShowType extends CommonEntity {
public class GenShowType extends BaseEntity {
private static final long serialVersionUID = 1L;

4
kicc-platform/kicc-platform-biz/kicc-system-biz/src/main/java/com/cloud/kicc/system/devtools/controller/GenShowTypeController.java

@ -31,7 +31,9 @@ public class GenShowTypeController { @@ -31,7 +31,9 @@ public class GenShowTypeController {
private LambdaQueryWrapper<GenShowType> getQueryWrapper(GenShowType genShowType) {
return new LambdaQueryWrapper<GenShowType>()
.like(StrUtil.isNotBlank(genShowType.getLabel()), GenShowType::getLabel, genShowType.getLabel());
.like(StrUtil.isNotBlank(genShowType.getLabel()), GenShowType::getLabel, genShowType.getLabel())
.like(StrUtil.isNotBlank(genShowType.getValue()), GenShowType::getValue, genShowType.getValue())
.orderByAsc(GenShowType::getSort);
}
@GetMapping("/list")

Loading…
Cancel
Save