|
@@ -55,8 +55,17 @@ public class DegreeController extends BaseController {
|
|
public HttpResponseResult pay(DegreeRegistration degreeRegistration) throws Exception {
|
|
public HttpResponseResult pay(DegreeRegistration degreeRegistration) throws Exception {
|
|
if (degreeRegistration == null ||
|
|
if (degreeRegistration == null ||
|
|
degreeRegistration.getSporadicId() == null ||
|
|
degreeRegistration.getSporadicId() == null ||
|
|
- degreeRegistration.getName() == null) {
|
|
|
|
- throw new BizException("参数校验失败");
|
|
|
|
|
|
+ degreeRegistration.getName() == null ||
|
|
|
|
+ degreeRegistration.getGender() == null ||
|
|
|
|
+ degreeRegistration.getIdcard() == null ||
|
|
|
|
+ degreeRegistration.getCity() == null ||
|
|
|
|
+ degreeRegistration.getSchool() == null ||
|
|
|
|
+ degreeRegistration.getSubject() == null ||
|
|
|
|
+ degreeRegistration.getTheoryLevel() == null ||
|
|
|
|
+ degreeRegistration.getMobile() == null
|
|
|
|
+
|
|
|
|
+ ) {
|
|
|
|
+ throw new BizException("必填参数不能为空");
|
|
}
|
|
}
|
|
|
|
|
|
SporadicChargeInfo info = sporadicChargeInfoDao.get(degreeRegistration.getSporadicId());
|
|
SporadicChargeInfo info = sporadicChargeInfoDao.get(degreeRegistration.getSporadicId());
|