Ver código fonte

生成代码逻辑调整

lin.liu 1 mês atrás
pai
commit
fe874e236f

+ 2 - 2
secure-producting-host/src/test/java/com/customs/cq/datacenter/host/GenCodeRun.java

@@ -1378,10 +1378,10 @@ public class GenCodeRun {
         content.append(responseDTOName + ";\n");
         content.append(Constants.STR_NEWLINE);
         content.append(SET_CLASS_DESC_TPL
-            .replaceAll("\\{\\#\\=desc\\}", (index * 10) + "." + tableDesc)
+            .replaceAll("\\{\\#\\=desc\\}", "9000." + tableDesc)
             .replaceAll("\\{\\#\\=author\\}", AUTHOR)
             .replaceAll("\\{\\#\\=date\\}", LocalDateTimeUtil.todayStr().replaceAll("\\-", "/"))
-            .replace("*/", "* @order " + (index * 10) + "\n */")
+            .replace("*/", "* @order 9000\n */")
         );
         content.append(Constants.STR_NEWLINE);
         content.append("@RestController\n" +