fix: 轴校验
This commit is contained in:
@@ -3955,8 +3955,10 @@ public class SlitterServiceImpl implements SlitterService {
|
||||
throw new BadRequestException("两个管芯相加长度超出轴长度,请检查!");
|
||||
}
|
||||
// 判断两边选择尺寸是否一致
|
||||
if (!StrUtil.equals(upLeftQzzSize, upRightQzzSize)) {
|
||||
throw new BadRequestException("同一根轴的管芯尺寸必须一致!");
|
||||
if (ObjectUtil.isNotEmpty(upLeftSizeV) && ObjectUtil.isNotEmpty(upRightSizeV)) {
|
||||
if (!StrUtil.equals(upLeftQzzSize, upRightQzzSize)) {
|
||||
throw new BadRequestException("同一根轴的管芯尺寸必须一致!");
|
||||
}
|
||||
}
|
||||
}
|
||||
// 判断是单管还是双管
|
||||
|
||||
Reference in New Issue
Block a user