Merge branch 'develop' of gitee.com:peng-ou/haoka-server into develop
This commit is contained in:
commit
9bc5046739
|
|
@ -417,7 +417,7 @@ public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, OrdersDO> imple
|
|||
private void validateOrdersIfAudit(Long id) {
|
||||
OrdersDO ordersDO = ordersMapper.selectById(id);
|
||||
ArrayList<Long> longs = Lists.newArrayList(120L, 125L, 200L);
|
||||
if (longs.contains(ordersDO.getStatus())) {
|
||||
if (!longs.contains(ordersDO.getStatus())) {
|
||||
throw exception(ORDERS_NOT_AUDIT);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue