EBOM PBOM SAP报错信息,显示创建日期字段
This commit is contained in:
parent
7db0f7555e
commit
44f3bf96e1
|
|
@ -6,6 +6,7 @@ import org.apache.commons.lang.StringUtils;
|
|||
import org.ttzero.excel.annotation.ExcelColumn;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author 曹鹏飞
|
||||
|
|
@ -18,6 +19,14 @@ public class OperationErrorMsgVO extends OperationErrorMsgBaseVO implements Seri
|
|||
@ExcelColumn("所在行")
|
||||
public String primaryKey;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
@ExcelColumn("创建时间")
|
||||
private LocalDateTime createdTime;
|
||||
|
||||
public OperationErrorMsgVO() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2812,7 +2812,9 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
|
|||
.eq(BomNewSapErrorMsgEntity::getTargetRowId, rowId)
|
||||
.one();
|
||||
if (Objects.isNull(sapErrorMsgEntity)) return Collections.emptyList();
|
||||
return JSON.parseArray(sapErrorMsgEntity.getData(), OperationErrorMsgVO.class);
|
||||
List<OperationErrorMsgVO> resultList = JSON.parseArray(sapErrorMsgEntity.getData(), OperationErrorMsgVO.class);
|
||||
resultList.forEach(result -> result.setCreatedTime(sapErrorMsgEntity.getCreatedTime()));
|
||||
return resultList;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1568,7 +1568,9 @@ public class BomNewPbomParentService extends ServiceImpl<BomNewPbomParentMapper,
|
|||
.eq(BomNewSapErrorMsgEntity::getTargetRowId, rowId)
|
||||
.one();
|
||||
if (Objects.isNull(sapErrorMsgEntity)) return Collections.emptyList();
|
||||
return JSON.parseArray(sapErrorMsgEntity.getData(), OperationErrorMsgVO.class);
|
||||
List<OperationErrorMsgVO> resultList = JSON.parseArray(sapErrorMsgEntity.getData(), OperationErrorMsgVO.class);
|
||||
resultList.forEach(result -> result.setCreatedTime(sapErrorMsgEntity.getCreatedTime()));
|
||||
return resultList;
|
||||
}
|
||||
|
||||
public List<BomNewPbomParentVO> getReverseBoms(Long parentRowId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue