From 6c8497f63227d1ebc2c860c5b3de4d9f68aaf841 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 18 十二月 2020 09:45:54 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi-generator/src/main/resources/vm/java/controller.java.vm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm index 26b7473..8f7b613 100644 --- a/ruoyi-generator/src/main/resources/vm/java/controller.java.vm +++ b/ruoyi-generator/src/main/resources/vm/java/controller.java.vm @@ -1,6 +1,7 @@ package ${packageName}.controller; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.toolkit.Wrappers; import java.util.List; import java.util.Arrays; @@ -51,7 +52,7 @@ public TableDataInfo list(${ClassName} ${className}) { startPage(); - LambdaQueryWrapper<${ClassName}> lqw = Wrappers.lambdaQuery(${className}); + LambdaQueryWrapper<${ClassName}> lqw = Wrappers.<${ClassName}>lambdaQuery(); #foreach($column in $columns) #set($queryType=$column.queryType) #set($javaField=$column.javaField) -- Gitblit v1.9.3