摘要: $(function () { $("#btnback").click(function () { window.location.href = "${ctx}/ship/shipInfoAdd"; });}) 阅读全文
posted @ 2017-08-08 15:53 Legolas_4 阅读(270) 评论(0) 推荐(0)
摘要: ShipStatic ship=shipService.getShipInfoBymmsi(mmsi); public interface ShipStaticMapper extends Mapper { ShipStatic getShipinfoBymmsi(String mmsi);} public interface ShipImageMapper extends Mappe... 阅读全文
posted @ 2017-08-08 15:01 Legolas_4 阅读(594) 评论(0) 推荐(0)
摘要: base.jsp<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/ 阅读全文
posted @ 2017-08-08 14:13 Legolas_4 阅读(482) 评论(0) 推荐(0)
摘要: 和其他数据库系统类似,Oracle字符串连接使用“||”进行字符串拼接,其使用方式和MSSQLServer中的加号“+”一样。 比如执行下面的SQL语句: 复制代码代码如下: SELECT '工号为'||FNumber||'的员工姓名为'||FName FROM T_Employee WHERE F 阅读全文
posted @ 2017-08-08 10:57 Legolas_4 阅读(222) 评论(0) 推荐(0)
摘要: 正斜杠 正斜杠 表示除法,分隔,在windows系统中通常用来分隔命令行参数,/ 表示选项等。不能作为文件名isiss/。 正斜杠"/"在某些文档里面表示“顿号”,如通讯方式GSM/GPRS/3G,表示这三类通讯方式都可以支持。 反斜杠 反斜杠 在windows系统中,\ 用来表示目录。 而在uni 阅读全文
posted @ 2017-08-08 08:48 Legolas_4 阅读(11102) 评论(0) 推荐(0)
摘要: 在Controller中 @ResponseBody 返回JsonObject 在jsp的 success:function(data){}中可以获取 通过data.xxx可以获取json串中返回的各个属性值。 阅读全文
posted @ 2017-08-08 08:44 Legolas_4 阅读(1704) 评论(0) 推荐(0)
摘要: 2.建立序列 -- Create sequence create sequence SEQ_SHIP_IMAGEminvalue 20maxvalue 999999999999999999start with 40increment by 1cache 20; 使用序列: SELECT SEQ_SH 阅读全文
posted @ 2017-08-08 08:39 Legolas_4 阅读(1279) 评论(0) 推荐(0)