| | |
| | | .replaceAll("@\\{JSPRIMARYKEYDOMS}", jsPrimaryKeyDoms) |
| | | .replaceAll("@\\{MAJORCOLUMN}", GeneratorUtils.humpToLine(majorColumn)) |
| | | .replaceAll("@\\{MAJORCOLUMN0}", GeneratorUtils.firstCharConvert(majorColumn, false)) |
| | | .replaceAll("@\\{MAJORCOLUMN_UP}", GeneratorUtils.firstCharConvert(GeneratorUtils.humpToLine(majorColumn), false)) |
| | | .replaceAll("@\\{MAJORCOLUMN_UP}", GeneratorUtils.firstCharConvert(majorColumn, false)) |
| | | .replaceAll("@\\{PRIMARYKEYCOLUMN}", GeneratorUtils.firstCharConvert(primaryKeyColumn, false)) |
| | | .replaceAll("@\\{PRIMARYKEYCOLUMN0}", GeneratorUtils.firstCharConvert(primaryKeyColumn, true)) |
| | | .replaceAll("@\\{UPCASEMARJORCOLUMN}", GeneratorUtils.firstCharConvert(primaryKeyColumn, false)) |
| | |
| | | sb.append(" layDate.render({\n") |
| | | .append(" elem: '#").append(column.getHumpName()).append("\\\\\\\\\\$',\n") |
| | | .append(" type: 'datetime',\n") |
| | | .append(" value: data!==undefined?data['").append(column.getHumpName()).append("\\\\\\\\\\$'").append("]:null\n") |
| | | .append(" value: data!==undefined?data['").append(column.getHumpName()).append("\\$'").append("]:null\n") |
| | | .append(" });\n"); |
| | | } |
| | | } |