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

修正redis 最大连接数

parent 9f06bca0
...@@ -71,10 +71,10 @@ public class TestSendMsgController { ...@@ -71,10 +71,10 @@ public class TestSendMsgController {
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue()); rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
List<DeviceEntity> updateProductCodeList = deviceService.find(new DeviceQuery()); List<DeviceEntity> updateProductCodeList = deviceService.find(new DeviceQuery());
if (!ObjectUtils.isEmpty(updateProductCodeList)) { for (DeviceEntity deviceEntity : updateProductCodeList) {
log.info("更新设备产品列表,size:{},str:{}", updateProductCodeList.size(), JSON.toJSONString(updateProductCodeList)); deviceService.update(deviceEntity);
deviceService.update(updateProductCodeList,null);
} }
return JSON.toJSONString(rsp); return JSON.toJSONString(rsp);
} }
......
...@@ -47,5 +47,10 @@ GET {{baseUrl}}/test/one/49 ...@@ -47,5 +47,10 @@ GET {{baseUrl}}/test/one/49
Accept: application/json 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