|
@@ -52,7 +52,7 @@ public class WeighbridgeRecordManage {
|
|
|
// 构建实体对象
|
|
// 构建实体对象
|
|
|
WeighbridgeRecord record = buildWeighbridgeRecord(request);
|
|
WeighbridgeRecord record = buildWeighbridgeRecord(request);
|
|
|
if(Objects.isNull(validateLicensePlate)){
|
|
if(Objects.isNull(validateLicensePlate)){
|
|
|
- record.setCheckStatus(record.getCheckStatus());
|
|
|
|
|
|
|
+ record.setCheckStatus(1);
|
|
|
}
|
|
}
|
|
|
// 保存到数据库
|
|
// 保存到数据库
|
|
|
boolean saved = weighbridgeRecordService.save(record);
|
|
boolean saved = weighbridgeRecordService.save(record);
|