diff --git a/laws-modules/src/main/java/com/jero/modules/tag/mapper/xml/LawsTagMapper.xml b/laws-modules/src/main/java/com/jero/modules/tag/mapper/xml/LawsTagMapper.xml
index 3f6dc339..94d7d8f1 100644
--- a/laws-modules/src/main/java/com/jero/modules/tag/mapper/xml/LawsTagMapper.xml
+++ b/laws-modules/src/main/java/com/jero/modules/tag/mapper/xml/LawsTagMapper.xml
@@ -137,94 +137,36 @@
update laws_tag
-
- is_model = #{updated.isModel},
-
-
- db_field_txt = #{updated.dbFieldTxt},
-
-
- db_field_en_name = #{updated.dbFieldEnName},
-
-
- field_show_type = #{updated.fieldShowType},
-
-
- db_length = #{updated.dbLength},
-
-
- order_num = #{updated.orderNum},
-
-
- field_must_input = #{updated.fieldMustInput},
-
-
- is_show_form = #{updated.isShowForm},
-
-
- is_show_list = #{updated.isShowList},
-
-
- is_read_only = #{updated.isReadOnly},
-
-
- show_area = #{updated.showArea},
-
-
- is_query = #{updated.isQuery},
-
-
- is_show_laws_list = #{updated.isShowLawsList},
-
-
- is_show_search = #{updated.isShowSearch},
-
-
- del_flag = #{updated.delFlag},
-
-
- table_name = #{updated.tableName},
-
-
- db_field_name = #{updated.dbFieldName},
-
-
- db_field_name_old = #{updated.dbFieldNameOld},
-
-
- dict_id = #{updated.dictId},
-
-
- dict_field = #{updated.dictField},
-
-
- dict_table = #{updated.dictTable},
-
-
- dict_text = #{updated.dictText},
-
-
- sort_flag = #{updated.sortFlag},
-
-
- is_show_form_create = #{updated.isShowFormCreate},
-
-
- db_is_key = #{updated.dbIsKey},
-
-
- db_is_null = #{updated.dbIsNull},
-
-
- db_point_length = #{updated.dbPointLength},
-
-
- db_type = #{updated.dbType},
-
-
- field_href = #{updated.fieldHref},
-
+ is_model = #{updated.isModel},
+ db_field_txt = #{updated.dbFieldTxt},
+ db_field_en_name = #{updated.dbFieldEnName},
+ field_show_type = #{updated.fieldShowType},
+ db_length = #{updated.dbLength},
+ order_num = #{updated.orderNum},
+ field_must_input = #{updated.fieldMustInput},
+ is_show_form = #{updated.isShowForm},
+ is_show_list = #{updated.isShowList},
+ is_read_only = #{updated.isReadOnly},
+ show_area = #{updated.showArea},
+ is_query = #{updated.isQuery},
+ is_show_laws_list = #{updated.isShowLawsList},
+ is_show_search = #{updated.isShowSearch},
+ del_flag = #{updated.delFlag},
+ table_name = #{updated.tableName},
+ db_field_name = #{updated.dbFieldName},
+ db_field_name_old = #{updated.dbFieldNameOld},
+ dict_id = #{updated.dictId},
+ dict_field = #{updated.dictField},
+ dict_table = #{updated.dictTable},
+ dict_text = #{updated.dictText},
+ sort_flag = #{updated.sortFlag},
+ is_show_form_create = #{updated.isShowFormCreate},
+ db_is_key = #{updated.dbIsKey},
+ db_is_null = #{updated.dbIsNull},
+ db_point_length = #{updated.dbPointLength},
+ db_type = #{updated.dbType},
+ field_href = #{updated.fieldHref},
- where id=#{updated.id}
+ where id = #{updated.id}
\ No newline at end of file
diff --git a/laws-modules/src/main/java/com/jero/modules/tag/service/impl/ILawsTagServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/tag/service/impl/ILawsTagServiceImpl.java
index c0c8041f..032bdc5c 100644
--- a/laws-modules/src/main/java/com/jero/modules/tag/service/impl/ILawsTagServiceImpl.java
+++ b/laws-modules/src/main/java/com/jero/modules/tag/service/impl/ILawsTagServiceImpl.java
@@ -179,7 +179,7 @@ public class ILawsTagServiceImpl extends ServiceImpl imp
}
executeDDL(lawsTag,"modify");
lawsTag.setDbFieldNameOld(dbFieldName);
- saveOrUpdate(lawsTag);
+ lawsTagMapper.updateAllById(lawsTag);
}
private void executeDDL(LawsTag lawsTag, String modifyOrAdd) {