接口日志参数

This commit is contained in:
ludj
2023-02-20 11:39:55 +08:00
parent e6342cef42
commit 8290ed2810
6 changed files with 10 additions and 10 deletions

View File

@@ -135,6 +135,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
result.put("message", "任务状态反馈成功!");
result.put("data", new JSONObject());
result.put("errArr", errArr);
log.info("receiveTaskStatusAcs返回参数--------------------------------------" + result.toString());
return result;
}
@@ -493,6 +494,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
}
result.put("status", HttpStatus.OK.value());
result.put("message", "下发成功!");
log.info("apply返回参数---------------------------------------------" + result.toString());
return result;
}
} finally {
@@ -502,6 +504,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
}
result.put("status", HttpStatus.BAD_REQUEST.value());
result.put("message", "申请任务超时!" + type);
log.info("apply返回参数---------------------------------------------" + result.toString());
return result;
}
@@ -602,7 +606,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
lock.unlock();
}
}
log.info("deviceApply返回参数---------------------------------------------" + result.toString());
return result;
}

View File

@@ -6,7 +6,6 @@ import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.nl.modules.logging.annotation.Log;
import org.nl.wms.pda.mps.service.CasingService;
import org.nl.wms.pda.mps.service.OutService;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;