|
@@ -304,8 +304,12 @@ public class TmstruckWeightResultServiceImpl implements ITmstruckWeightResultSer
|
|
|
tmstruckReceiptResult.setStatus(new BigDecimal(1));
|
|
|
tmstruckReceiptResult.setInsertUsername("admin");
|
|
|
tmstruckReceiptResult.setInsertTime(new Date());
|
|
|
- tmstruckReceiptResultMapper.updateByTotalResultId(tmstruckReceiptResult);
|
|
|
- System.out.println(orderNumber + "收货成功");
|
|
|
+ int i = tmstruckReceiptResultMapper.updateByTotalResultId(tmstruckReceiptResult);
|
|
|
+ if(i == 1) {
|
|
|
+ System.out.println(orderNumber + "收货成功");
|
|
|
+ }else {
|
|
|
+ System.out.println(orderNumber + "收货失败");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|