|
@@ -3684,6 +3684,13 @@ public class MusicGroupServiceImpl extends BaseServiceImpl<String, MusicGroup> i
|
|
|
throw new BizException("乐器已发货,请勿重复操作");
|
|
|
}
|
|
|
|
|
|
+ Set<String> musicGroupIds = new HashSet<String>();
|
|
|
+ musicGroupIds.add(musicGroupId);
|
|
|
+ List<MusicGroupPurchaseList> musicGroupPurchaseListCount = musicGroupPurchaseListDao.getCount(musicGroupIds);
|
|
|
+ if (musicGroupPurchaseListCount == null || musicGroupPurchaseListCount.size() == 0) {
|
|
|
+ throw new BizException("乐器清单未确认,不能确认发货");
|
|
|
+ }
|
|
|
+
|
|
|
Date date = new Date();
|
|
|
|
|
|
musicGroup.setMusicalInstrumentsProvideStatus(1);
|