|
@@ -30,9 +30,9 @@ import lombok.ToString;
|
|
|
@Setter
|
|
|
@ToString
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
-@TableName("saas_product_categeory")
|
|
|
-@IdGeneratorPrefix(SaasCommonConstant.SAAS_PRODUCT_CATEGEORY_ID_PREFIX)
|
|
|
-public class SaasProductCategeory extends BaseEntity<SaasProductCategeory> {
|
|
|
+@TableName("saas_product_category")
|
|
|
+@IdGeneratorPrefix(SaasCommonConstant.SAAS_PRODUCT_CATEGORY_ID_PREFIX)
|
|
|
+public class SaasProductCategory extends BaseEntity<SaasProductCategory> {
|
|
|
private static final long serialVersionUID = 8965388764057710104L;
|
|
|
|
|
|
@TableField(updateStrategy = FieldStrategy.NOT_EMPTY)
|
|
@@ -63,76 +63,76 @@ public class SaasProductCategeory extends BaseEntity<SaasProductCategeory> {
|
|
|
private String remark; // 备注
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
- private List<SaasProductCategeory> childrens; //资料
|
|
|
+ private List<SaasProductCategory> childrens; //资料
|
|
|
|
|
|
public static class BuilderQueryWrapper {
|
|
|
|
|
|
- private LambdaQueryWrapper<SaasProductCategeory> queryWrapper = new LambdaQueryWrapper<SaasProductCategeory>();
|
|
|
+ private LambdaQueryWrapper<SaasProductCategory> queryWrapper = new LambdaQueryWrapper<SaasProductCategory>();
|
|
|
|
|
|
public BuilderQueryWrapper idEq(String id) {
|
|
|
if (StringUtil.isNotBlank(id)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getId, id);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getId, id);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper parentIdEq(String parentId) {
|
|
|
if (StringUtil.isNotBlank(parentId)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getParentId, parentId);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getParentId, parentId);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper categoryNameEq(String categoryName) {
|
|
|
if (StringUtil.isNotBlank(categoryName)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getCategoryName, categoryName);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getCategoryName, categoryName);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper categoryNameLike(String categoryName) {
|
|
|
if (StringUtil.isNotBlank(categoryName)) {
|
|
|
- queryWrapper.like(SaasProductCategeory::getCategoryName, categoryName);
|
|
|
+ queryWrapper.like(SaasProductCategory::getCategoryName, categoryName);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper categoryIconEq(String categoryIcon) {
|
|
|
if (StringUtil.isNotBlank(categoryIcon)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getCategoryIcon, categoryIcon);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getCategoryIcon, categoryIcon);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper terminalEq(String terminal) {
|
|
|
if (StringUtil.isNotBlank(terminal)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getTerminal, terminal);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getTerminal, terminal);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper terminalNameEq(String terminalName) {
|
|
|
if (StringUtil.isNotBlank(terminalName)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getTerminalName, terminalName);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getTerminalName, terminalName);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper productTypeEq(String productType) {
|
|
|
if (StringUtil.isNotBlank(productType)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getProductType, productType);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getProductType, productType);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderQueryWrapper menuTypeEq(String menuType) {
|
|
|
if (StringUtil.isNotBlank(menuType)) {
|
|
|
- queryWrapper.eq(SaasProductCategeory::getMenuType, menuType);
|
|
|
+ queryWrapper.eq(SaasProductCategory::getMenuType, menuType);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
- public LambdaQueryWrapper<SaasProductCategeory> builder() {
|
|
|
+ public LambdaQueryWrapper<SaasProductCategory> builder() {
|
|
|
return queryWrapper;
|
|
|
}
|
|
|
|
|
@@ -140,65 +140,65 @@ public class SaasProductCategeory extends BaseEntity<SaasProductCategeory> {
|
|
|
|
|
|
public static class BuilderUpdateWrapper {
|
|
|
|
|
|
- private LambdaUpdateWrapper<SaasProductCategeory> updateWrapper = new LambdaUpdateWrapper<SaasProductCategeory>();
|
|
|
+ private LambdaUpdateWrapper<SaasProductCategory> updateWrapper = new LambdaUpdateWrapper<SaasProductCategory>();
|
|
|
|
|
|
public BuilderUpdateWrapper idEq(String id) {
|
|
|
if (StringUtil.isNotBlank(id)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getId, id);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getId, id);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper parentIdEq(String parentId) {
|
|
|
if (StringUtil.isNotBlank(parentId)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getParentId, parentId);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getParentId, parentId);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper categoryNameEq(String categoryName) {
|
|
|
if (StringUtil.isNotBlank(categoryName)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getCategoryName, categoryName);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getCategoryName, categoryName);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper categoryIconEq(String categoryIcon) {
|
|
|
if (StringUtil.isNotBlank(categoryIcon)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getCategoryIcon, categoryIcon);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getCategoryIcon, categoryIcon);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper terminalEq(String terminal) {
|
|
|
if (StringUtil.isNotBlank(terminal)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getTerminal, terminal);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getTerminal, terminal);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper terminalNameEq(String terminalName) {
|
|
|
if (StringUtil.isNotBlank(terminalName)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getTerminalName, terminalName);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getTerminalName, terminalName);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper productTypeEq(String productType) {
|
|
|
if (StringUtil.isNotBlank(productType)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getProductType, productType);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getProductType, productType);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
public BuilderUpdateWrapper menuTypeEq(String menuType) {
|
|
|
if (StringUtil.isNotBlank(menuType)) {
|
|
|
- updateWrapper.eq(SaasProductCategeory::getMenuType, menuType);
|
|
|
+ updateWrapper.eq(SaasProductCategory::getMenuType, menuType);
|
|
|
}
|
|
|
return this;
|
|
|
}
|
|
|
|
|
|
- public LambdaUpdateWrapper<SaasProductCategeory> builder() {
|
|
|
+ public LambdaUpdateWrapper<SaasProductCategory> builder() {
|
|
|
return updateWrapper;
|
|
|
}
|
|
|
|