- 博客(5)
- 资源 (2)
- 收藏
- 关注
原创 10.14
SELECTe.Category,e.SubCategory,JSON_ARRAYAGG(JSON_OBJECT(‘name’,e.DeviceName,‘value’,n.status,‘sort’,e.Sort )) AS JsonFROMdat_device_worklog dwJOIN Bas_Device e On dw.OrgID=e.OrgIDLEFT JOIN dat_device_operation n ON e.ID = n.DeviceIDAND dw.ID = n.W
2021-10-14 11:16:38
114
原创 7.16 MongoDB
存储评论1,创建数据库ues articledb//有就用,没有就创建连接 mogo --host=xxx.xx.x.xx.x.x.x…show dbs//展示当前库db//展示当前数据库db.dropDatabase()//删除数据库2,创建集合//集合在这里就是我们所说的表db.createCollection(“my”)//创建集合show collections//展示集合db.my.drop()//删除成功3,插入操作db.comment.insert({“xxxxx.xx
2021-07-16 16:25:41
102
原创 7.14 springboot web开发
1创建,选择模块选择mysql或者web或者nodbRestControllerPostMappingSpringBootApplicationproperties>yml>yaml配置文件优先级person:name: zhangsanperson: {name: zhangsan}address: [a,b]address:-bejing-shanghaimsgi: ‘\n’ 输出\nmsgi:"\n" 输出 换行name:444${name} 输出na
2021-07-14 16:03:00
122
原创 2021-07-13
Srping boot学习一,注解1,@Component //注册bean到容器中2,@Value(“阿黄”)给bean中注入属性3,@SpringBootTest测试,在class上边标明3,@Autowired//将狗狗自动注入进来4,@PropertySource (value = “classpath:person.properties”):加载指定的配置文件5,@ConfigurationProperties:默认从全局配置文件中获取值配置文件还可以编写占位符生成随机数per
2021-07-13 10:15:21
100
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人