yonge 4 年之前
父节点
当前提交
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 Integer chargeTypeId;
 
     public BigDecimal getBalance() {
         return balance;
@@ -381,4 +383,12 @@ public class StudentRegistration {
     public void setOwnershipType(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()+",不能缴费");
         }
         studentRegistration.setOwnershipType(musicGroup.getOwnershipType());
+        studentRegistration.setChargeTypeId(musicGroup.getChargeTypeId());
 
         return succeed(studentRegistration);
     }