yonge 4 gadi atpakaļ
vecāks
revīzija
57b80865e6

+ 10 - 0
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/StudentRegistration.java

@@ -110,6 +110,8 @@ public class StudentRegistration {
 
 
     //乐团
     //乐团
     private OwnershipType ownershipType;
     private OwnershipType ownershipType;
+    
+    private Integer chargeTypeId;
 
 
     public BigDecimal getBalance() {
     public BigDecimal getBalance() {
         return balance;
         return balance;
@@ -381,4 +383,12 @@ public class StudentRegistration {
     public void setOwnershipType(OwnershipType ownershipType) {
     public void setOwnershipType(OwnershipType ownershipType) {
         this.ownershipType = ownershipType;
         this.ownershipType = ownershipType;
     }
     }
+
+	public Integer getChargeTypeId() {
+		return chargeTypeId;
+	}
+
+	public void setChargeTypeId(Integer chargeTypeId) {
+		this.chargeTypeId = chargeTypeId;
+	}
 }
 }

+ 1 - 0
mec-student/src/main/java/com/ym/mec/student/controller/MusicGroupController.java

@@ -137,6 +137,7 @@ public class MusicGroupController extends BaseController {
             return failed("乐团在"+musicGroup.getStatus().getMsg()+",不能缴费");
             return failed("乐团在"+musicGroup.getStatus().getMsg()+",不能缴费");
         }
         }
         studentRegistration.setOwnershipType(musicGroup.getOwnershipType());
         studentRegistration.setOwnershipType(musicGroup.getOwnershipType());
+        studentRegistration.setChargeTypeId(musicGroup.getChargeTypeId());
 
 
         return succeed(studentRegistration);
         return succeed(studentRegistration);
     }
     }