This study focuses on difficult problem and it’s solution in design and implementation of construction maintenance management system.The example project for this study is HongKong Schoolhouse Maintenance Automated Rapport Terminal System.This system belongs to HongKong Government and it is a strict and efficient system.All data and all option is trackable and the system keeps high transparency for citizen and fast response for urgency.This paper shows these problem and try to resolve all of them.In order to explain the solution for transfer large,complex data between database and controller or between controller and presentation,this paper show the design and implement of the function about specification.The point of this solution is how to transfer between database data and entity data easily,and how to transfer between entity data and JSon format data efficiently.There are two solutions for different requirement of workflow support function.First part is a simple workflow engine for most part of workflow support function,here will explain the design and implement of this engine.Second part is try to use a set of database set to handle the complex workflow,here will show this solution’s more powerful advantages.Another need further consider problem is permission control problem,this study includes common permission control in http session and special permission control in database operations.It is a new creative idea for resolve similar problems with more reliable and more efficient.This study is to implement the whole HongKong Schoolhouse Maintenance Automated Rapport Terminal System.But because of the paper emphasis focused,this paper mainly focus in the above problems,should provide some reference for the similar system. |