修复已知bug

This commit is contained in:
RuoYi
2018-05-16 21:20:06 +08:00
parent f85ab94422
commit cc27d85b1a
7 changed files with 9 additions and 8 deletions

View File

@ -34,7 +34,7 @@ public class ${className}Controller extends BaseController
@GetMapping()
@RequiresPermissions("${moduleName}:${classname}:view")
String ${classname}()
public String ${classname}()
{
return prefix + "/${classname}";
}

View File

@ -9,7 +9,7 @@ import java.util.List;
* @author ${author}
* @date ${datetime}
*/
public interface I${className}Mapper
public interface ${className}Mapper
{
/**

View File

@ -4,7 +4,7 @@ import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.utils.StringUtils;
import ${package}.mapper.I${className}Mapper;
import ${package}.mapper.${className}Mapper;
import ${package}.domain.${className};
import ${package}.service.I${className}Service;
@ -18,7 +18,7 @@ import ${package}.service.I${className}Service;
public class ${className}ServiceImpl implements I${className}Service
{
@Autowired
private I${className}Mapper ${classname}Mapper;
private ${className}Mapper ${classname}Mapper;
/**
* 查询${tableComment}信息

View File

@ -2,7 +2,7 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="${package}.mapper.I${className}Mapper">
<mapper namespace="${package}.mapper.${className}Mapper">
<resultMap type="${className}" id="${className}Result">
#foreach ($column in $columns)