Browse Source

feat(all): 修改结算功能

1 修改生成对账单的控制逻辑
  1.1 ToB时不需要校验是否计算价格
  1.2 修改提示语句
fix-sign
zhaoqiaobo 5 months ago
parent
commit
59f809d8af
  1. 7
      blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/service/impl/StatisticsOrderInfoServiceImpl.java

7
blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/service/impl/StatisticsOrderInfoServiceImpl.java

@ -504,12 +504,15 @@ public class StatisticsOrderInfoServiceImpl extends BaseServiceImpl<StatisticsOr
for (StatisticsOrderInfoEntity orderInfoEntity : orderInfoEntities) {
if (orderInfoEntity.getTypeService() != null && orderInfoEntity.getTypeService() != 2) {
continue;
}
Integer syncFeeStatus = orderInfoEntity.getSyncFeeStatus();
Long orderId = orderInfoEntity.getId();
String orderCode = orderInfoEntity.getOrderCode();
if(syncFeeStatus == 0){
log.warn("############createReconciliationOrder: 订单还未同步数据 orderId={}",orderId);
return R.fail(405,"订单["+orderCode+"]还未同步数据");
log.warn("############createReconciliationOrder: 订单还未计算价格的数据 orderId={}",orderId);
return R.fail(405,"订单["+orderCode+"]未计算价格的数据");
}
}

Loading…
Cancel
Save