This is the 29th day of my participation in the Gwen Challenge in November. Check out the details: The last Gwen Challenge in 2021.”

Research Background:

In today’s information society, the rapid development of computer science, most schools began to pay attention to the development of office efficiency is very critical, play a pivotal role in school management. Information service based on Internet has become an indispensable content measure in modern schools. Many campuses have become dissatisfied with the slow growth of business office management. College demand is a powerful, can provide perfect management, management information system speed. Society continues to move forward, especially the most popular computer, computer application has begun to the sustainable development of the large capacity data storage and processing and the computer as the core, using database as environmental management information system modernization, transaction management aspect with large capacity and the comprehensive application of all kinds of information dynamic management etc. The establishment of school educational administration management system can standardize and rationalize the management of student information by school staff. It can effectively and quickly record a large number of students’ information, and can use a simple method to quickly find the course information they need, and can issue a series of functions such as notice, realizing the shift from the traditional manual to office information automation. Therefore, with Java related development tools, carefully constructed a educational information management platform, to achieve a simple management system. This system can realize the management of students, course management, result management, course selection and application situation management, system user management; Can realize student newspaper’s inquiry, the selected course grades of query, modify personal information query, and other functions, the completion of teaching information management system for school administrators and students provide a lot of convenience, can better improve the quality of teaching, the scientific and reasonable has a pivotal role on the development of the school.

In our country Educational administration Current Situation and Reflection

At present, the vast majority of colleges and universities in Our country, and a considerable part of primary and secondary schools have carried out the construction of the basic information education and teaching management system, so that the overall teaching efficiency and pace of Our country has been improved. However, according to my own use of the school’s educational administration management system, as well as through literature to understand the current status of a development of China’s educational administration management system, I think there are still two relatively big problems. On the one hand, I think many schools do not invest enough in the development of education and teaching management system. They don’t really realize what the education management system can bring to the school. According to previous surveys, many schools directly outsource the design and development of the management system to other enterprises for convenience, but they are not educators and do not know what functions the education system needs [1]. As a result, the effect of some education and teaching management system is not very ideal, which needs to be discussed. On the other hand, according to previous studies, most schools lack the maintenance of their own systems, and in many cases, they will not consider the maintenance and upgrade of the system after the completion of development [2]. However, education is a business that needs to keep pace with The Times, whether it is teaching materials, education methods or education system, it needs to keep pace with The Times. The system adopted by many schools may have been developed five or even ten years ago. There are no specialized personnel to maintain the system, nor to repair and adjust the system according to the feelings of teachers and students. This is actually very serious and common in Our country at present. An outdated management system cannot provide effective support for education and teaching.

Main technologies and Environment:

IDEA+Navicat+SpringBoot+Mysql+Springmvc+Jquery+ Thymeleaf template +HTML, etc

Function screenshots:

The system is divided into three roles to log in “administrator, teacher, student” each role has different functions, specific information can be viewed in the above demo video, I will not do redundant

Login:

Administrator home page:

Teacher’s Home Page:

Student Homepage:

Part code:

User login:

<div class="bg"></div>
<div class="container">
    <form class="form-signin text-center" action="" id="from" >
        <img class="mb-4" th:src="@{/asserts/img/abb.jpg}" alt="" width="72" height="72"/>
        <label class="sr-only" >Username</label>
        <input type="text" class="form-control" placeholder="Username"
               id="username"
               name="name"/>
        <label class="sr-only">Password</label>
        <input type="password" class="form-control" placeholder="Password"
               id="password"
               name="pwd"
               style="margin-top: 20px"/>

        <div class="btn-group" role="group" aria-label="...">
            <! <button type="button" class=" BTN btn-default" value="sadmin"> </button>-->
            <button type="button" class="but btn btn-default" value="admin">The administrator</button>
            <button type="button" class="but btn btn-default" value="teacher">Teachers'</button>
        </div>


        <div class="checkbox mb-3">
            <label>
                <! --<input type="checkbox" value="remember-me" name="remember-me" /><span></span>-->
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="button"id="sub" @click="login">The login</button>
        <span class="help-block"></span>
        <p class="mt-5 mb-3 text-muted">© 2018-2020</p>
    </form>
</div>

