OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2022-01-11 fab2f56f5631335d5ac5b1497fa996fbe63d0b1f
src/main/resources/mybatis/query-template/notice-template.xml
@@ -9,8 +9,10 @@
        n.title as title,
        n.description as description,
        n.register_id as registerId,
        u.name as writer,
        SUBSTRING (n.register_date, 1, 10) as registerDate
        FROM notice n
        INNER JOIN user u on u.id = n.register_id
        WHERE 1=1
        <if test="title != '' and title != null">
            AND n.title like CONCAT('%',#{title},'%')