zouxuan 3 年之前
父节点
当前提交
bceea35383

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentRegistrationServiceImpl.java

@@ -611,7 +611,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
 
         //乐保
         if (registerPayDto.getBuyMaintenance()) {
-            if ("".equals(maintenanceGoodsId)) {
+            if (StringUtils.isEmpty(maintenanceGoodsId)) {
                 throw new BizException("有乐器才能购买乐保,请核查");
             }
             MusicGroupPaymentCalenderRepair calenderRepair = musicGroupPaymentCalenderRepairService.findByCalenderId(studentPaymentOrder.getCalenderId());