ControllerRequestMappingwarehousingmineraltypepublic class VmMineralTypeController extends BaseController Autowired private IVmMineralTypeService vmMineralTypeService;PostMappinglist Resp
根据提供的代码,可以看出list接口的参数是VmMineralType类型的vmMineralType对象,而不是直接的mTypeId参数。因此,在请求接口时,需要将mTypeId作为vmMineralType对象的属性传递进去才能筛选出符合条件的数据。
可以尝试使用以下方式请求接口:
http://192.168.61.1:9090/warehousing/mineraltype/list?mTypeId=1
其中,mTypeId=1是作为vmMineralType对象的属性传递进去的。如果还是没有筛选出符合条件的数据,可以检查一下selectVmMineralTypeList方法的实现是否正确。
原文地址: https://www.cveoy.top/t/topic/cRVZ 著作权归作者所有。请勿转载和采集!