|
@@ -123,7 +123,7 @@ public class EquipmentReportController {
|
|
|
public CommonResult<List<Map<String,Object>>> queryDefineInfoByObjType(@RequestBody RequestData requestData) {
|
|
|
//基础参数校验
|
|
|
ParamCheckUtil.checkParam(CommonConstant.QUERY_GROUPCODE);
|
|
|
- if (StrUtil.isAllEmpty(AppContext.getContext().getProjectId(),requestData.getObjType())){
|
|
|
+ if (StrUtil.isEmpty(AppContext.getContext().getProjectId()) || CollUtil.isEmpty(requestData.getObjTypes())){
|
|
|
throw new BusinessException(ResponseCode.A0402.getCode(),ResponseCode.A0402.getDesc());
|
|
|
}
|
|
|
// 统计
|