Commit 5927f17e authored by 赵啸非's avatar 赵啸非

添加水印图片

parent 15d8f678
package com.mortals.xhx.busiz.web; package com.mortals.xhx.busiz.web;
import cn.hutool.core.io.FileUtil; import cn.hutool.core.io.FileUtil;
import com.google.common.collect.Lists;
import com.mortals.framework.ap.GlobalSysInfo; import com.mortals.framework.ap.GlobalSysInfo;
import com.mortals.framework.common.Rest; import com.mortals.framework.common.Rest;
import com.mortals.xhx.base.system.upload.service.UploadService; import com.mortals.xhx.base.system.upload.service.UploadService;
...@@ -67,7 +68,10 @@ public class TestSendMsgController { ...@@ -67,7 +68,10 @@ public class TestSendMsgController {
} }
if (!ObjectUtils.isEmpty(applyLogEntities)) { if (!ObjectUtils.isEmpty(applyLogEntities)) {
applyLogService.update(applyLogEntities); List<List<ApplyLogEntity>> partition = Lists.partition(applyLogEntities, 100);
for (List<ApplyLogEntity> logEntities : partition) {
applyLogService.update(logEntities);
}
} }
ChildLicenseQuery childLicenseQuery = new ChildLicenseQuery(); ChildLicenseQuery childLicenseQuery = new ChildLicenseQuery();
...@@ -91,7 +95,10 @@ public class TestSendMsgController { ...@@ -91,7 +95,10 @@ public class TestSendMsgController {
} }
if (!ObjectUtils.isEmpty(childLicenseEntities)) { if (!ObjectUtils.isEmpty(childLicenseEntities)) {
childLicenseService.update(childLicenseEntities); List<List<ChildLicenseEntity>> partition = Lists.partition(childLicenseEntities, 100);
for (List<ChildLicenseEntity> licenseEntities : partition) {
childLicenseService.update(licenseEntities);
}
} }
childLicenseQuery = new ChildLicenseQuery(); childLicenseQuery = new ChildLicenseQuery();
...@@ -114,7 +121,10 @@ public class TestSendMsgController { ...@@ -114,7 +121,10 @@ public class TestSendMsgController {
} }
if (!ObjectUtils.isEmpty(childLicenseEntities)) { if (!ObjectUtils.isEmpty(childLicenseEntities)) {
childLicenseService.update(childLicenseEntities); List<List<ChildLicenseEntity>> partition = Lists.partition(childLicenseEntities, 100);
for (List<ChildLicenseEntity> licenseEntities : partition) {
childLicenseService.update(childLicenseEntities);
}
} }
......
...@@ -8,23 +8,8 @@ ...@@ -8,23 +8,8 @@
"test-remote": { "test-remote": {
"baseUrl": "http://8.136.255.30:11011/onecert" "baseUrl": "http://8.136.255.30:11011/onecert"
}, },
"yibin": { "product": {
"baseUrl": "http://112.19.80.237:11039/attendance", "baseUrl": "http://192.168.0.250:11011/onecert"
"baseLogin": "http://192.168.0.98:11078/base"
},
"pengxi": {
"baseUrl": "http://118.122.189.109:11039/attendance",
"baseLogin": "http://192.168.0.98:11078/base"
},
"portal": {
"baseUrl": "http://192.168.0.98:11072/zwfw",
"baseLogin": "http://192.168.0.98:11078/base"
},
"portal-yibin": {
"baseUrl": "http://112.19.80.237:11078/zwfw"
} }
} }
\ No newline at end of file
...@@ -52,12 +52,24 @@ Content-Type: application/json ...@@ -52,12 +52,24 @@ Content-Type: application/json
{} {}
###刷新水印
GET {{baseUrl}}/test/refreshWaterMark
###获取参数列表 ###获取参数列表
POST {{baseUrl}}/apply/log/interlist POST {{baseUrl}}/apply/log/interlist
Content-Type: application/json Content-Type: application/json
{ {
"industryId": 18 "industryId": 18
} }
###获取参数列表
GET {{baseUrl}}/test/subtree?parentId=-1
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