修改问题
This commit is contained in:
parent
fcccaad90d
commit
9db10a9a58
@ -118,10 +118,10 @@ public class GenerateService {
|
|||||||
if (generateVO.getHasRoute()) {
|
if (generateVO.getHasRoute()) {
|
||||||
routeCode("/normal/controller/route-controller.ftl", String.format("%s/controller/route/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
routeCode("/normal/controller/route-controller.ftl", String.format("%s/controller/route/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
||||||
}
|
}
|
||||||
boCode("/normal/pojo/bo.ftl", String.format("%s/pojo/bos", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
boCode("/normal/pojo/bo.ftl", String.format("%s/pojo/bos/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
||||||
dtoCode("/normal/pojo/dto.ftl", String.format("%s/pojo/dtos", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
dtoCode("/normal/pojo/dto.ftl", String.format("%s/pojo/dtos/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
||||||
poCode("/normal/pojo/po.ftl", String.format("%s/pojo/pos", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
poCode("/normal/pojo/po.ftl", String.format("%s/pojo/pos/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
||||||
voCode("/normal/pojo/vo.ftl", String.format("%s/pojo/vos", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
voCode("/normal/pojo/vo.ftl", String.format("%s/pojo/vos/%s", outFolder, lowerTableName), firstUpperTableName, dataModel);
|
||||||
MsgUtil.alert(Alert.AlertType.CONFIRMATION, "生成成功");
|
MsgUtil.alert(Alert.AlertType.CONFIRMATION, "生成成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
package ${codePackage}.pojo.vos.${lowerTableName};
|
package ${codePackage}.pojo.bos.${lowerTableName};
|
||||||
|
|
||||||
import ink.wgink.annotation.CheckEmptyAnnotation;
|
|
||||||
import ink.wgink.annotation.CheckNumberAnnotation;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
package ${codePackage}.pojo.vos.${lowerTableName};
|
package ${codePackage}.pojo.pos.${lowerTableName};
|
||||||
|
|
||||||
import ink.wgink.annotation.CheckEmptyAnnotation;
|
|
||||||
import ink.wgink.annotation.CheckNumberAnnotation;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user