멍청멍청기록
-
JSP 를 쓰는 중 View단에서 값을 넘겨줄 때 로그상 null 이 아닌 where a.idkey = ''
멍청기록] Mybatis null과 '' 을 생각하자JSP 를 쓰는 중 View단에서 값을 넘겨줄 때 로그상 null 이 아닌 where a.idkey = ''
2020.05.27 -
등록, 수정에서 불러오는 select박스와 등록(저장)/수정(저장)할 때의 select박스의 값은 다르다. 즉, mybatis에서 등록,수정에서 필요한 값이 두개(boxVO, winVO)의 VO에 각각 있는데 굳이 boxVo에 있는 특정 값을 불러와서 insert 문에 넣을 필요가 없다. 이유는 JSP 에서 select 로 선택된 값을 name으로 보내면 되기 때문이다.
프로젝트] Mybatis 문에 insert 할 때 ..등록, 수정에서 불러오는 select박스와 등록(저장)/수정(저장)할 때의 select박스의 값은 다르다. 즉, mybatis에서 등록,수정에서 필요한 값이 두개(boxVO, winVO)의 VO에 각각 있는데 굳이 boxVo에 있는 특정 값을 불러와서 insert 문에 넣을 필요가 없다. 이유는 JSP 에서 select 로 선택된 값을 name으로 보내면 되기 때문이다.
2020.05.22 -
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOfficeList'. It's likely that neither a Result Type nor a Result Map was specified. Mybatis 에 resultType 을 제대로 명시해주지 않아서 생긴 오류...
프로젝트] 에러 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOffi..org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'kr.co.smartix.mapper.OfflineMapper.selectWinBoxOfficeList'. It's likely that neither a Result Type nor a Result Map was specified. Mybatis 에 resultType 을 제대로 명시해주지 않아서 생긴 오류...
2020.05.21 -
public Map salesTransferReportExcel(@RequestParam Map map) { log.warn("===>===>===>===>===>===> ServiceImpl ===>===>===>===>===>===>===>===>===>"); Map resultMap = new HashMap(map); log.warn("===> resultMap 크크크크크" + resultMap); MemberVO memberOutPutVo = ((MyAuthenticaion) SecurityContextHolder.getContext().getAuthentication()).getMemberVO(); ArrayList arrList = new ArrayList(); String gdSeq = (S..
프로젝트] 다시 한번 생각해보기.public Map salesTransferReportExcel(@RequestParam Map map) { log.warn("===>===>===>===>===>===> ServiceImpl ===>===>===>===>===>===>===>===>===>"); Map resultMap = new HashMap(map); log.warn("===> resultMap 크크크크크" + resultMap); MemberVO memberOutPutVo = ((MyAuthenticaion) SecurityContextHolder.getContext().getAuthentication()).getMemberVO(); ArrayList arrList = new ArrayList(); String gdSeq = (S..
2020.04.24 -
17:05:22.405 ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet][log:175] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception java.io.IOException: Stream closed at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:116) at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:126) at java.io.BufferedWriter.flush(Bu..
프로젝트] 에러 Stream closed 해결하기17:05:22.405 ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet][log:175] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception java.io.IOException: Stream closed at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:116) at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:126) at java.io.BufferedWriter.flush(Bu..
2020.04.22