☀ mybatis - mapper ☀ 👀 SELECT select * from userpoint order by uidx desc select * from userpoint where uidx=#{aa} order by uidx desc select count(*) as ctn from rainfall where today=#{today} select * from notice n_subject like concat('%',#{search_word},'%') or n_text like concat('%',#{search_word},'%') n_subject like concat('%',#{search_w.. 2024. 7. 25. javascript - key배열 만들기 //일반 배열 형태var arr = new Array(10);arr.push("test1");arr.push("test2");arr.push("test3");arr.push("test4");console.log(arr)//key배열 형태var arr2 = new Object();arr2.name="홍길동";arr2.id="hong";arr2.tel="01012345678";console.log(arr2) 2024. 7. 24. #9-2 / notice list + category 검색기능( 동적 query문 ), delete 👀 start 시 파일 생성 👀 - notice table - daopackage api;import lombok.Getter;import lombok.Setter;@Getter@Setterpublic class notice_dao { int nidx; String n_title,n_pass,n_subject,n_text,n_date;}=> // config.xml 에 해당 dao 연결 추가 - controller@Controllerpublic class notice_controller { @Resource(name="notice") private notice_module nm;} - modulepackage api;import javax.annotation.Resource;import org... 2024. 7. 24. 별도의 config, mapper를 사용하는 방식 - dbconfig.xml 에 🔽mapper2.xml , config2.xml 새로 생성 2024. 7. 24. 이전 1 ··· 18 19 20 21 22 23 24 ··· 77 다음