Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/wangxy/hyp-web/commit/4b3cff7fa360cc6eba5ad9a2341e412b63af07d4?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix:参数类型查询权限

dev
wangxy 1 year ago
parent 16e3901490
commit 4b3cff7fa3

@ -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);
}

@ -25,12 +25,6 @@ public class ApplyInfoListSaveDTO implements Serializable {
@NotBlank(message = "申请id不能为空")
private String applyId;
/**
* 0 123退
*/
@NotNull(message = "申请状态不能为空")
private Integer applyStatus;
/**
*
*/

Loading…
Cancel
Save