模板controller导入;模板vue列表页当有查询条件时报错

feature/model
wangzhijun 4 years ago
parent 5109eb0e7e
commit fe39a7bc7b

@ -1,6 +1,7 @@
package ${packageName}.controller; package ${packageName}.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import java.util.List; import java.util.List;
import java.util.Arrays; import java.util.Arrays;

@ -323,7 +323,7 @@ export default {
pageSize: 10, pageSize: 10,
#foreach ($column in $columns) #foreach ($column in $columns)
#if($column.query) #if($column.query)
$column.javaField: null#if($velocityCount != $columns.size()),#end $column.javaField: undefined#if($velocityCount != $columns.size()),#end
#end #end
#end #end
@ -399,7 +399,7 @@ export default {
$column.javaField: []#if($velocityCount != $columns.size()),#end $column.javaField: []#if($velocityCount != $columns.size()),#end
#else #else
$column.javaField: null#if($velocityCount != $columns.size()),#end $column.javaField: undefined#if($velocityCount != $columns.size()),#end
#end #end
#end #end

Loading…
Cancel
Save