feat(rawstorageinventory): 优化原料库存查询界面并集成检验结果
This commit is contained in:
parent
faf1db51a5
commit
e43547ca14
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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() // 搜索的表单
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user