|
|
|
@ -157,7 +157,7 @@ public class IoCollectLedGroupService extends ServiceImpl<IoCollectLedGroupMappe
|
|
|
|
|
//如果为null 当前灯组已满
|
|
|
|
|
if (orderLeds.isEmpty()) {
|
|
|
|
|
// 如果没有可用灯组,抛出异常或返回 null
|
|
|
|
|
throw new JsonException("当前灯组已满!");
|
|
|
|
|
throw new JsonException("没有可用灯组!");
|
|
|
|
|
}
|
|
|
|
|
SysOrderLed orderLed = orderLeds.get(0);
|
|
|
|
|
//if 没有满 设置订单id
|
|
|
|
|