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.
2 changed files with
2 additions and
8 deletions
@ -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 : 待 提 交 1 : 待 审 核 , 2 , 评 分 , 3 退 回 )
* /
@NotNull ( message = "申请状态不能为空" )
private Integer applyStatus ;
/ * *
* 是 否 获 得 过 奖
* /