Browse Source

Revert "fixed 代码生成功能"

This reverts commit f00af433bf832a4e9f96b3e54ad24357edec26ff.
fushengqian 1 year ago
parent
commit
81df46dfaf

+ 0 - 1
fuint-application/src/main/resources/vm/java/BackendController.java.vm

@@ -9,7 +9,6 @@ import com.fuint.common.enums.StatusEnum;
 import com.fuint.framework.pagination.PaginationRequest;
 import com.fuint.framework.pagination.PaginationResponse;
 import com.fuint.framework.exception.BusinessCheckException;
-import com.fuint.common.service.BannerService;
 import com.fuint.repository.model.${className};
 import com.fuint.utils.StringUtil;
 import io.swagger.annotations.Api;

+ 1 - 1
fuint-application/src/main/resources/vm/java/service.java.vm

@@ -22,7 +22,7 @@ public interface ${tableClass}Service extends IService<${className}> {
      * @param paginationRequest
      * @return
      */
-    PaginationResponse<${className}> queryBannerListByPagination(PaginationRequest paginationRequest) throws BusinessCheckException;
+    PaginationResponse<${className}> query${tableClass}ListByPagination(PaginationRequest paginationRequest) throws BusinessCheckException;
 
     /**
      * 添加${moduleName}

+ 0 - 5
fuint-application/src/main/resources/vm/java/serviceImpl.java.vm

@@ -146,11 +146,6 @@ public class ${tableClass}ServiceImpl extends ServiceImpl<${className}Mapper, ${
         String storeId =  params.get("storeId") == null ? "" : params.get("storeId").toString();
         String merchantId =  params.get("merchantId") == null ? "" : params.get("merchantId").toString();
         String title = params.get("title") == null ? "" : params.get("title").toString();
-
-        LambdaQueryWrapper<${className}> lambdaQueryWrapper = Wrappers.lambdaQuery();
-        if (StringUtils.isNotBlank(title)) {
-            lambdaQueryWrapper.like(${className}::getTitle, title);
-        }
         if (StringUtils.isNotBlank(status)) {
             lambdaQueryWrapper.eq(${className}::getStatus, status);
         }