|
|
@ -30,6 +30,7 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.yxt.anrui.base.api.basevehicle.AppScmInventoryRecordsVo; |
|
|
|
import com.yxt.anrui.base.api.basevehicle.BaseVehicleFeign; |
|
|
|
import com.yxt.anrui.base.common.enums.VehicleState; |
|
|
|
import com.yxt.anrui.portal.api.sysorganization.SysOrganizationFeign; |
|
|
|
import com.yxt.anrui.portal.api.sysstafforg.SysStaffOrgFeign; |
|
|
|
import com.yxt.anrui.scm.api.scmvehicleexamine.AppScmVehicleExamineInfoVo; |
|
|
@ -94,7 +95,7 @@ public class ScmVehicleStayInventoryService extends MybatisBaseService<ScmVehicl |
|
|
|
if (StringUtils.isNotBlank(query.getLocationSid())) { |
|
|
|
qw.eq("svsi.locationSid", query.getLocationSid()); |
|
|
|
} |
|
|
|
qw.eq("bv.vehicleState", "0001").or().eq("bv.vehicleState", "0003"); |
|
|
|
qw.and(wrapper -> wrapper.eq("bv.vehicleState", "0001").or().eq("bv.vehicleState", "0003")); |
|
|
|
IPage<ScmVehicleStayInventory> page = PagerUtil.queryToPage(pq); |
|
|
|
IPage<ScmVehicleStayInventoryVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
|
PagerVo<ScmVehicleStayInventoryVo> p = PagerUtil.pageToVo(pagging, null); |
|
|
|