Commit 58642dab authored by 赵啸非's avatar 赵啸非

修改角色权限

parent 1935d466
...@@ -28,6 +28,7 @@ import com.mortals.xhx.utils.SpringUtils; ...@@ -28,6 +28,7 @@ import com.mortals.xhx.utils.SpringUtils;
import lombok.extern.apachecommons.CommonsLog; import lombok.extern.apachecommons.CommonsLog;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.List; import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
...@@ -120,6 +121,7 @@ public class SyncGovMatterDetailThread implements Runnable { ...@@ -120,6 +121,7 @@ public class SyncGovMatterDetailThread implements Runnable {
log.info("同步站点事项详细条数....." + unSyncDetailMatterList.size()); log.info("同步站点事项详细条数....." + unSyncDetailMatterList.size());
unSyncDetailMatterList.parallelStream().forEach(matterEntity -> { unSyncDetailMatterList.parallelStream().forEach(matterEntity -> {
matterService.buildMatterDetail(matterEntity, context); matterService.buildMatterDetail(matterEntity, context);
matterEntity.setUpdateTime(new Date());
matterService.update(matterEntity, context); matterService.update(matterEntity, context);
}); });
} }
......
...@@ -1201,7 +1201,6 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter ...@@ -1201,7 +1201,6 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
} }
if (!ObjectUtils.isEmpty(matterExtEntities)) { if (!ObjectUtils.isEmpty(matterExtEntities)) {
//先删除后添加 //先删除后添加
......
...@@ -75,8 +75,8 @@ Accept: application/json ...@@ -75,8 +75,8 @@ Accept: application/json
###构建站点树 ###构建站点树
GET {{baseUrl}}/site/siteTree GET {{baseUrl}}/site/siteTree
#Authorization: {{authToken}} Authorization: {{authToken}}
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjIwNjY6MTM1OWYxYTQzZDNkNDljMmJkMDI5YzE5NThiNmFiZDAifQ.OQtNgxm9AH_TOuvAbbabJV0iMIbP3tj9pm6wofFqSis #Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjIwNjY6MTM1OWYxYTQzZDNkNDljMmJkMDI5YzE5NThiNmFiZDAifQ.OQtNgxm9AH_TOuvAbbabJV0iMIbP3tj9pm6wofFqSis
Accept: application/json Accept: application/json
......
...@@ -4,8 +4,8 @@ POST {{baseUrl}}/login/login ...@@ -4,8 +4,8 @@ POST {{baseUrl}}/login/login
Content-Type: application/json Content-Type: application/json
{ {
"loginName":"banana", "loginName":"admin",
"password":"gxjG123!@#", "password":"xhxADMIN8@a",
"securityCode":"admin" "securityCode":"admin"
} }
......
...@@ -40,7 +40,7 @@ public class ComsumerBurySaveService implements IApplicationStartedService { ...@@ -40,7 +40,7 @@ public class ComsumerBurySaveService implements IApplicationStartedService {
int waitTime = 10; int waitTime = 10;
while (!stopped) { while (!stopped) {
try { try {
BuryPointPdu pdu = cacheService.lpop(KEY_BURY_POINT_CACHE, BuryPointPdu.class); BuryPointPdu pdu = cacheService.blpop(KEY_BURY_POINT_CACHE,10, BuryPointPdu.class);
if(!ObjectUtils.isEmpty(pdu)){ if(!ObjectUtils.isEmpty(pdu)){
pageAccessService.saveByPdu(pdu); pageAccessService.saveByPdu(pdu);
pageAccessDepthService.saveByPdu(pdu); pageAccessDepthService.saveByPdu(pdu);
......
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