mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	!332 【轻量级 PR】修正代码生成模板字段异常
Merge pull request !332 from MichelleChung/5.X
This commit is contained in:
		@@ -46,7 +46,7 @@ public class ${ClassName}Controller extends BaseController {
 | 
				
			|||||||
    @GetMapping("/list")
 | 
					    @GetMapping("/list")
 | 
				
			||||||
#if($table.crud || $table.sub)
 | 
					#if($table.crud || $table.sub)
 | 
				
			||||||
    public TableDataInfo<${ClassName}Vo> list(${ClassName}Bo bo, PageQuery pageQuery) {
 | 
					    public TableDataInfo<${ClassName}Vo> list(${ClassName}Bo bo, PageQuery pageQuery) {
 | 
				
			||||||
        return i${ClassName}Service.queryPageList(bo, pageQuery);
 | 
					        return ${className}Service.queryPageList(bo, pageQuery);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
#elseif($table.tree)
 | 
					#elseif($table.tree)
 | 
				
			||||||
    public R<List<${ClassName}Vo>> list(${ClassName}Bo bo) {
 | 
					    public R<List<${ClassName}Vo>> list(${ClassName}Bo bo) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -7,7 +7,7 @@ import ${packageName}.domain.${ClassName};
 | 
				
			|||||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
 | 
					import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
 | 
				
			||||||
import com.alibaba.excel.annotation.ExcelProperty;
 | 
					import com.alibaba.excel.annotation.ExcelProperty;
 | 
				
			||||||
import org.dromara.common.excel.annotation.ExcelDictFormat;
 | 
					import org.dromara.common.excel.annotation.ExcelDictFormat;
 | 
				
			||||||
import org.dromara.common.convert.excelExcelDictConvert;
 | 
					import org.dromara.common.excel.convert.ExcelDictConvert;
 | 
				
			||||||
import io.github.linpeilie.annotations.AutoMapper;
 | 
					import io.github.linpeilie.annotations.AutoMapper;
 | 
				
			||||||
import lombok.Data;
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user