|
@@ -99,7 +99,7 @@ public class TourProjectGroupPurchaseDetailServiceImpl extends BaseService<TourP
|
|
|
@Override
|
|
|
public CallResult verifyRelatedDataBeforeDelete(TourProjectGroupPurchaseDetail tourProjectGroupPurchaseDetail) {
|
|
|
TourProjectGroupPurchase tourProjectGroupPurchase = new TourProjectGroupPurchase();
|
|
|
- tourProjectGroupPurchase.setCode(tourProjectGroupPurchaseDetail.getGroupPurchaseId());
|
|
|
+ tourProjectGroupPurchase.setCode(tourProjectGroupPurchaseDetail.getGroupPurchaseCode());
|
|
|
if (tourProjectGroupPurchaseService.getCountByFilter(tourProjectGroupPurchase) > 0) {
|
|
|
// NOTE: 可以根据需求修改下面方括号中的提示信息。
|
|
|
return CallResult.error("数据验证失败,[TourProjectGroupPurchase] 存在关联数据!");
|