1、bug fix

This commit is contained in:
2025-11-26 18:21:42 +08:00
parent 9cba830ad6
commit de9c39f2f3

View File

@@ -88,8 +88,8 @@ public class TaskServiceImpl implements ITaskService {
@Override
public SdmResponse list(SpdmTaskListReq req) {
Long tenantId = 1979091834410176514L;
Long userId = 1979078323595476993L;
Long tenantId = ThreadLocalContext.getTenantId();
Long userId = ThreadLocalContext.getUserId();
if (Objects.isNull(tenantId) || Objects.isNull(userId)) {
log.error("公司和工号都不能为空");
return SdmResponse.failed("公司和工号都不能为空");