zhangyuewww 8 月之前
父節點
當前提交
ece6f18123

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/InOutWarehouseTaskServiceImpl.java

@@ -134,6 +134,7 @@ public class InOutWarehouseTaskServiceImpl extends ServiceImpl<InOutWarehouseTas
             inOutWarehouseTask.setEstablishDate(new Date());
             //出库插入货源关联数据
             if ("1".equals(inOutWarehouseTask.getInOutFlag())) {
+                inOutWarehouseTask.setWeight(Math.round(inOutWarehouseTask.getWeight() * 100) / 100f);
                 Wrapper<TradeWarehouseReceiptAppl> tradeWarehouseReceiptApplWrapper = new EntityWrapper<>();
                 tradeWarehouseReceiptApplWrapper.eq("comp_id",inOutWarehouseTask.getCompId())
                         .eq("warehouse_name",inOutWarehouseTask.getWarehouseName());