|
@@ -8,6 +8,7 @@ import java.util.Map;
|
|
|
|
|
|
import javax.servlet.http.HttpSession;
|
|
|
|
|
|
+import com.ym.mec.collectfee.service.*;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.dao.DuplicateKeyException;
|
|
@@ -27,10 +28,6 @@ import com.ym.mec.collectfee.entity.MecUserInfo;
|
|
|
import com.ym.mec.collectfee.entity.MusicTeamsPageInfo;
|
|
|
import com.ym.mec.collectfee.entity.School;
|
|
|
import com.ym.mec.collectfee.entity.StudentsQueryInfo;
|
|
|
-import com.ym.mec.collectfee.service.ApplyInfoService;
|
|
|
-import com.ym.mec.collectfee.service.CourseGroupInfoService;
|
|
|
-import com.ym.mec.collectfee.service.OrderService;
|
|
|
-import com.ym.mec.collectfee.service.SchoolService;
|
|
|
import com.ym.mec.collectfee.utils.Constants;
|
|
|
|
|
|
@RestController()
|
|
@@ -46,6 +43,8 @@ public class UserController extends BaseController {
|
|
|
private OrderService orderService;
|
|
|
@Autowired
|
|
|
private CourseGroupInfoService courseGroupInfoService;
|
|
|
+ @Autowired
|
|
|
+ private PayStatisService payStatisService;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -81,6 +80,7 @@ public class UserController extends BaseController {
|
|
|
}
|
|
|
if (userByPhone != null) {
|
|
|
userByPhone.setPushStatus(school.getStatus());
|
|
|
+ payStatisService.addStatis(userByPhone.getId(),school.getBranchId(),clazzId,school.getName(),school.getStatus());
|
|
|
}
|
|
|
}
|
|
|
return succeed(userByPhone);
|