Working capital loan system

Today's record is project working capital loan system , liquidity loans business systems project is such a thing: With the social progress, the rapid development of computer technology and network technology, information technology has been deep into China's banking industry, through the improvement of banks business systems, etc., are constantly working to improve the efficiency of all aspects of the bank and its competitiveness in today's financial market environment, and promote the healthy and rapid development of China's banking industry. Thus, enhanced information technology tools for our banks to improve business competitiveness, develop new profit growth point area is very helpful, if we can provide a robust, fully functional and operational flexibility for the bank's management business management system, then for the development of China's banking industry will be a very positive and effective impact. Research objectives of this project is to design a reasonable deposit and loan business management system Web-based banks to help solve complex business management system cumbersome traditional banks. .
Do working capital loan system , we need to use SSM (MYECLIPSE) framework, development tools choose the most adept MYECLIPSE.
Working capital loans business system project is a project background.
When developing the system, needs analysis is an essential part. Working capital loan system has a role, including the administrator's login user.
Set the identity of each account, account number, password is essential, administrators, users are included in these login roles that some field.
Loans to contact the user, so that the association between users through established contacts, strengthen the practicality and convenience of the system. Enhancing the user experience. Relationship between them is mingzi field corresponds to the user and the user's credit, id field corresponds with the user's user id loans
.

Summary of all the data obtained working capital loan business system project: the administrator (admin), user (yonghu), loans (daikuan)

System administrators working capital loan of table

Field Name  | Type  | property  | describe
the above mentioned id  INT ( 11 PRIMARY  KEY  | administrator the above mentioned id
username  VARCHAR ( 255 | account
password  VARCHAR ( 255 | password

Working capital loans system of the user table

Field Name  | Type  | property  | describe
the above mentioned id  INT ( 11 PRIMARY  KEY  | user the above mentioned id
mingzi  VARCHAR ( 255 | name
username  VARCHAR ( 255 | account
password  VARCHAR ( 255 | password
xingbie  VARCHAR ( 255 | sex

Loans table working capital loan business systems

Field Name  | Type  | property  | describe
the above mentioned id  INT ( 11 PRIMARY  KEY  | loans to the above mentioned id
yonghu  VARCHAR ( 255 | user
yonghuid  VARCHAR ( 255 | user the above mentioned id
jine  VARCHAR ( 255 | Amount
Lixi  VARCHAR ( 255 | interest
huankuanshijian  VARCHAR (255 | repayment time

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- ----------------------------

-- Table structure for ggliudongdaikuan

-- ----------------------------

DROP TABLE IF EXISTS `t_admin`;

CREATE TABLE `t_admin` (`id` INT(11NOT NULL AUTO_INCREMENT COMMENT '管理员id',`username` VARCHAR(255DEFAULT NULL COMMENT '账号',`password` VARCHAR(255DEFAULT NULL COMMENT '密码',PRIMARY KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='管理员';

-- ----------------------------

DROP TABLE IF EXISTS `t_yonghu`;

CREATE TABLE `t_yonghu` (`id` INT(11NOT NULL AUTO_INCREMENT COMMENT '用户id',`mingzi` VARCHAR(255DEFAULT NULL COMMENT '名字',`username` VARCHAR(255DEFAULT NULL COMMENT '账号',`password` VARCHAR(255DEFAULT NULL COMMENT '密码',`xingbie` VARCHAR(255DEFAULT NULL COMMENT '性别',PRIMARY KEY (`id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户';

-- ----------------------------

DROP TABLE IF EXISTS `t_daikuan`;

The CREATE  TABLE  `t_daikuan`  ( ` id`  the INT ( . 11 the NOT  NULL  the AUTO_INCREMENT the COMMENT  'loans id' , `yonghu`  VARCHAR ( 255 the DEFAULT  NULL the COMMENT  'user' , ` yonghuid`  the INT ( . 11 the DEFAULT  NULL the COMMENT  'user id' , `jine`  VARCHAR ( 255 the DEFAULT  NULL the COMMENT  'amount' , ` lixi`  VARCHAR ( 255 the DEFAULT The COMMENT NULL  'interest' , `huankuanshijian`  VARCHAR ( 255 the DEFAULT  NULL the COMMENT  'repayment time' , a PRIMARY  KEY  ( ` id` )

) ENGINE = MyISAM  the DEFAULT the CHARSET = UTF8 the COMMENT = 'credit';

 

Add credit modules:

Defined tianjiadaikuanact page to receive incoming parameters in daikuanController in loans, defined as daikuan. Daikuan which contains fields: user, user id, amount, interest, repayment period, the loans using tianjiadaikuanact objects stored in the database, insert method defined in daikuanMapper, the matching database insert into daikuan statement to achieve the loan data store the operation of the database. The part of the core code is as follows:

The page transmission method daikuandao loans added through the insert into the database daikuandao.insert (daikuan);

Add the success of the loan information, saved to the message request, the user is given prompt request.setAttribute in the page ( "message", "add the loan success");

Return loan management interface

return "forward:/tianjiadaikuan.action";

Loan query module:

Loans for the implementation of the query module, launched daikuanguanli.action request page. By this request, the server response daikuanController class daikuanguanli, query data by selectByexample operation in the process. After all loan information inquiries, save it to request the daikuanall in, on display in the page and return daikuanguanli.jsp, the part of the core code is as follows:

Loan sample generated class definition of query by example DaikuanExample example = new DaikuanExample ();

Check out all the loan information List daikuanall = daikuandao.selectByExample (example) by selectByExample method of daikuandao;

The loan information stored in the request, on display request.setAttribute ( "daikuanall", daikuanall) page by foreach method;

Return loan management interface

return "forward:/daikuanguanli.action";

Loan modification module:

Click the Edit button, you can jump to the loan modification page. In the loan modification page, you will initialize all the information of the loan, and the information is filled with correspondence to the corresponding edit field. After editing loan information, page by encapsulating the data post method is a credit entity, passed into the daikuanController. In xiugaidaikuan the reception, after reception is completed, the call updateByPrimaryKeySelective method daikuanMapper modified. The part of the code as follows:

Modified corresponding credit daikuandao.updateByPrimaryKeySelective (daikuan) by modifying the method according to the id of daikuandao;

The amendment is successful information loans to save the message request, the user is given prompt request.setAttribute in the page ( "message", "successful loan modification information");

Return loan management interface

return "forward:/daikuanguanli.action";

Delete Loans module:

In the management page, click Delete. Page through the href attribute a label, use the get method loans

Id is uploaded to the server, receiving by daikuanController shanchudaikuan class in the server, after calling deleteByPrimaryKey daikuanMapper method according to delete the ID. Save the information to delete the message request, the user is given delete successful message in the page, the part of the core code is as follows:

Deletes the corresponding loans daikuandao.deleteByPrimaryKey (id) id by removing method according to the daikuandao;

The information is deleted successfully loans to save the message request, the user is given prompt request.setAttribute in the page ( "message", "delete the loan success");

Return loan management interface

return "forward:/daikuanguanli.action";

download

Guess you like

Origin www.cnblogs.com/yyqsy/p/11694091.html