Skip to content

Commit

Permalink
remove: 删除controller 导入的重复代码
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx authored Jul 20, 2024
1 parent 0d5cf20 commit 17e5214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions multiple/主子Contoller.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
#if($opensource)
import ${package}.common.core.util.R;
import ${package}.common.log.annotation.SysLog;
#if($opensource)
import com.pig4cloud.plugin.excel.annotation.ResponseExcel;
#else
import ${package}.common.core.util.R;
import ${package}.common.log.annotation.SysLog;
import ${package}.common.excel.annotation.ResponseExcel;
#end
import ${package}.${moduleName}.entity.${ClassName}Entity;
Expand Down
4 changes: 1 addition & 3 deletions single/Controller.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
#if($opensource)
import ${package}.common.core.util.R;
import ${package}.common.log.annotation.SysLog;
#if($opensource)
import com.pig4cloud.plugin.excel.annotation.ResponseExcel;
#else
import ${package}.common.core.util.R;
import ${package}.common.log.annotation.SysLog;
import ${package}.common.excel.annotation.ResponseExcel;
#end
import ${package}.${moduleName}.entity.${ClassName}Entity;
Expand Down

0 comments on commit 17e5214

Please sign in to comment.