摘要: -- ifdeclare pname varchar2(20) := 1;begin if pname = 1 then dbms_output.PUT_LINE('是1'); elsif pname = 2 then dbms_output.PUT_LINE('是2'); else dbms_ou 阅读全文
posted @ 2021-02-01 20:37 养一只Tom猫 阅读(76) 评论(0) 推荐(0) 编辑
摘要: http://www.iocoder.cn/?bilibili&springcloud 阅读全文
posted @ 2020-01-20 09:22 养一只Tom猫 阅读(6519) 评论(0) 推荐(0) 编辑
摘要: 1 @Controller 2 public class UploadFileController { 3 //上传文件 4 @ResponseBody 5 @RequestMapping(value = "/uploadFile") 6 public String uploadFile(HttpS 阅读全文
posted @ 2019-12-31 15:57 养一只Tom猫 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1 package com.oracle.upload; 2 3 import com.google.gson.Gson; 4 import com.google.gson.JsonObject; 5 import com.oracle.domain.ResponseUpload; 6 import 阅读全文
posted @ 2019-12-30 22:51 养一只Tom猫 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1、直接把表单的参数写在Controller相应的方法的形参中,适用于get方式提交,不适用于post方式提交。 1 /** 2 * 1.直接把表单的参数写在Controller相应的方法的形参中 3 * @param username 4 * @param password 5 * @return 阅读全文
posted @ 2019-12-24 10:34 养一只Tom猫 阅读(230) 评论(0) 推荐(0) 编辑
摘要: https://repo.spring.io/webapp/#/artifacts/browse/tree/General/libs-release-local/org/springframework/spring 阅读全文
posted @ 2019-12-19 10:42 养一只Tom猫 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 </head> 7 <style> 8 .longen { 9 position:relative; 10 width:300px; 11 阅读全文
posted @ 2019-12-16 20:28 养一只Tom猫 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: 替代xml文件 配置的java文件 1 package com.oracle.config; 2 3 import org.springframework.context.annotation.*; 4 /** 5 * 该类是一个配置类,他的作用和bean.xml是一样的 6 * spring中的新 阅读全文
posted @ 2019-12-11 09:40 养一只Tom猫 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1 package com.oracle.demo01; 2 3 import com.oracle.factory.InstanceFactory; 4 import com.oracle.pojo.User; 5 import com.oracle.pojo.User2; 6 import or 阅读全文
posted @ 2019-12-10 11:10 养一只Tom猫 阅读(91) 评论(0) 推荐(0) 编辑
摘要: --分页select * from emp; select a.empno from (select * from emp) a; select * from emp e where e.deptno in (select d.deptno from dept d where d.dname lik 阅读全文
posted @ 2019-12-06 19:37 养一只Tom猫 阅读(160) 评论(0) 推荐(0) 编辑