mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 删除无用变量
This commit is contained in:
		@@ -20,7 +20,7 @@ import org.dromara.common.excel.utils.ExcelUtil;
 | 
			
		||||
import ${packageName}.domain.vo.${ClassName}Vo;
 | 
			
		||||
import ${packageName}.domain.bo.${ClassName}Bo;
 | 
			
		||||
import ${packageName}.service.I${ClassName}Service;
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
 | 
			
		||||
#elseif($table.tree)
 | 
			
		||||
#end
 | 
			
		||||
@@ -44,7 +44,7 @@ public class ${ClassName}Controller extends BaseController {
 | 
			
		||||
     */
 | 
			
		||||
    @SaCheckPermission("${permissionPrefix}:list")
 | 
			
		||||
    @GetMapping("/list")
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
    public TableDataInfo<${ClassName}Vo> list(${ClassName}Bo bo, PageQuery pageQuery) {
 | 
			
		||||
        return ${className}Service.queryPageList(bo, pageQuery);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@ package ${packageName}.service;
 | 
			
		||||
import ${packageName}.domain.${ClassName};
 | 
			
		||||
import ${packageName}.domain.vo.${ClassName}Vo;
 | 
			
		||||
import ${packageName}.domain.bo.${ClassName}Bo;
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
 | 
			
		||||
import org.dromara.common.mybatis.core.page.PageQuery;
 | 
			
		||||
#end
 | 
			
		||||
@@ -24,7 +24,7 @@ public interface I${ClassName}Service {
 | 
			
		||||
     */
 | 
			
		||||
    ${ClassName}Vo queryById(${pkColumn.javaType} ${pkColumn.javaField});
 | 
			
		||||
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询${functionName}列表
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@ package ${packageName}.service.impl;
 | 
			
		||||
 | 
			
		||||
import org.dromara.common.core.utils.MapstructUtils;
 | 
			
		||||
import org.dromara.common.core.utils.StringUtils;
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
import org.dromara.common.mybatis.core.page.TableDataInfo;
 | 
			
		||||
import org.dromara.common.mybatis.core.page.PageQuery;
 | 
			
		||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 | 
			
		||||
@@ -41,7 +41,7 @@ public class ${ClassName}ServiceImpl implements I${ClassName}Service {
 | 
			
		||||
        return baseMapper.selectVoById(${pkColumn.javaField});
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
#if($table.crud || $table.sub)
 | 
			
		||||
#if($table.crud)
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询${functionName}列表
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user