|
@@ -135,6 +135,7 @@ public class CenterdataTKeyProjectsServiceImpl extends BaseServiceImpl implement
|
|
|
* @date 2024/1/18 14:45
|
|
|
*/@Override
|
|
|
public int receivedMessage(List<CenterdataTKeyProjects> centerdataTKeyProjects) {
|
|
|
+ logger.info("token=========================="+ SecurityUtils.getLoginUser());
|
|
|
int i = 0;
|
|
|
for (CenterdataTKeyProjects projects : centerdataTKeyProjects){
|
|
|
CenterdataTKeyProjects project = centerdataTKeyProjectsMapper.selectCenterdataTKeyProjectsById(projects.getId());
|
|
@@ -142,6 +143,7 @@ public class CenterdataTKeyProjectsServiceImpl extends BaseServiceImpl implement
|
|
|
if (project==null){
|
|
|
projects.setId(IdUtils.fastUUID());
|
|
|
projects.setDeptId(SecurityUtils.getLoginUser().getSysUser().getDeptId());
|
|
|
+ logger.info("deptId========================"+ SecurityUtils.getLoginUser().getSysUser().getDeptId());
|
|
|
projects.setDeptName(SecurityUtils.getLoginUser().getSysUser().getDeptNames());
|
|
|
projects.setCreateBy(SecurityUtils.getUserId().toString());
|
|
|
projects.setCreateName( SecurityUtils.getLoginUser().getSysUser().getNickName());
|