From b27a42611a39630fd54e5da15abae8d8d40a5303 Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Mon, 11 Nov 2024 14:34:35 +0800 Subject: [PATCH] =?UTF-8?q?refactor(db):=20=E9=87=8D=E6=9E=84=E4=BC=81?= =?UTF-8?q?=E4=B8=9A=E5=8D=95=E4=BD=8D=E7=B1=BB=E5=9E=8B=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将枚举常量名称从大写字母改为小写字母 - 移除了多余的空格 - 优化了代码格式,提高了可读性 --- .../common/db/enums/EnterprisesUnitType.java | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java b/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java index bfdd741..a53a410 100644 --- a/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java +++ b/policeSecurityServer/src/main/java/com/changhu/common/db/enums/EnterprisesUnitType.java @@ -17,24 +17,24 @@ import java.util.stream.Collectors; @AllArgsConstructor public enum EnterprisesUnitType implements BaseEnum, IEnum { - PARTY_GOVERNMENT("party_government", "党政机关 "), - MEDICAL("medical", "医疗机构"), - RESIDENTIAL("residential", "小区"), - HIGHER_LEARNING("higher_learning", "高等院校"), - PRIMARY_AND_SECONDARY("primary_and_secondary", "中小学幼儿园"), - SHOPPING_SUPERMARKETS("shopping_supermarkets", "商场超市"), - FINANCIAL("financial", "金融机构"), - HYDROPOWER("hydropower", "水电油气"), - KEY_PROJECTS("key_projects", "重点工程建设单位"), - DELIVERY_LOGISTICS("delivery_logistics", "寄递物流"), - MILITARY("military", "军工、科研单位"), - WEN_BO("wen_bo", "文博单位"), - IMPORTANT_NEWS("important_news ", "重要新闻单位"), - LARGE_SCALE_MATERIAL("large_scale_material ", "大型物资储备"), - TRANSPORTATION("transportation", "交通运输企业"), - INDUSTRIAL_PARK("industrial_park", "工业园区企业"), - COMPLEX_PUBLIC_SECURITY("complex_public_security", "治安复杂场所"), - MAKING_EXPLOSIVE_EASILY("making_explosive_easily ", "易制爆"), + party_government("party_government", "党政机关 "), + medical("medical", "医疗机构"), + residential("residential", "小区"), + higher_learning("higher_learning", "高等院校"), + primary_and_secondary("primary_and_secondary", "中小学幼儿园"), + shopping_supermarkets("shopping_supermarkets", "商场超市"), + financial("financial", "金融机构"), + hydropower("hydropower", "水电油气"), + key_projects("key_projects", "重点工程建设单位"), + delivery_logistics("delivery_logistics", "寄递物流"), + military("military", "军工、科研单位"), + wen_bo("wen_bo", "文博单位"), + important_news("important_news ", "重要新闻单位"), + large_scale_material("large_scale_material ", "大型物资储备"), + transportation("transportation", "交通运输企业"), + industrial_park("industrial_park", "工业园区企业"), + complex_public_security("complex_public_security", "治安复杂场所"), + making_explosive_easily("making_explosive_easily ", "易制爆"), hazardous_materials("hazardous_materials ", "危化物品存放场所"), other("other", "其他单位");