随笔分类 - 若依
摘要:<select id="getUser" parameterType="map" resultType="map"> SELECT id, name, addr FROM user WHERE id = #{id} </select> 以上查询,当addr字段值在数据库中为null时,返回的结果如下
阅读全文
摘要:1.准备excel模板 注: 数据类型为map用{},数据类型为List用{.} 2.在项目中resource目录下新建目录static,然后把准备好的模板扔进去 3.maven中添加相关依赖 <dependency> <groupId>com.alibaba</groupId> <artifact
阅读全文