基于javaweb+jsp的企业银行招聘信息管理系统(JavaWeb JSP MySQL Servlet SSM SpringBoot Bootstrap Ajax)
JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap Ajax
基础JSP+Servlet或JSP+SSM(Spring、SpringMVC、MyBatis)框架或JSP+SSM+Maven(pom.xml)框架或SpringBoot…均可
开发工具:eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
<label class="control-label">是否录用:label>
<input name="yingStatus" id="edit-yingStatus_是" type="radio" value="是"/>是
<input name="yingStatus" id="edit-yingStatus_否" type="radio" value="否"/>否
<input name="yingStatus" id="edit-yingStatus_考核中" type="radio" value="考核中"/>考核中
div>
<div class="form-group hidden">
<label for="edit-createTime" class="control-label">创建时间:label>
<input type="text" class="form-control" name="createTime" id="edit-createTime">
div>
div>
<div class="modal-footer">
<button type="button" class="btn btn-line btn-rect btn-primary" data-dismiss="modal">取消button>
<button type="submit" class="btn btn-line btn-rect btn-warning">提交button>
div>
form>
<input type="text" class="form-control" name="id" id="delete-id">
div>
div>
<div class="modal-footer">
<button type="button" class="btn btn-line btn-rect btn-primary" data-dismiss="modal">取消button>
<button type="submit" class="btn btn-line btn-rect btn-danger">删除button>
div>
form>
div>
div>
div>
body>
<script>
$('#modal-delete').on('show.bs.modal', function (event) {
let button = $(event.relatedTarget);
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getYingName() {
return yingName;
}
public void setYingName(String yingName) {
this.yingName = yingName;
}
public String getYingSex() {
return yingSex;
}
public void setYingSex(String yingSex) {
this.yingSex = yingSex;
}
public String getYingAge() {
return yingAge;
}
public void setYingAge(String yingAge) {
@Autowired
private UserService userService;
/**
* 增加用户
*
* @param response
* @param request
* @throws IOException
*/
@RequestMapping("userAdd")
public void add(HttpServletResponse response, HttpServletRequest request) throws IOException {
User vo = new User();
//取出页面传进来的参数
vo.setUsername(Util.decode(request, "username"));
vo.setPassword(Util.decode(request, "password"));
vo.setRealName(Util.decode(request, "realName"));
vo.setUserSex(Util.decode(request, "userSex"));
vo.setUserPhone(Util.decode(request, "userPhone"));
vo.setUserText(Util.decode(request, "userText"));
<td style="width: 15%;">应聘岗位:td>
<td><b id="info-yingGang">b>td>
tr>
<tr>
<td style="width: 15%;">应聘时间:td>
<td><b id="info-yingDate">b>td>
tr>
<tr>
<td style="width: 15%;">详细信息:td>
<td><b id="info-yingText">b>td>
tr>
<tr>
<td style="width: 15%;">是否录用:td>
<td><b id="info-yingStatus">b>td>
tr>
table>
<script type="text/javascript">
//提交之前进行检查,如果return false,则不允许提交
function check() {
//根据ID获取值
var username = document.getElementById("username").value;
var password = document.getElementById("password").value;
if (username == "") {
alert("用户名不能为空!");
return false;
}
if (password == "") {
alert("密码不能为空!");
return false;
}
return true;
}
<div class="modal-footer">
<button type="button" class="btn btn-line btn-rect btn-primary" data-dismiss="modal">取消button>
<button type="submit" class="btn btn-line btn-rect btn-danger">删除button>
div>
form>
div>
div>
div>
body>
<script>
$('#modal-delete').on('show.bs.modal', function (event) {
let button = $(event.relatedTarget);
let id = button.data('id');
let modal = $(this);
modal.find('#delete-id').val(id);
})
$('#modal-edit').on('show.bs.modal', function (event) {
let button = $(event.relatedTarget);
let id = button.data('id');
let modal = $(this);
$.ajax({
set>
WHERE `id` = #{id}
update>
<select id="findById" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" /> FROM `t_gang` WHERE `id` = #{id}
select>
<select id="findAllSplit" parameterType="java.util.Map" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" /> FROM `t_gang`
<where>
<input type="text" class="form-control" name="noticeType" id="add-noticeType">
div>
<div class="form-group">
<label for="add-createDate" class="control-label">创建时间:label>
<input type="text" class="form-control" name="createDate" id="add-createDate">
div>
div>
<div class="modal-footer">
<button type="button" class="btn btn-line btn-rect btn-primary" data-dismiss="modal">取消button>
<button type="submit" class="btn btn-line btn-rect btn-warning">提交button>
div>
form>
div>
div>
div>
<div class="modal fade" id="modal-info" tabindex="-1" role="dialog"
aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
request.getSession().setAttribute("list", pb.getList());
response.sendRedirect("notice_list.jsp");
}
}
package com.demo.util;
import java.util.List;
/**
* 列表页面的显示对象
*
* @param
*/
public class PageBean<T> {
private List<T> list;//根据条件查询出来的list集合
private int totalRecord;//根据条件查询出来的数量
public List<T> getList() {
return list;
}
public void setList(List<T> list) {
this.list = list;
}
private String gangText;//备注
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getGangNo() {
return gangNo;
}
public void setGangNo(String gangNo) {
this.gangNo = gangNo;
运行环境
Java≥6、Tomcat≥7.0、MySQL≥5.5
开发工具
eclipse/idea/myeclipse/sts等均可配置运行
技术框架
JavaWeb JavaBean JSP MVC MySQL Tomcat JavaScript Bootstrap Ajax
基础JSP+Servlet或JSP+SSM(Spring、SpringMVC、MyBatis)框架或JSP+SSM+Maven(pom.xml)框架或SpringBoot…均可
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
功能说明
登录、注册、退出、用户模块、公告模块、岗位模块、应聘模块的增删改查管理
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)