基于javaweb+SSM+Maven维修报修管理系统

基于javaweb+SSM+Maven维修报修管理系统,第1张

基于javaweb+SSM+Maven维修报修管理系统(管理员、维修人员、普通用户)

开发工具:eclipse/idea/myeclipse/sts等均可配置运行

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

      <div class="row">
        <div class="col-md-12">
          <p>
            <button type="button" class="btn btn-primary btn-hg">Huge buttonbutton>
            <button type="button" class="btn btn-default btn-hg">Huge buttonbutton>
          p>
          <p>
            <button type="button" class="btn btn-primary btn-lg">Large buttonbutton>
            <button type="button" class="btn btn-default btn-lg">Large buttonbutton>
          p>
          <p>
            <button type="button" class="btn btn-primary">Default buttonbutton>
            <button type="button" class="btn btn-default">Default buttonbutton>
          p>
          <p>
            <button type="button" class="btn btn-primary btn-sm">Small buttonbutton>
            <button type="button" class="btn btn-default btn-sm">Small buttonbutton>
          p>
          <p>
    
    select 
    <include refid="Base_Column_List" />
    from t_repair_order
    where id = #{id,jdbcType=BIGINT}
  select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
    
    delete from t_repair_order
    where id = #{id,jdbcType=BIGINT}
  delete>
  <delete id="deleteByExample" parameterType="com.demo.entity.RepairOrderExample">
    
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_repair_allocation
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_repair_allocation
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_repair_allocation
	 */
	protected List<Criteria> oredCriteria;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_repair_allocation
	 */
	protected int limitStart;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_repair_allocation
	 */

		public Criteria andRegisterIpNotIn(List<String> values) {
			addCriterion("register_ip not in", values, "registerIp");
			return (Criteria) this;
		}

		public Criteria andRegisterIpBetween(String value1, String value2) {
			addCriterion("register_ip between", value1, value2, "registerIp");
			return (Criteria) this;
		}

		public Criteria andRegisterIpNotBetween(String value1, String value2) {
			addCriterion("register_ip not between", value1, value2, "registerIp");
			return (Criteria) this;
		}

		public Criteria andLoginIpIsNull() {
                <li><a href="#fakelink">Featuresa>li>
               ul>
              <form class="navbar-form navbar-right" action="#" role="search">
                <div class="form-group">
                  <div class="input-group">
                    <input class="form-control" id="navbarInput-01" type="search" placeholder="Search">
                    <span class="input-group-btn">
                      <button type="submit" class="btn"><span class="fui-search">span>button>
                    span>
                  div>
                div>
              form>
            div>
          nav>

		} catch (ServiceException e) {
			throw e;
		} catch (Exception e) {
			throw new ServiceException(e.getMessage(), e);
		}
		return res;
	}

	public Res getRepairManList() {
		Res res = new Res();
		try {
			List<User> repairManList = userManager.getRepairManList();
			res.addRespose("repairManList", repairManList);
		} catch (ServiceException e) {
			throw e;
		} catch (Exception e) {
			throw new ServiceException(e.getMessage(), e);
		}
		return res;
	}

	public Res getAllUserList() {
		Res res = new Res();
    selectKey>
    insert into t_repair_order (title, des, phone, 
      address, category_id, category_name, 
      status, star, comment, 
      submit_user_id, repair_user_id, repair_time, 
      opt_user_id, create_time, update_time
      )
    values (#{title,jdbcType=VARCHAR}, #{des,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, 
      #{address,jdbcType=VARCHAR}, #{categoryId,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, 
      #{status,jdbcType=INTEGER}, #{star,jdbcType=REAL}, #{comment,jdbcType=VARCHAR}, 
      #{submitUserId,jdbcType=BIGINT}, #{repairUserId,jdbcType=BIGINT}, #{repairTime,jdbcType=TIMESTAMP}, 
      #{optUserId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
      )
  insert>
  <insert id="insertSelective" parameterType="com.demo.entity.RepairOrder">
    
		return optUserId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column t_repair_order.opt_user_id
	 * @param optUserId  the value for t_repair_order.opt_user_id
	 */
	public void setOptUserId(Long optUserId) {
		this.optUserId = optUserId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column t_repair_order.create_time
	 * @return  the value of t_repair_order.create_time
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 */
	private Float star;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.comment
	 */
	private String comment;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.submit_user_id
	 */
	private Long submitUserId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.repair_user_id
	 */
	private Long repairUserId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.repair_time
	 */
	private Date repairTime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.opt_user_id
	 */
	private Long optUserId;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column t_repair_order.create_time
	 */
	private Date createTime;
	/**

运行环境

Java≥8、Tomcat≥7.0、MySQL≥5.7

开发工具

eclipse/idea/myeclipse/sts等均可配置运行

技术框架

JavaBean MVC JSP SSM(Spring SpringMVC MyBatis) Maven MySQL jQuery JavaScript CSS

适用

课程设计,大作业,毕业设计,项目练习,学习演示等

功能说明

管理员:登录、平台管理、用户管理、报修受理与维修人员分配

普通用户:登录、注册、报修查询、报修、报修结果确认及评价

维修人员:登录、报修确认

普通用户:

管理员:

维修人员:


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/757312.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-30
下一篇 2022-04-30

发表评论

登录后才能评论

评论列表(0条)

保存