Commit 36261640ad4de5eb5c17275a1624a7a1a75af9fe
1 parent
cb604d90
修复生成双伸位的问题
Showing
1 changed file
with
1 additions
and
1 deletions
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/location/service/impl/LocationServiceImpl.java
@@ -312,7 +312,7 @@ public class LocationServiceImpl extends ServiceImpl<LocationMapper, Location> i | @@ -312,7 +312,7 @@ public class LocationServiceImpl extends ServiceImpl<LocationMapper, Location> i | ||
312 | } | 312 | } |
313 | } | 313 | } |
314 | // 计算有多少列 | 314 | // 计算有多少列 |
315 | - int rowSize = lastRow - firstRow; | 315 | + int rowSize = lastRow - firstRow + 1; |
316 | if (rowSize == 4) { | 316 | if (rowSize == 4) { |
317 | for (Location location3 : locationList) { | 317 | for (Location location3 : locationList) { |
318 | for (int i = 0; i < rowSize; i++) { | 318 | for (int i = 0; i < rowSize; i++) { |