处理拆分钟linux系统和windows系统不兼容问题以及其他报错信息

This commit is contained in:
wangchengjun
2022-05-26 22:27:12 +08:00
parent 1f2e2a86fd
commit a5a667b1bc
2 changed files with 14 additions and 4 deletions
@@ -88,7 +88,7 @@ public class SyncDataServiceImpl implements ISyncDataService{
}else{
sysDepart.setParentCode(ppo.getParent_path());
}
sysDepart.setDepartOrder(Integer.valueOf(ppo.getId()));
sysDepart.setDepartOrder(ppo.getId());
// LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
// sysDepart.setCreateBy(sysUser.getRealname());
@@ -119,7 +119,7 @@ public class SyncDataServiceImpl implements ISyncDataService{
sysDepart.setOrgCode(root.getCode());
String parentCode = root.getParent_path().substring(root.getParent_path().lastIndexOf("/"));
sysDepart.setParentCode(parentCode);
sysDepart.setDepartOrder(i);
sysDepart.setDepartOrder(String.valueOf(i));
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
sysDepart.setCreateBy(sysUser.getRealname());