This commit is contained in:
2022-11-18 16:44:09 +08:00
parent 5dc73a6832
commit 79352b092d
16 changed files with 384 additions and 79 deletions

View File

@@ -104,7 +104,7 @@ public class GenCodeServiceImpl implements GenCodeService {
//如果flag=1就执行更新数据库的操作
String flag = (String) form.get("flag");
WQLObject wo = WQLObject.getWQLObject("sys_code_rule_detail");
JSONArray ja = wo.query("code_rule_id = '" + id + "' FOR UPDATE").getResultJSONArray(0);
JSONArray ja = wo.query("code_rule_id = '" + id + "' order by sort_num FOR UPDATE").getResultJSONArray(0);
String demo = "";
boolean is_same = true;
for (int i = 0; i < ja.size(); i++) {