修改代码生成器
This commit is contained in:
parent
d8e946bbd9
commit
0a9496ee86
|
|
@ -29,7 +29,6 @@ public class GenTableColumn implements Serializable {
|
|||
private Integer isInsert;
|
||||
private Integer isEdit;
|
||||
private Integer isList;
|
||||
private Integer isDetail;
|
||||
private Integer isQuery;
|
||||
private String queryType;
|
||||
private String htmlType;
|
||||
|
|
|
|||
|
|
@ -105,11 +105,6 @@ public class GenUtil {
|
|||
column.setIsList(GenConstants.REQUIRE);
|
||||
}
|
||||
|
||||
// 需详情的字段
|
||||
if (!GenUtil.isArraysContains(new String[]{"is_delete", "delete_time"}, columnName)) {
|
||||
column.setIsDetail(GenConstants.REQUIRE);
|
||||
}
|
||||
|
||||
// 需查询字段
|
||||
if (!GenUtil.isArraysContains(SqlConstants.COLUMN_NAME_NOT_QUERY, columnName) && column.getIsPk() == 0) {
|
||||
column.setIsQuery(GenConstants.REQUIRE);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import java.util.Map;
|
|||
public interface I${EntityName}Service {
|
||||
|
||||
#if($table.genTpl=="curd")
|
||||
/**、
|
||||
/**
|
||||
* ${functionName}列表
|
||||
*
|
||||
#if(!$authorName.equals(""))
|
||||
|
|
@ -22,7 +22,7 @@ public interface I${EntityName}Service {
|
|||
#end
|
||||
* @param pageParam 分页参数
|
||||
* @param params 搜索参数
|
||||
* @return PageResult<${EntityName}Vo}>
|
||||
* @return PageResult<${EntityName}Vo>
|
||||
*/
|
||||
PageResult<${EntityName}ListVo> list(PageParam pageParam, Map<String, String> params);
|
||||
#elseif($table.genTpl=="tree")
|
||||
|
|
|
|||
Loading…
Reference in New Issue