提交 b7f7111d 编写于 作者: B baiy 提交者: ninecents

fix #124

上级 f16f6deb
const IMPORT_MAP = {'Date': 'java.util.Date', 'List': 'java.util.List'}
let attrClassAry = [];
import {camelCase} from "camel-case"
function firstToUpperCase(str) {
return str.substr(0, 1).toUpperCase() + str.substr(1);
}
function camelCase(input) {
return input.toLowerCase().replace(/_(.)/g, function (match, group1) {
return group1.toUpperCase();
});
}
function camelCaseWithFirstCharUpper(input) {
if (!input) {
return ""
......@@ -139,4 +133,4 @@ export default (json, cls = "JsonRootBean", pag = "pag.json2bean") => {
beans.push(toBeanText(temp[key], pag));
}
return beans.join("\n");
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册