|
|
|
@ -86,7 +86,7 @@ public class ApplyInfoListManager {
|
|
|
|
|
if(StringUtils.isNotBlank(name)){
|
|
|
|
|
applyInfoList.setApplyName(name);
|
|
|
|
|
}
|
|
|
|
|
applyInfoList.setApplyStatus(0);
|
|
|
|
|
applyInfoList.setApplyStatus(ApplyStatusEnum.SAVE.getType());
|
|
|
|
|
applyInfoList.setCreateId(loginUser.getUserId());
|
|
|
|
|
applyInfoList.setCreateBy(loginUser.getUsername());
|
|
|
|
|
applyInfoList.setUpdateTime(new Date());
|
|
|
|
@ -105,10 +105,10 @@ public class ApplyInfoListManager {
|
|
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
|
|
RewApplyInfoList applyInfoList = applyInfoListService.getById(applyInfoListSaveDTO.getApplyId());
|
|
|
|
|
if(Objects.nonNull(applyInfoList)){
|
|
|
|
|
applyInfoList.setApplyStatus(applyInfoListSaveDTO.getApplyStatus());
|
|
|
|
|
applyInfoList.setAppTime(new Date());
|
|
|
|
|
applyInfoList.setCreateBy(loginUser.getUsername());
|
|
|
|
|
applyInfoList.setIsReward(applyInfoListSaveDTO.getIsReward());
|
|
|
|
|
applyInfoList.setApplyStatus(ApplyStatusEnum.SUBMIT.getType());
|
|
|
|
|
}
|
|
|
|
|
return applyInfoListService.saveOrUpdate(applyInfoList);
|
|
|
|
|
}
|
|
|
|
|