Commit 6a4f9e61 authored by 赵啸非's avatar 赵啸非

修正redis 最大连接数

parent 9f06bca0
......@@ -71,10 +71,10 @@ public class TestSendMsgController {
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
List<DeviceEntity> updateProductCodeList = deviceService.find(new DeviceQuery());
if (!ObjectUtils.isEmpty(updateProductCodeList)) {
log.info("更新设备产品列表,size:{},str:{}", updateProductCodeList.size(), JSON.toJSONString(updateProductCodeList));
deviceService.update(updateProductCodeList,null);
for (DeviceEntity deviceEntity : updateProductCodeList) {
deviceService.update(deviceEntity);
}
return JSON.toJSONString(rsp);
}
......
......@@ -47,5 +47,10 @@ GET {{baseUrl}}/test/one/49
Accept: application/json
###redis 测试
GET {{baseUrl}}/test/updateDevice
Accept: application/json
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment