|
@@ -46,8 +46,11 @@ public class RelationDefineCollectController {
|
|
|
if(criteria == null) {
|
|
|
throw new BusinessException(ResponseCode.A0400.getCode(), ResponseCode.A0400.getDesc());
|
|
|
}
|
|
|
- // deliveryType 字段预留,暂不根据此字段查询
|
|
|
- criteria.getCriteria().remove("deliveryType");
|
|
|
+ if(criteria.getCriteria() != null){
|
|
|
+ // deliveryType 字段预留,暂不根据此字段查询
|
|
|
+ criteria.getCriteria().remove("deliveryType");
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
QueryWrapper<RelationDefineCollect> wrapper = new QueryWrapper<>();
|
|
|
// 转换查询条件
|