培训返回值

This commit is contained in:
bianyadong
2024-05-09 16:16:45 +08:00
parent 31fca6ad8c
commit d80d1e4b3c
7 changed files with 58 additions and 8 deletions

View File

@@ -265,7 +265,10 @@ public class EmployeeTrainingServiceImpl implements EmployeeTrainingService {
list.forEach(item -> {
item.setTrainingStoreName(storeNameMap.get(item.getTrainingStoreId()));
item.setRegionNodeName(regionNameMap.get(item.getRegionId()));
if(item.getAssessmentStatus() == null){
//培训未开始
item.setAssessmentStatus(-1);
}
});
return list;
}

View File

@@ -116,7 +116,7 @@ public class TempUserDetailServiceImpl implements TempUserDetailService {
tempUserDetailDO.setIdCardNegativeUrl(tempUserDetailRequest.getEmblemPhoto());
tempUserDetailDO.setIdCardPositiveUrl(tempUserDetailRequest.getIdNumPhoto());
tempUserDetailDO.setHealthCertificateUrl(tempUserDetailRequest.getHealthCertificate());
tempUserDetailDO.setRegisterTime(new Date());
tempUserDetailDO.setRegisterTime(tempUserDetailRequest.getRegisterTime());
tempUserDetailDO.setSubmitTime(new Date());
tempUserDetailDO.setSource("create");
tempUserDetailDAO.insertSelective(tempUserDetailDO);

View File

@@ -159,7 +159,7 @@ public class VodServiceImpl implements VodService {
smallVideoDTO.setVideoUrlBefore(smallVideoDTO.getVideoUrlBefore().replace("http://", "https://"));
}
SmallVideoParam smallVideoParam = JSONObject.parseObject(notCompleteCache, SmallVideoParam.class);
if (UploadTypeEnum.TB_DATA_STA_TABLE_COLUMN.getValue().equals(smallVideoParam.getUploadType())) {
if (UploadTypeEnum.ASSESSMENT_DATA_CONTENT.getValue().equals(smallVideoParam.getUploadType())) {
//检查项提交
dealVideo(smallVideoDTO, smallVideoParam);
//保存完删除缓存