diff --git a/src/main/resources/templates/generate/edit.html b/src/main/resources/templates/generate/edit.html index f5e16153504176d5b074ac503b65e0f442d84ee9..4e9204b426e750c157d73a056adc4c8556bcded5 100644 --- a/src/main/resources/templates/generate/edit.html +++ b/src/main/resources/templates/generate/edit.html @@ -244,7 +244,7 @@ title: '序号', width: 50, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let columnIdHtml = common.sprintf("", index, row.columnId); let sortHtml = common.sprintf( @@ -260,7 +260,7 @@ title: '字段描述', align: 'center', templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let html = common.sprintf( "", index, row.columnComment ); @@ -276,7 +276,7 @@ align: 'center', width: 100, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let javaType = row.javaType; let html = '", index, row.javaField); @@ -307,7 +307,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isInsert == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -319,7 +319,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isEdit == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -331,7 +331,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isQuery == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -343,7 +343,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isList == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -355,7 +355,7 @@ align: 'center', width: 60, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let isCheck = row.isRequired == 1 ? 'checked' : ''; let html = common.sprintf("", index, isCheck); @@ -367,7 +367,7 @@ align: 'center', width: 80, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let queryType = row.queryType; let html = '\n' + '\n' + @@ -406,7 +406,7 @@ align: 'center', width: 100, templet: function (row) { - let index = row.LAY_INDEX - 1; + let index = row.LAY_INDEX; let dictType = row.dictType; let html = common.sprintf("