|
@@ -15,6 +15,7 @@ import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.exception.CustomException;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.fs.company.cache.ICompanyCacheService;
|
|
|
+import com.fs.statis.dto.ModifyMoreDTO;
|
|
|
import com.fs.store.domain.*;
|
|
|
import com.fs.store.dto.ProductArrtDTO;
|
|
|
import com.fs.store.dto.ProductAttrCountDto;
|
|
@@ -135,9 +136,10 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService
|
|
|
@Override
|
|
|
public List<FsStoreProductListVO> selectFsStoreProductListVO(FsStoreProduct fsStoreProduct) {
|
|
|
List<FsStoreProductListVO> fsStoreProductListVOS = fsStoreProductMapper.selectFsStoreProductListVO(fsStoreProduct);
|
|
|
- List<String> companyNameList = new ArrayList<>();
|
|
|
+
|
|
|
for (FsStoreProductListVO item : fsStoreProductListVOS) {
|
|
|
if(StringUtils.isNotBlank(item.getCompanyIds())){
|
|
|
+ List<String> companyNameList = new ArrayList<>();
|
|
|
String[] split = item.getCompanyIds().split(",");
|
|
|
|
|
|
for (String companyId : split) {
|
|
@@ -153,9 +155,10 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService
|
|
|
@Override
|
|
|
public List<FsStoreProductListVO> selectFsStoreProductBarCodeListVO(FsStoreProduct fsStoreProduct) {
|
|
|
List<FsStoreProductListVO> fsStoreProductListVOS = fsStoreProductMapper.selectFsStoreProductBarCodeListVO(fsStoreProduct);
|
|
|
- List<String> companyNameList = new ArrayList<>();
|
|
|
+
|
|
|
for (FsStoreProductListVO item : fsStoreProductListVOS) {
|
|
|
if(StringUtils.isNotBlank(item.getCompanyIds())){
|
|
|
+ List<String> companyNameList = new ArrayList<>();
|
|
|
String[] split = item.getCompanyIds().split(",");
|
|
|
|
|
|
for (String companyId : split) {
|
|
@@ -757,4 +760,9 @@ public class FsStoreProductServiceImpl implements IFsStoreProductService
|
|
|
}
|
|
|
return successMsg.toString();
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void batchModify(ModifyMoreDTO modifyMoreDTO) {
|
|
|
+ fsStoreProductMapper.batchModify(modifyMoreDTO);
|
|
|
+ }
|
|
|
}
|