|
@@ -63,8 +63,8 @@ public class BilletSendRecordServiceImpl extends ServiceImpl<BilletSendRecordMap
|
|
|
@Override
|
|
|
public BilletQueryVO getBilletQueryVO(BilletQueryDTO queryDTO) {
|
|
|
// 参数校验
|
|
|
- if (oConvertUtils.isEmpty(queryDTO.getHeatNo()) && oConvertUtils.isEmpty(queryDTO.getStrandNo())) {
|
|
|
- throw new IllegalArgumentException("参数异常:炉号和流号不能同时为空!");
|
|
|
+ if (oConvertUtils.isEmpty(queryDTO.getHeatNo()) || oConvertUtils.isEmpty(queryDTO.getStrandNo())) {
|
|
|
+ throw new IllegalArgumentException("参数异常:炉号和流号不能为空!");
|
|
|
}
|
|
|
|
|
|
// 默认表名处理
|