接口日志参数
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user