1、bug fix
This commit is contained in:
@@ -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("公司和工号都不能为空");
|
||||
|
||||
Reference in New Issue
Block a user