feat(rawstorageinventory): 优化原料库存查询界面并集成检验结果

This commit is contained in:
zxy 2026-06-08 15:48:26 +08:00
parent faf1db51a5
commit e43547ca14
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import com.ningxia.yunxi.chemmes.module.biz.controller.admin.rawstorageinventory
import com.ningxia.yunxi.chemmes.module.biz.dal.dataobject.rawstorageinventory.RawStorageInventoryDO; import com.ningxia.yunxi.chemmes.module.biz.dal.dataobject.rawstorageinventory.RawStorageInventoryDO;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.math.BigDecimal;
/** /**
* 原料库存 Mapper * 原料库存 Mapper
* *
@ -29,6 +31,7 @@ public interface RawStorageInventoryMapper extends BaseMapperX<RawStorageInvento
.betweenIfPresent(RawStorageInventoryDO::getCreateTime, reqVO.getCreateTime()) .betweenIfPresent(RawStorageInventoryDO::getCreateTime, reqVO.getCreateTime())
// .betweenIfPresent(RawStorageInventoryDO::getEarStoreDate, reqVO.getEarStoreDate()) // .betweenIfPresent(RawStorageInventoryDO::getEarStoreDate, reqVO.getEarStoreDate())
.eqIfPresent(RawStorageInventoryDO::getInventBillNo, reqVO.getInventBillNo()) .eqIfPresent(RawStorageInventoryDO::getInventBillNo, reqVO.getInventBillNo())
.gt(reqVO.getYardQty() != null && reqVO.getYardQty().compareTo(BigDecimal.ZERO) == 0, RawStorageInventoryDO::getYardQty, 0)
.orderByDesc(RawStorageInventoryDO::getId)); .orderByDesc(RawStorageInventoryDO::getId));
} }

View File

@ -113,6 +113,7 @@ const queryParams = reactive({
storeHouseId: undefined, storeHouseId: undefined,
storeAreaId: undefined, storeAreaId: undefined,
matName: undefined, matName: undefined,
yardQty: "0",
}) })
const queryFormRef = ref() // const queryFormRef = ref() //