문 안에서 substring 사용하기 요건 순수 테스트를 통한 나의 글입니다. AND TO_CHAR (sp.colt_dt, 'YYYYMM') = SUBSTR (#{coltDt}, 1, 6) substring(시작index, 종료index+1)은 java기능과 같이 생각하면 되겠네요. string의 위치는 0부터 시작하고요. test문을 '로 시작함에 유의하세요. java는 문자열일 경우 "만 사용가능하기 때문이지요. 출처 : java119.tistory.com/42?category=824525 MyBatis 비교문 지원 태그 : 단일 조건문 : 다중 조건문 *ibatis에는 isNull, isEmpty가 있었지만 MyBatis에는 없다. 문자열 비교 paraName1 이라는 파라미터가 null이 아니면서..
@RequestMapping(value = "/qlty/consumerInfo/putBiguse", method=RequestMethod.POST) public @ResponseBody ModelAndView putBiguse(@RequestBody String filterJSON) { var param = {}; param = {"biguseArr" : biguseArr}; param = JSON.stringify(param); $.ajax({ type : "POST", url : "/qlty/consumerInfo/putBiguse", data : param, dataType : "json", contentType : "application/json;charset=UTF-8", success : fu..
from ${myproperty}
출처: https://sambalim.tistory.com/69 [삼바의 성장 블로그] 스프링의 @Controller에서 @RequestMapping 어노테이션을 사용할 경우, 대표적으로 ModelAndView, String 등 여러가지 타입으로 정의할 수 있다. 0. 설정 1.application.properties spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view.suffix=.jsp view를 /WEB-INF/jsp/ 내의 .jsp파일로 지정하였다. 2. Host, Port http://localhost:8080 1. ModelAndView @Controller public class HelloController { @RequestMapping("/hel..
잘되네..^^ public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new FileReader(new File("C:/Users/user/Documents/var_input.sql"))); BufferedWriter bw = new BufferedWriter(new FileWriter(new File("C:/Users/user/Documents/var_output.sql"))); String oneLine; while((oneLine = br.readLine()) != null) { String result = changeVariable(oneLine).toString(); result = changeFi..
출처 : mainia.tistory.com/5629 war파일 작성시 에러가 다음과 같다. No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? eclipse 메뉴 Windows> Preferences 선택. Preferences 창이 뜨면 왼쪽 사이드에 [Java] > [Installed JREs] 를 선택합니다. 목록에는 기본적으로 jre 가 있습니다. 다운 받은 JDK 를 찾아 추가하고 jre 대신 jdk 를 선택합니다.
@RequestMapping(value="/saveRequestForm" , method= RequestMethod.POST, consumes ={"multipart/form-data"}) //public @ResponseBody ModelAndView saveRequestForm(@RequestBody Map param,HttpServletRequest request){ public @ResponseBody ModelAndView saveRequestForm(FpCalcRequest reqVo,HttpServletRequest request){ ModelAndView mv = new ModelAndView("jsonView"); try{ if (reqVo.getPwd()!=null) { String p..
- Total
- Today
- Yesterday
- 정규식
- Keycode
- object key
- 진열사랑
- springboot
- lombok
- @ExceptionHandler
- 전후방탐색
- JQuery
- draw.io
- PostgreSQL
- $.each
- 프로젝트명변경
- Javascript
- border-collapse
- DatePicker
- spring
- excel
- $.extend
- oracle
- CSS
- getter
- caniuse
- QueryDSL
- devtools
- element위치
- sumifs
- ul li로 테이블
- 여러 컬럼 update
- setter
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |