|
@@ -122,7 +122,7 @@ public class WeighbridgeV2Controller {
|
|
|
@Parameter(description = "称重重量(吨)") @RequestParam("grossWeight") String grossWeight,
|
|
@Parameter(description = "称重重量(吨)") @RequestParam("grossWeight") String grossWeight,
|
|
|
@Parameter(description = "时间戳(秒或毫秒)") @RequestParam("timestamp") String timestamp,
|
|
@Parameter(description = "时间戳(秒或毫秒)") @RequestParam("timestamp") String timestamp,
|
|
|
@Parameter(description = "处理标签") @RequestParam(value = "tag", required = false) String tag,
|
|
@Parameter(description = "处理标签") @RequestParam(value = "tag", required = false) String tag,
|
|
|
- @Parameter(description = "车辆照片") @RequestParam(value = "images[]", required = false) MultipartFile[] images
|
|
|
|
|
|
|
+ @Parameter(description = "车辆照片") @RequestParam(value = "images", required = false) MultipartFile[] images
|
|
|
) {
|
|
) {
|
|
|
WeighbridgeRecordReq req = new WeighbridgeRecordReq();
|
|
WeighbridgeRecordReq req = new WeighbridgeRecordReq();
|
|
|
req.setLicensePlate(licensePlate);
|
|
req.setLicensePlate(licensePlate);
|
|
@@ -132,7 +132,9 @@ public class WeighbridgeV2Controller {
|
|
|
req.setTag(tag);
|
|
req.setTag(tag);
|
|
|
req.setImages(images);
|
|
req.setImages(images);
|
|
|
|
|
|
|
|
- log.info("[地磅过磅数据上报V2]开始地磅过磅数据上报,入参参数:{}", JSON.toJSONString(req));
|
|
|
|
|
|
|
+ log.info("[地磅过磅数据上报V2]开始地磅过磅数据上报,车牌:{}, 地磅编号:{}, 重量:{}, 时间戳:{}, 图片数量:{}",
|
|
|
|
|
+ req.getLicensePlate(), req.getWeighbridgeCode(), req.getGrossWeight(),
|
|
|
|
|
+ req.getTimestamp(), req.getImages() != null ? req.getImages().length : 0);
|
|
|
assertPrintReceiptAuthorized(printReceiptAuthSn);
|
|
assertPrintReceiptAuthorized(printReceiptAuthSn);
|
|
|
|
|
|
|
|
// 构建请求对象
|
|
// 构建请求对象
|