0512
This commit is contained in:
parent
faa12a4329
commit
0111bb8b01
@ -416,7 +416,7 @@ public class ProcessServiceImpl extends ServiceImpl<ProcessMapper, Process> impl
|
|||||||
// .set(process.getUserName() != null, Process::getUserName, process.getUserName())
|
// .set(process.getUserName() != null, Process::getUserName, process.getUserName())
|
||||||
.set(process.getExamStatus() != null, Process::getExamStatus, process.getExamStatus())
|
.set(process.getExamStatus() != null, Process::getExamStatus, process.getExamStatus())
|
||||||
.set(process.getExamScore() != null, Process::getExamScore, process.getExamScore())
|
.set(process.getExamScore() != null, Process::getExamScore, process.getExamScore())
|
||||||
|
.set(Process::getExamNum, process.getExamNum() + 1)
|
||||||
.set(process.getRemark() != null, Process::getRemark, process.getRemark())
|
.set(process.getRemark() != null, Process::getRemark, process.getRemark())
|
||||||
.set(process.getExamTime() != null, Process::getExamTime, process.getExamTime())
|
.set(process.getExamTime() != null, Process::getExamTime, process.getExamTime())
|
||||||
.set(process.getImages() != null, Process::getImages, process.getImages()));
|
.set(process.getImages() != null, Process::getImages, process.getImages()));
|
||||||
@ -564,7 +564,8 @@ public class ProcessServiceImpl extends ServiceImpl<ProcessMapper, Process> impl
|
|||||||
public void autoAssignCoach(ProcessNewVO request){
|
public void autoAssignCoach(ProcessNewVO request){
|
||||||
Long userId = SecurityFrameworkUtils.getLoginUserId();
|
Long userId = SecurityFrameworkUtils.getLoginUserId();
|
||||||
AdminUserRespDTO user = userApi.getUser(userId);
|
AdminUserRespDTO user = userApi.getUser(userId);
|
||||||
String userName = user.getNickname();
|
// String userName = user.getNickname();
|
||||||
|
String userName= request.getUserName();
|
||||||
String mobile = user.getMobile();
|
String mobile = user.getMobile();
|
||||||
|
|
||||||
DlDriveSchoolCourseVO dlDriveSchoolCourseVO = courseService.queryDetailById(request.getCourseId());
|
DlDriveSchoolCourseVO dlDriveSchoolCourseVO = courseService.queryDetailById(request.getCourseId());
|
||||||
|
|||||||
@ -28,6 +28,11 @@ public class ProcessNewVO {
|
|||||||
*/
|
*/
|
||||||
private Long userId;
|
private Long userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 学员名称
|
||||||
|
*/
|
||||||
|
private String userName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 教练ID
|
* 教练ID
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -306,7 +306,7 @@ public class ExamBatchItemServiceImpl extends ServiceImpl<ExamBatchItemMapper, E
|
|||||||
process.setExamTime(examBatch.getStartTime());
|
process.setExamTime(examBatch.getStartTime());
|
||||||
process.setRemark(examBatchVO.getRemark());
|
process.setRemark(examBatchVO.getRemark());
|
||||||
//已完成
|
//已完成
|
||||||
|
process.setExamNum(process.getExamNum() + 1);
|
||||||
process.setExamStatus(examBatchVO.getIfPass() ? "1" : "0");
|
process.setExamStatus(examBatchVO.getIfPass() ? "1" : "0");
|
||||||
|
|
||||||
processService.updateById(process);
|
processService.updateById(process);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user