</body>
<script type="text/javascript" th:src="@ {/ webjars/jquery / 1.9.1 / jquery js}"></script>
<script type="text/javascript" th:src="@ {/ webjars/bootstrap 3.3.7 / js/bootstrap. Min. Js}"></script>
<script type="text/javascript" th:src="@{/js/Vue.js}"></script>
<script type="text/javascript" th:src="@{/js/element-ui.js}"></script>
<script th:inline="javascript" type="text/javascript">

    var basePath= /*[[${#httpServletRequest.getContextPath()}]]*/'ContextPath' ;

    var a = new Vue({
        el:"#from".data: {usertype:0.url:basePath+"/login"
        },
        methods: {login:function () {
                if(a.usertype==0)
                {
                    a.point1()
                    return;
                }
                if(a.usertype=="sadmin") {// superadmni
                    console.log("superadmin");
                }
                if(a.usertype=="admin") {// admin
                    console.log("admin");
                    $.ajax({
                        url: this.url,
                        type: "post".async: false.data: $("#from").serializeArray(),
                        contentType: 'application/x-www-form-urlencoded'.dataType:"json".success:function (result) {
                            console.log("result:",result);
                            if(result.code == 300){
                                alert(result.msg)
                            }else if(result.code == 100) {window.location.href = basePath+"/admin/index"; }},error:function (data) {
                            console.log("error:",data); }}); }if(a.usertype=="teacher") {console.log("teacher");
                    $.ajax({
                        url: basePath+"/teacher/login".type: "get".async: false.data: $("#from").serializeArray(),
                        contentType: 'application/x-www-form-urlencoded'.dataType:"json".success:function (result) {
                            if(result.extend.info == 300){
                                a.point2()
                            }else if(result.extend.info == 200) {window.location.href = basePath+"/teacher/index";
                            }else
                                a.point3()
                        }


            point1(){
                this.$notify.info({
                    title: 'tip'.message: 'Please select user type'
                });
            },
            point2(){
                this.$notify.info({
                    title: 'tip'.message: 'Account does not exist'
                });
            },
            point3(){
                this.$notify.error({
                    title: 'tip'.message: 'Password error'}); }}); $(".but").click(function(){$(".but").removeClass("active");
        $(this).addClass("active");
        a.usertype = $(this).val();
    });


</script>

</html>
Copy the code

Yml configuration:

Spring: # dev environment | test | prod | CTP profiles: active: pro datasource: username: root password:123456
    url: jdbc:mysql://localhost:3306/edumanagement? useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
    type: com.alibaba.druid.pool.DruidDataSource
    initialSize: 5
    minIdle: 5
    maxActive: 20
    maxWait: 60000
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: SELECT 1 FROM DUAL
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true# Configure the filters for monitoring statistics interception. After removing the filters, the SQL in the monitoring interface cannot be counted.'wall'Used for firewall filters: stat, wall, log4j maxPoolPreparedStatementPerConnectionSize:20
    useGlobalDataSourceStat: true
    connectionProperties: druid.stat.mergeSql=true; druid.stat.slowSqlMillis=5


  thymeleaf:
    cache: false
    mode: HTML
    servlet:
      content-type: text/html
    prefix: classpath:/templates/

  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 500MB



  jackson:
    default-property-inclusion: non_null

mybatis:
  mapper-locations: classpath:mybatis/mapper/*.xml configuration: map-underscore-to camel-case: true # MybatisPlus configuration: mapper-locations: classpath:mapper/*/*Mapper.xml
  type-aliases-package: com.hngy.educationaladministration.plus.entity

logging:
  level:
    com.hngy.educationaladministration.mapper: debug


server:
  port: 8088
  servlet:
    context-path: /edumanagement
Copy the code

View jump:

 /** * Add view jump */
    @Override
    public void addViewControllers(ViewControllerRegistry registry) {
        registry.addViewController("/").setViewName("login");
        registry.addViewController("/teacher/businessView").setViewName("teacher/showtable/businessView");
        registry.addViewController("/teacher/workloadView").setViewName("teacher/showtable/workloadView");
        registry.addViewController("/teacher/workloadEdit").setViewName("teacher/fillouttable/workloadEdit");
        registry.addViewController("/teacher/businessEdit").setViewName("teacher/fillouttable/businessEdit");
        registry.addViewController("/teacher/businessPrint").setViewName("teacher/table/business");
        registry.addViewController("/teacher/workloadPrint").setViewName("teacher/table/workload");
    }
Copy the code

Intercept release:

/** * release path without interceptor */
    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        registry.addInterceptor(new LoginInterceptor()).excludePathPatterns(
                "/"."/login"."/admin/login"."/admin/exit"."/teacher/login"."/teacher/exit"."/student/login"."/student/exit"."/js/**"."/asserts/**"."/webjars/**"."/css/**"."/error/**"."/cs"
        );
    }
Copy the code

Conclusion:

Through the recent mastery and learning of Java object-oriented programming, front-end knowledge and Java framework, as well as the development of this period of education and teaching system, I have learned more about the importance of Java learning. In the development of this system, I not only carried out many tests, but also tested the function of the system. In the implementation process of the paper, I put a lot of efforts into the realization of Java proficiency, and then I felt very happy to apply related technologies. In the process, I discovered that Java has an enormous amount of functionality to explore. Java is encapsulation, abstraction, polymorphism, and inheritance. The code can be reused and expanded to greatly improve the overall speed and efficiency of software development. As a student of educational technology, learning Java language well is of great significance to my future employment or the expansion of my knowledge. The main purpose of my study of programming is to improve my key skills and techniques in programming solutions to practical problems. Java object-oriented programming is a practical relatively very strong language, SpringMVC framework MVC three-tier architecture pattern, and the framework encountered in the design pattern of data access and logic operations are concentrated in the components to enhance the system’s reuse and expansibility. The expansibility of the system is greatly enhanced. As well as front-end jQuery, HTML and CSS styles, I have mastered the layout, style adjustment and font of web pages to achieve more accurate web effects.

Everyone likes, likes, likes, comments, clocked the article updated 105/365 days