|
|
|
@ -109,7 +109,7 @@ public class VelocityUtils {
|
|
|
|
|
* @return 模板列表
|
|
|
|
|
*/
|
|
|
|
|
public static List<String> getTemplateList(String tplCategory) {
|
|
|
|
|
List<String> templates = new ArrayList<String>();
|
|
|
|
|
List<String> templates = new ArrayList<>();
|
|
|
|
|
templates.add("vm/java/domain.java.vm");
|
|
|
|
|
templates.add("vm/java/vo.java.vm");
|
|
|
|
|
templates.add("vm/java/bo.java.vm");
|
|
|
|
@ -208,7 +208,7 @@ public class VelocityUtils {
|
|
|
|
|
*/
|
|
|
|
|
public static HashSet<String> getImportList(GenTable genTable) {
|
|
|
|
|
List<GenTableColumn> columns = genTable.getColumns();
|
|
|
|
|
HashSet<String> importList = new HashSet<String>();
|
|
|
|
|
HashSet<String> importList = new HashSet<>();
|
|
|
|
|
for (GenTableColumn column : columns) {
|
|
|
|
|
if (!column.isSuperColumn() && GenConstants.TYPE_DATE.equals(column.getJavaType())) {
|
|
|
|
|
importList.add("java.util.Date");
|
|
|
|
|