# eqpManageSystem **Repository Path**: alzhao/eqpManageSystem ## Basic Information - **Project Name**: eqpManageSystem - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-07-13 - **Last Updated**: 2024-11-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # eqpManageSystem ## 项目简介 ## 特色介绍 > 1、分模块构建项目,每个模块职责清晰,功能明确; > > 2、后台管理系统、前台展示系统、静态文件系统分开管理,降低系统的压力,提高系统的可靠性,轻松实现分布式部署; > > 3、项目主要实现了实验室设备的前台展示,后台管理,基本满足了实验室设备管理的需求; > > 4、整个项目给予SSM构建. ## 代码规范 #### 1、命名规范 > > Java类名、局域变量、类变量名、方法名:必须采用标准驼峰命名,类名首字母大写,其余首字母小写,禁止简写。示例:Connection【类名】,connection【变量名】,getConnection【方法名】 > > 包名:由小写字母和点组成,禁止简写。示例:cn.cug.laboratory.controller > > 常量名:大写字母与下划线组成,禁止简写。示例:CONNECTION_TIMEOUT,DEFAULT_SIZE > > 数据库表名,字段名:小写字母加下划线组成。最多长度30个字母,允许适当使用简写。示例:user_ldms,comment_time;字段值采用驼峰命名.如lostDevice > > 除java文件以外的任何文件,包括xml,jsp,properties等:由小写字母和横线组成。示例:user-profile.jsp,article-edit.jsp,application-context.xml,web-config.properties #### 2、Java文件规范 ###### 以下是一个Java文件示例,需要特别强调以下两点,你可以通过设置你的类模板来做到。 > 1、必须写上@author和@since注释。 ```java package cn.codingstar.controller; import lombok.Getter; import lombok.Setter; import java.util.Date; /** * 该类代表一个bean对象. * * @author ShiXing * @since 1.0.0 */ @Getter @Setter public class Bean { private String name; private Date data; } ``` #### 3、JSP文件规范 ###### 以下是一个JSP文件示例,需要特别强调以下两点,你可以通过设置你的类模板来做到。 > 1、必须写上User和Time注释。 ```html <%-- Copyright 2002-2016 the original author or authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%-- User: ShiXing Time: 16/5/8 18:22 --%> <%@ page contentType="text/html;charset=UTF-8" language="java" %>