Commit f01f85a3 authored by andnnl's avatar andnnl
Browse files

时间范围查询条件字段都需要加@Query

parent d60932de
......@@ -17,7 +17,9 @@ public class ${entity.name}Query extends PageParam {
@} else if(attr.dateRange) {
\@Query(name = "${attr.displayName}", display = true,type=Query.TYPE_DATE_BETWEEN)
private String ${attr.name};
\@Query(name = "${attr.displayName}", display = false)
private Date ${strutil.replace (attr.name,"Range","")}Start;
\@Query(name = "${attr.displayName}", display = false)
private Date ${strutil.replace (attr.name,"Range","")}End;
@} else if(attr.dateTimeRange) {
\@Query(name = "${attr.displayName}", display = true,type=Query.TYPE_DATETIME_BETWEEN)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment