Commit 7657ece54735ec2023db698395661f3cf48280d6
1 parent
00e630ff
feat:一次性通过率2.0
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/order/erp/service/order/impl/OrderBaseInfoServiceImpl.java
... | ... | @@ -2000,6 +2000,9 @@ public class OrderBaseInfoServiceImpl extends ServiceImpl<OrderBaseInfoMapper, O |
2000 | 2000 | .eq(BaseDO::getEnableFlag, Constant.ENABLE_TEN) |
2001 | 2001 | .eq(OrderOpinionLogDO::getOrderId, orderOpinionLogVO.getOrderId()) |
2002 | 2002 | .eq(OrderOpinionLogDO::getOpinionType, orderOpinionLogVO.getOpinionType())); |
2003 | + if(CollectionUtils.isEmpty(orderOpinionLogDOList)){ | |
2004 | + return ServerResult.fail("订单跟单信息"+orderOpinionLogVO.getOpinionType()+"未填写"); | |
2005 | + } | |
2003 | 2006 | List<Integer> okCountList= new ArrayList(); |
2004 | 2007 | List<Integer> FailCountList= new ArrayList(); |
2005 | 2008 | orderOpinionLogDOList.stream().forEach(x->{ | ... | ... |