|
@@ -348,7 +348,7 @@ public class BerthingServiceImpl implements BerthingService {
|
|
|
if (count > 0){
|
|
|
throw new BaseException("起测水位已存在");
|
|
|
}
|
|
|
- BerthingFloatConfig maxPlanidTimeConfig = berthingTimeConfigMapper.queryByMaxPlanid(siteInfo.getSiteId());
|
|
|
+ BerthingTimeConfig maxPlanidTimeConfig = berthingTimeConfigMapper.queryByMaxPlanid(siteInfo.getSiteId());
|
|
|
if (maxPlanidTimeConfig == null) {
|
|
|
berthingTime.setPlanid(1L);
|
|
|
} else {
|