fangyuan
2022-11-18 69ee7c605579c009ee3c087fa265619ba55155f6
ycl-platform/src/main/resources/mapper/NewsInformationDao.xml
@@ -31,5 +31,10 @@
        on duplicate key update
         title = values(title) , content = values(content) , publish_time = values(publish_time) , is_sign = values(is_sign) , create_time = values(create_time) , send_to = values(send_to) , image_url = values(image_url)     </insert>
    <insert id="insertOneInformation" keyProperty="id" useGeneratedKeys="true">
        insert into news_website.news_information(title, content, publish_time, is_sign, create_time, send_to, image_url)
        values (#{entity.title}, #{entity.content}, #{entity.publishTime}, #{entity.isSign}, #{entity.createTime}, #{entity.sendTo}, #{entity.imageUrl})
    </insert>
</mapper>