09 2022 档案
摘要:@RequestBody用来接收前端传递给后端的json字符串中的数据,即请求体数据,所以只能发送POST请求,GET方式无请求体,所以使用@RequestBody注解接收数据时前端不能使用GET方式提交数据只能用POST方式进行提交。由于@RequestBody注解接收的前端传过来的数据是json
阅读全文
摘要:1.Controller: //查询树@PostMapping("/list")public List<TbBasetree> list(@RequestBody Map<String,String> param) { String mark = param.get("mark"); List<Tb
阅读全文
摘要:FIle -> Settings -> 搜索 File Types -> Ignored Files and Folders -> 点击“+”添加想要忽略的某类型 -> 点击Enter -> OK eg: *.iml *.ini
阅读全文
摘要:1.unsplashhttps://unsplash.dogedoge.com/
阅读全文
摘要:<select id="findAllEnergyConsumerStatistics" resultType="com.cars.ict.collector.entity.EnergyDailyStatistics"> SELECT "" AS id, IF ( e.device_type !=
阅读全文
摘要:转自:https://blog.csdn.net/qq_46112274/article/details/115052134 方法一 1、首先在gitee上新建仓库 登录gitee账号,选择“仓库”,新建仓库。 创建成功的仓库如图所示: 记得创建仓库时复制仓库路径。上传时需要使用。 2、在本地磁盘新
阅读全文
摘要:mybatis.configuration.mapUnderscoreToCamelCase=true或mybatis.configuration.map-underscore-to-camel-case=true
阅读全文