| | |
| | | import com.gkhy.exam.pay.mapper.NonCoalPayStudentMapper; |
| | | import com.gkhy.exam.pay.service.NonCoalPayStudentService; |
| | | import com.ruoyi.common.exception.ServiceException; |
| | | import com.ruoyi.common.utils.RandomUtil; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | checkSameData(nonCoalPayStudent); |
| | | NonCoalPay nonCoalPay = checkNonCoalPay(nonCoalPayStudent.getNonCoalPayId()); |
| | | nonCoalPayStudent.setPayType(nonCoalPay.getPayPersonType().longValue()); |
| | | nonCoalPayStudent.setOrderNo(RandomUtil.generateOrderNumber()); |
| | | // nonCoalPayStudent.setOrderNo(RandomUtil.generateOrderNumber()); |
| | | nonCoalPayStudent.setGovPayStatus(0L); |
| | | nonCoalPayStudent.setCreateBy(SecurityUtils.getUsername()); |
| | | return nonCoalPayStudentMapper.insertNonCoalPayStudent(nonCoalPayStudent); |
| | |
| | | stu1.setIdCard(stu.getIdCard()); |
| | | stu1.setPhone(stu.getPhone()); |
| | | stu1.setGovPayStatus(0L); |
| | | stu1.setOrderNo(RandomUtil.generateOrderNumber()); |
| | | // stu1.setOrderNo(RandomUtil.generateOrderNumber()); |
| | | stu1.setSex(StudentSex.BOY.getStatus().equals(stu.getSex().trim()) ? 0L : 1L); |
| | | nonCoalPayStudentMapper.insertNonCoalPayStudent(stu1); |
| | | successNum++; |