基于javaweb+SSM校园快递物流管理系统

基于javaweb+SSM校园快递物流管理系统,第1张

基于javaweb+SSM校园快递物流管理系统

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

适用

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

        	<if test="orderno != null" >
            	orderno =  #{orderno} ,
        	if>
        	<if test="yuangongid != null" >
            	yuangongid =  #{yuangongid} ,
        	if>
        	<if test="content != null" >
            	content =  #{content} ,
        	if>
        	<if test="username != null" >
            	username =  #{username} ,
        	if>
        	<if test="userphone != null" >
            	userphone =  #{userphone} ,
        	if>
        	<if test="shijian != null" >
            	shijian =  #{shijian} ,
        	if>
        	<if test="status != null" >
            	status =  #{status} 
        	if>
	sql>
	
	
	<sql id="Order_where">
        	<if test="id != null" >
        		and id =  #{id}
     * 取当前日期(yyyy-mm-dd hh:mm:ss)
     *
     * @return 时间Timestamp
     */
    public static String getTodayDateTime() {
        return format(new Date());
    }

    /**
     * 取得n分钟后的时间
     *
     * @param date 日期
     * @param afterMins
     * @return 时间Timestamp
     */
    public static Date getAfterMinute(Date date, long afterMins) {
        if (date == null)
            date = new Date();

        long longTime = date.getTime() + afterMins * 60 * 1000;

        return new Date(longTime);
        if (sDate.length() == 10) {
            sDate = sDate + " 00:00:00";
        }
        if (sDate.length() == 16) {
            sDate = sDate + ":00";
        }
        return Timestamp.valueOf(sDate);
    }

    /**
     * Date转换为Timestamp
     */
    public static Timestamp convert(Date date) {
        return new Timestamp(date.getTime());
    }
        	and id=#{id}        
	update>
	
	
	<select id="load" resultMap="ResultMapGonggao" parameterType="java.lang.String">
		select 	<include refid="Gonggao_field" />
 		from t_gonggao 
 		where id=#{id}
	select>
	
	
	
	<select id="loadBySqlId" resultMap="ResultMapGonggao" parameterType="map">
		select 	<include refid="Gonggao_field" />
 		from t_gonggao 
 		WHERE 1=1
        	<include refid="Gonggao_where" />
	select>
									div>
								div>							
								<div class="form-group" id="f_1510851941628">
									<div class="label">
										<label for="f_username_txt">
											修改时间
										label>
									div>
									<div class="field">
								        	<input class="input" id="updateDt" name="updateDt" maxlength="50" value="" data-validate="required:请填写内容" placeholder="输入内容" type="text">
									div>
								div>							
								<div class="form-group" id="f_1510851941628">
									<div class="label">
										<label for="f_username_txt">
											注册IP
										label>
									div>
									<div class="field">
								        	<input class="input" id="regIp" name="regIp" maxlength="50" value="" data-validate="required:请填写内容" placeholder="输入内容" type="text">
									<div class="label">
										<label for="f_username_txt">
											登陆密码
										label>
									div>
									<div class="field">
								        	<input class="input" id="loginPwd" name="loginPwd" maxlength="50" value="" data-validate="required:请填写内容" placeholder="输入内容" type="text">
									div>
								div>							
								<div class="form-group" id="f_1510851941628">
									<div class="label">
										<label for="f_username_txt">
											盐验证
										label>
									div>
									<div class="field">
								        	<input class="input" id="salt" name="salt" maxlength="50" value="" data-validate="required:请填写内容" placeholder="输入内容" type="text">
									div>
								div>							
								<div class="form-group" id="f_1510851941628">
									<div class="label">
            //返回结果
            return page;
        }
    }

    /**
     * 只拦截Executor
     *
     * @param target
     * @return
     */
    public Object plugin(Object target) {
        if (target instanceof Executor) {
            return Plugin.wrap(target, this);
        } else {
            return target;
        }
    }

    <p>
      <a class="btn btn-small" href="#">
        <i class="icon-cog">i> Settingsa>
      <a class="btn btn-small btn-info" href="#">
        <i class="icon-info-sign">i> More Infoa>
    p>
    p>
  div>
  <div class="span9">
    <p>Font Awesome icons work great in buttons.p>
<pre class="prettyprint linenums">
<a  href="#">
  <i ></i> Refresh</a>
<a  href="#">
  <i ></i> Checkout</a>
<a  href="#">
  <i ></i> Comment</a>
<a  href="#">
  <i ></i> Delete</a>
<a  href="#">
  <i ></i> Settings</a>
<a  href="#">
     * 处理selectBody去除Order by
     *
     * @param selectBody
     */
    public void processSelectBody(SelectBody selectBody) {
        if (selectBody instanceof PlainSelect) {
            processPlainSelect((PlainSelect) selectBody);
        } else if (selectBody instanceof WithItem) {
            WithItem withItem = (WithItem) selectBody;
            if (withItem.getSelectBody() != null) {
                processSelectBody(withItem.getSelectBody());
            }
        } else {
            SetOperationList operationList = (SetOperationList) selectBody;
            if (operationList.getPlainSelects() != null && operationList.getPlainSelects().size() > 0) {
                List<PlainSelect> plainSelects = operationList.getPlainSelects();
							    <th width="50%">
							         用户ID
							    th>
							    <td width="50%">
							        	<input type="text" id="userid" name="userid" value="${requestScope.bean.userid}" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
							    td>
								tr>	
						    <tr>
							    <th width="50%">
							         快递描述
							    th>
							    <td width="50%">
							        	<input type="text" id="content" name="content" value="${requestScope.bean.content}" />
							    td>
								tr>	
						    <tr>
							    <th width="50%">
							         用户名

运行环境

Java≥8、Tomcat≥7.0、MySQL≥5.5

开发工具

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

技术框架

JavaBean JSP SSM(Spring SpringMVC MyBatis) MySQL Bootstrap JavaScript CSS

适用

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

功能说明

内容:源码+数据库脚本+论文

本系统采用SSM框架和MySQL数据库进行开发实现。

本系统实现了三大模块:

管理员模块具备快递人员管理、物流订单管理、取件发件管理以及系统其他配置功能;

用户模块具备发布代取件、送件信息管理、评价功能和查询订单功能等;

快递员模块具备物流订单管理功能和公告功能。

管理员

用户

快递员


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

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

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

发表评论

登录后才能评论

评论列表(0条)

保存