feat: controller 代码优化

dev_drug_dm
chenhc 1 month ago
parent 3a0105071a
commit ca450aa4c0

@ -89,8 +89,7 @@ public class UdiRelevanceController extends BaseController {
if (bindingResult.hasErrors()) {
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
}
List<UdiRelevanceResponse> udiRelevanceResponses = null;
udiRelevanceResponses = udiRelevanceDao.pdaDlUdiRel(filterUdiRelRequest);
List<UdiRelevanceResponse> udiRelevanceResponses = udiRelevanceDao.pdaDlUdiRel(filterUdiRelRequest);
PageInfo<UdiRelevanceResponse> pageInfo = new PageInfo<>(udiRelevanceResponses);
PageSimpleResponse<UdiRelevanceResponse> pageSimpleResponse = new PageSimpleResponse<>();

Loading…
Cancel
Save