修复bug,优化体验
This commit is contained in:
parent
6aaa23b63e
commit
8e3fb3e3f5
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>icu.mmmc</groupId>
|
||||
<artifactId>InventoryProMax</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<version>1.0.0-Release</version>
|
||||
<name>InventoryProMax</name>
|
||||
<description>仓储管理ProMax</description>
|
||||
|
||||
|
@ -104,9 +104,9 @@ public class InventoryService {
|
||||
Integer quantity = inventoryMapper.getStoreQuantity(invId, item.getProId());
|
||||
if (quantity == null) {
|
||||
quantity = 0;
|
||||
if (!Objects.equals(item.getStatus(), ProductStatus.TAKE_DOWN)) {
|
||||
item.setStatus(1);
|
||||
}
|
||||
}
|
||||
if (!Objects.equals(item.getStatus(), ProductStatus.TAKE_DOWN) && quantity == 0) {
|
||||
item.setStatus(1);
|
||||
}
|
||||
item.setQuantity(quantity);
|
||||
item.setInvId(invId);
|
||||
|
@ -147,6 +147,7 @@
|
||||
OR sender LIKE #{searchStr}
|
||||
OR sender_phone LIKE #{searchStr}
|
||||
OR remarks LIKE #{searchStr}
|
||||
ORDER BY id DESC
|
||||
</select>
|
||||
|
||||
<!-- 查询入库记录清单物品 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user