Commit 63dd6d31 by yubin

导入修改

parent ff9d771e
...@@ -683,6 +683,7 @@ export default { ...@@ -683,6 +683,7 @@ export default {
this.getList() this.getList()
}) })
this.handleShip = this.debounce(this.handleShip, 500) this.handleShip = this.debounce(this.handleShip, 500)
}, },
methods: { methods: {
debounce(fn, delay = 300) { debounce(fn, delay = 300) {
......
...@@ -719,4 +719,5 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils ...@@ -719,4 +719,5 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
} }
return sb.toString(); return sb.toString();
} }
} }
\ No newline at end of file
...@@ -117,5 +117,7 @@ public class OutboundOrderItems extends BaseEntity ...@@ -117,5 +117,7 @@ public class OutboundOrderItems extends BaseEntity
@Excel(name = "排序号") @Excel(name = "排序号")
private String updateUserCode; private String updateUserCode;
private String InventoryType;
} }
\ No newline at end of file
...@@ -116,4 +116,6 @@ public interface InventoryMapper ...@@ -116,4 +116,6 @@ public interface InventoryMapper
public List<java.util.Map<String, String>> selectInventoryTopTenByAmount(); public List<java.util.Map<String, String>> selectInventoryTopTenByAmount();
public List<java.util.Map<String, String>> selectInventoryTopTenByQuantity(); public List<java.util.Map<String, String>> selectInventoryTopTenByQuantity();
public void batchUpdateInventory(List<Inventory> inventoryList);
} }
...@@ -344,4 +344,15 @@ ...@@ -344,4 +344,15 @@
select count(*) from outbound_orders where is_used = 1 and order_status=2 and inbound_date &gt;= DATE_FORMAT(CURDATE(), '%Y-%m-01') select count(*) from outbound_orders where is_used = 1 and order_status=2 and inbound_date &gt;= DATE_FORMAT(CURDATE(), '%Y-%m-01')
and inbound_date &lt; DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 1 MONTH), '%Y-%m-01') and inbound_date &lt; DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 1 MONTH), '%Y-%m-01')
</select> </select>
<update id="batchUpdateInventory">
<foreach collection="list" item="item" separator=";">
UPDATE inventory
SET quantity = #{item.quantity},
inventory_status = #{item.inventoryStatus},
update_by = #{item.updateBy},
update_time = #{item.updateTime}
WHERE id = #{item.id}
</foreach>
</update>
</mapper> </mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论