该店铺已完成试运营

This commit is contained in:
bianyadong
2024-05-11 16:10:57 +08:00
parent 8a7d47e39e
commit 32c8843bc8
6 changed files with 56 additions and 2 deletions

View File

@@ -85,6 +85,8 @@ public class XxlJobHandler {
private EnterpriseUserDAO enterpriseUserDAO;
@Resource
private UserAuthMappingService userAuthMappingService;
@Resource
private OpenAcceptanceInfoDAO openAcceptanceInfoDAO;
/**
* 每天都将待体验门店信息变更到体验中
@@ -416,7 +418,6 @@ public class XxlJobHandler {
StaffExamInfoDTO staffExamInfoDTO = xfsgEhrService.getUserExamInfo(enterpriseUserDO.getJobnumber());
if (staffExamInfoDTO != null && StringUtils.isNotBlank(staffExamInfoDTO.getExamResult())
&& StringUtils.isNotBlank(staffExamInfoDTO.getExamScore())) {
employeeTrainingDO.setTheoreticalExamScore(StringUtils.isNotBlank(staffExamInfoDTO.getExamScore()) ? Integer.valueOf(staffExamInfoDTO.getExamScore()) : null);
employeeTrainingDO.setTheoreticalExamStatus(ExamStatusEnum.matchCodeByDesc(staffExamInfoDTO.getExamResult()));
employeeTrainingDAO.updateByPrimaryKeySelective(employeeTrainingDO);
@@ -426,4 +427,15 @@ public class XxlJobHandler {
XxlJobHelper.handleSuccess();
}
/**
* 店铺新店开业状态更新
*/
@XxlJob("shopOpenAcceptanceStatusUpdate")
public void shopOpenAcceptanceStatusUpdate() {
log.info("------店铺新店开业状态更新------");
int num = openAcceptanceInfoDAO.shopOpenAcceptanceStatusUpdate();
log.info("------店铺新店开业状态更新完成num:{}------", num);
XxlJobHelper.handleSuccess();
}
}