From d85584e8758f481d644ed274bc20bf02db5289cb Mon Sep 17 00:00:00 2001 From: ForeverSmiYng Date: Thu, 26 Mar 2026 17:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E5=88=B6=E8=AF=B4?= =?UTF-8?q?=E6=98=8E=E7=9A=84=E7=BC=96=E5=8F=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sql.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/sql.ts b/src/sql.ts index 4a2a741..7bbd3bc 100644 --- a/src/sql.ts +++ b/src/sql.ts @@ -2563,10 +2563,10 @@ async function generateTemplate(data) { texts.forEach(ti => { cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { descRowNum++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; }); } ci.services.forEach((si, sindex) => { @@ -2580,10 +2580,10 @@ async function generateTemplate(data) { tsiTextArr.forEach(ti => { cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { descRowNum++; - targetRow.getCell(1).value = ti; - ciTastNum++; - }); + targetRow.getCell(1).value = ti; + }); }); + ciTastNum++; tsi.text.forEach((sti, stindex) => { let stiTextArr = paragraphLineBreakFor1112(` ${stindex + 1})${sti}。`, ctx); stiTextArr.forEach(ti => { @@ -2601,10 +2601,10 @@ async function generateTemplate(data) { siTextArr.forEach(ti => { cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { descRowNum++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { descRowNum++; targetRow.getCell(1).value = ' 1)×××××。'; @@ -2643,10 +2643,10 @@ async function generateTemplate(data) { texts.forEach(ti => { cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { descRowNum++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; }); } cusInsertRowFunc(descRowNum, [descSheet.getRow(descRowNum - 1)], descSheet, (targetRow) => { @@ -2728,10 +2728,10 @@ async function generateTemplate(data) { texts.forEach(ti => { cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => { descRowNum3++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; }); } ci.services.forEach((si, sindex) => { @@ -2747,10 +2747,10 @@ async function generateTemplate(data) { tsiTextArr.forEach(ti => { cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => { descRowNum3++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; tsi.text.forEach((sti, stindex) => { let stiTextArr = paragraphLineBreakFor1112(` ${stindex + 1})${sti}。`, ctx); stiTextArr.forEach(ti => { @@ -2768,9 +2768,9 @@ async function generateTemplate(data) { cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => { descRowNum3++; targetRow.getCell(1).value = ti; - ciTastNum++; }); }); + ciTastNum++; cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => { descRowNum3++; targetRow.getCell(1).value = ' 1)×××××。'; @@ -2809,10 +2809,10 @@ async function generateTemplate(data) { texts.forEach(ti => { cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => { descRowNum3++; - targetRow.getCell(1).value = ti; - ciTastNum++; + targetRow.getCell(1).value = ti; }); }); + ciTastNum++; }); } cusInsertRowFunc(descRowNum3, [descSheet.getRow(descRowNum3 - 1)], descSheet, (targetRow) => {