|
@@ -434,18 +434,15 @@ public class WebsitGoodsLogic {
|
|
|
throw new RemoteServiceException("第" + (i+1) + "行, 销售单位不能为空");
|
|
|
}
|
|
|
if (Objects.isNull(row.get(5))) {
|
|
|
- throw new RemoteServiceException("第" + (i+1) + "行, 销售单位不能为空");
|
|
|
- }
|
|
|
- if (Objects.isNull(row.get(6))) {
|
|
|
throw new RemoteServiceException("第" + (i+1) + "行, 采购价格不能为空");
|
|
|
}
|
|
|
- if (Objects.isNull(row.get(7))) {
|
|
|
+ if (Objects.isNull(row.get(6))) {
|
|
|
throw new RemoteServiceException("第" + (i+1) + "行, 销售价格不能为空");
|
|
|
}
|
|
|
- if (Objects.isNull(row.get(8))) {
|
|
|
+ if (Objects.isNull(row.get(7))) {
|
|
|
throw new RemoteServiceException("第" + (i+1) + "行, 进价最小值不能为空");
|
|
|
}
|
|
|
- if (Objects.isNull(row.get(9))) {
|
|
|
+ if (Objects.isNull(row.get(8))) {
|
|
|
throw new RemoteServiceException("第" + (i+1) + "行, 进价最大值不能为空");
|
|
|
}
|
|
|
|