【增加发布信息判断】
This commit is contained in:
parent
4e84442313
commit
e6925eea9c
@ -46,6 +46,9 @@ public class PublishedGiService {
|
||||
if (drafting == null) {
|
||||
throw BusinessExceptionAssertEnum.DATA_NOT_EXIST.exception(String.format("草稿[%s]信息不存在", publishedDto.getDraftingId()));
|
||||
}
|
||||
if (drafting.getProto() == null) {
|
||||
throw BusinessExceptionAssertEnum.DATA_NOT_EXIST.exception(String.format("草稿[%s]绘图数据信息为空", publishedDto.getDraftingId()));
|
||||
}
|
||||
// 查询线路信息是否存在
|
||||
LambdaQueryWrapper<LineInfo> lineInfoWrapper = Wrappers.lambdaQuery();
|
||||
lineInfoWrapper.eq(LineInfo::getLineId, publishedDto.getLineId());
|
||||
|
Loading…
Reference in New Issue
Block a user