|
@@ -19,6 +19,7 @@ import com.ym.mec.auth.api.client.SysUserFeignService;
|
|
import com.ym.mec.auth.api.entity.SysUser;
|
|
import com.ym.mec.auth.api.entity.SysUser;
|
|
import com.ym.mec.biz.dal.dto.StudentInfo;
|
|
import com.ym.mec.biz.dal.dto.StudentInfo;
|
|
import com.ym.mec.biz.dal.entity.Goods;
|
|
import com.ym.mec.biz.dal.entity.Goods;
|
|
|
|
+import com.ym.mec.biz.dal.entity.Subject;
|
|
import com.ym.mec.biz.dal.entity.SysUserContracts;
|
|
import com.ym.mec.biz.dal.entity.SysUserContracts;
|
|
import com.ym.mec.biz.dal.entity.SysUserContracts.ContractType;
|
|
import com.ym.mec.biz.dal.entity.SysUserContracts.ContractType;
|
|
import com.ym.mec.biz.dal.entity.SysUserTsign;
|
|
import com.ym.mec.biz.dal.entity.SysUserTsign;
|
|
@@ -26,6 +27,7 @@ import com.ym.mec.biz.dal.enums.OrderDetailTypeEnum;
|
|
import com.ym.mec.biz.service.ContractService;
|
|
import com.ym.mec.biz.service.ContractService;
|
|
import com.ym.mec.biz.service.StudentPaymentOrderService;
|
|
import com.ym.mec.biz.service.StudentPaymentOrderService;
|
|
import com.ym.mec.biz.service.StudentRegistrationService;
|
|
import com.ym.mec.biz.service.StudentRegistrationService;
|
|
|
|
+import com.ym.mec.biz.service.SubjectService;
|
|
import com.ym.mec.biz.service.SysUserContractsService;
|
|
import com.ym.mec.biz.service.SysUserContractsService;
|
|
import com.ym.mec.biz.service.SysUserTsignService;
|
|
import com.ym.mec.biz.service.SysUserTsignService;
|
|
import com.ym.mec.common.exception.BizException;
|
|
import com.ym.mec.common.exception.BizException;
|
|
@@ -51,6 +53,9 @@ public class ContractServiceImpl implements ContractService {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private StudentPaymentOrderService studentPaymentOrderService;
|
|
private StudentPaymentOrderService studentPaymentOrderService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private SubjectService subjectService;
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private ESealPlugin eSealPlugin;
|
|
private ESealPlugin eSealPlugin;
|
|
@@ -280,6 +285,10 @@ public class ContractServiceImpl implements ContractService {
|
|
|
|
|
|
//查询参数信息
|
|
//查询参数信息
|
|
StudentInfo studentInfo = studentRegistrationService.queryStudentInfo(userId);
|
|
StudentInfo studentInfo = studentRegistrationService.queryStudentInfo(userId);
|
|
|
|
+
|
|
|
|
+ Subject subject = subjectService.get(studentInfo.getSubject().getId());
|
|
|
|
+ studentInfo.setSubject(subject);
|
|
|
|
+
|
|
params.put("studentInfo", studentInfo);
|
|
params.put("studentInfo", studentInfo);
|
|
|
|
|
|
List<Goods> goodsList = studentPaymentOrderService.queryApplyGoodsList(musicGroupId, OrderDetailTypeEnum.MUSICAL);
|
|
List<Goods> goodsList = studentPaymentOrderService.queryApplyGoodsList(musicGroupId, OrderDetailTypeEnum.MUSICAL);
|