1달 2주를 기다려서 받은 CBR650R
4기통의 감성을 느끼고싶고 다른 미들급은
포지션이 힘들다해서 결정했는데
아직 바린이라 그런지 저에게는 너무 힘드네요..
프로모션으로 받은 블랙박스 대구공돌님표 핸들 벨런스
알리발 클러치 브레이크 레버 xrt 프레임, 포크 슬라이더 sp커넥터 여기까지 달았고
아직 꾸밀게 많이 남았네요ㅠㅠ
길들이기 중이라 도를 닦고 있는중....
두번정도 150까지 땡겨봤는데 고속에서는 진동이 좀 있네요...

'오토바이' 카테고리의 다른 글

CBR650R CBR1000RR  (0) 2019.09.03
BMW C650GT  (0) 2017.05.18
[SUZUKI YZF R6] 스즈키 YZF-R6  (0) 2017.04.18
[SUZUKI Hayabusa] 스즈키 하야부사 2017  (0) 2017.04.18
티맥스 튜닝 사진  (0) 2017.03.19
 
//전체
$('#tbodyList input[type=checkbox]').length;
//체크된것만
$('#tbodyList input[type=checkbox]:checked').length;
//체크안된것만
$('#tbodyList input[type=checkbox]:not(:checked)').length;


화면 전체에 체크박스를 체크하고싶으면 #tbodyList 제거하면 됩니다.
myBatis에서 selectone으로 검색시 결과값이 없는데 int절에 넣고 싶을때가 있을것이다. int절에 넣을때 nullpointerException 오류가 발생하게 된다.
 
//service
int testCnt = testDAO.selectTestCnt(testVO);
//mapper

//dao
public int selectTestCnt(TestVO testVO) {
	return ((Integer) sqlSession.selectOne(NAMESPACE + "selectTestCnt", testVO)).intValue();
}
service 단에서 nullpointerException 오류 발생 이럴때는..........이렇게 해보세요~~!!!
//int testCnt = testDAO.selectTestCnt(testVO);
//dao
public int selectTestCnt(TestVO testVO) {
	return sqlSession.selectOne(NAMESPACE + "selectTestCnt", testVO;
}
//service
Integer testCnt = testDAO.selectTestCnt(testVO);
testCnt = testCnt == null ? 0 : testCnt;

'개발 > JAVA' 카테고리의 다른 글

byte Array to  (0) 2023.04.20
[Java] Byte Reverse  (0) 2023.04.20
Spring VO 객제 복사 하기  (0) 2017.08.04
java 인코딩 깨질때 [한글 인코딩 오류] 체크  (0) 2017.07.21
Java split 사용법  (0) 2017.04.05

+ Recent posts