File tree Expand file tree Collapse file tree
src/main/java/com/yanglb/codegen/core/translator/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222import com .yanglb .codegen .utils .Infos ;
2323import com .yanglb .codegen .utils .StringUtil ;
2424
25- import java .nio .file .Path ;
26- import java .util .ArrayList ;
27- import java .util .HashMap ;
28- import java .util .List ;
29- import java .util .Map ;
25+ import java .util .*;
3026
3127import org .apache .commons .text .StringEscapeUtils ;
3228
@@ -68,7 +64,7 @@ protected void onTranslate(WritableModel writableModel) throws CodeGenException
6864
6965 // 用于检查相同的key
7066 Map <String , Boolean > keys = new HashMap <String , Boolean >();
71- Map <String , List <String >> arrays = new HashMap < String , List < String > >();
67+ Map <String , List <String >> arrays = new LinkedHashMap < >();
7268 for (TableModel tblModel : this .model ) {
7369 for (Map <String , String > itm : tblModel .toList ()) {
7470 String id = escape (itm .get ("id" ));
You can’t perform that action at this time.
0 commit comments