|
|
@@ -230,7 +230,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
Long enUU = SystemSession.getUser().getEnterprise().getUu();
|
|
|
if (!isAPerson) {
|
|
|
//1:比较品牌、型号、自定义标签是否重复,2:比较六要素是否重复
|
|
|
- for(int i = releaseProductByBatchs.size(); i > 0; i--) {
|
|
|
+ for(int i = releaseProductByBatchs.size() - 1; i > -1; i--) {
|
|
|
ReleaseProductByBatch releaseProductByBatch = releaseProductByBatchs.get(i);
|
|
|
for(int j = i - 1; j > 0; j--) {
|
|
|
ReleaseProductByBatch byBatch = releaseProductByBatchs.get(j);
|