Merge branch 'uat-ctpsp' into 'uat'
异常公告添加公共服务平台字段 See merge request eshop/biz_service_ebtp_project!49
This commit is contained in:
@ -48,4 +48,12 @@ public class AnnoVO implements Serializable {
|
||||
private Integer status;
|
||||
|
||||
|
||||
/**
|
||||
* 是否包含公共服务平台: 0:不包含 1:包含
|
||||
*/
|
||||
@ApiModelProperty(value = "是否包含公共服务平台: 0:不包含 1:包含")
|
||||
private Boolean hasCtpsp;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.chinaunicom.mall.ebtp.project.projectexception.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BasePageRequest;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
@ -45,4 +46,11 @@ public class ProjectExceptionVO extends ProjectException implements Serializable
|
||||
|
||||
@ApiModelProperty(value = "异常信息ID")
|
||||
private String sendMessageId;
|
||||
|
||||
/**
|
||||
* 是否包含公共服务平台: 0:不包含 1:包含
|
||||
*/
|
||||
@ApiModelProperty(value = "是否包含公共服务平台: 0:不包含 1:包含")
|
||||
@TableField(exist = false)
|
||||
private Boolean hasCtpsp;
|
||||
}
|
||||
|
@ -596,6 +596,7 @@ public class ProjectExceptionServiceImpl extends BaseServiceImpl<ProjectExceptio
|
||||
if(null != annoVOList && !annoVOList.isEmpty()){
|
||||
vo.setSendMessageStatus(annoVOList.get(0).getStatus());
|
||||
vo.setSendMessageId(annoVOList.get(0).getId());
|
||||
vo.setHasCtpsp(annoVOList.get(0).getHasCtpsp());
|
||||
}else{
|
||||
vo.setSendMessageStatus(ProjectCommonUtil.SEND_MESSAGE_STATUS_0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user