|
@@ -28,6 +28,7 @@ import com.fs.his.vo.FsStoreProductListSVO;
|
|
|
import com.fs.his.vo.OptionsVO;
|
|
import com.fs.his.vo.OptionsVO;
|
|
|
import com.fs.hisStore.config.MedicalMallConfig;
|
|
import com.fs.hisStore.config.MedicalMallConfig;
|
|
|
import com.fs.hisStore.domain.*;
|
|
import com.fs.hisStore.domain.*;
|
|
|
|
|
+import com.fs.hisStore.enums.CompanyEnum;
|
|
|
import com.fs.hisStore.mapper.*;
|
|
import com.fs.hisStore.mapper.*;
|
|
|
import com.fs.hisStore.utils.StoreAuditLogUtil;
|
|
import com.fs.hisStore.utils.StoreAuditLogUtil;
|
|
|
import com.fs.statis.dto.ModifyMoreDTO;
|
|
import com.fs.statis.dto.ModifyMoreDTO;
|
|
@@ -338,7 +339,7 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
|
|
|
product.setStoreId(param.getStoreId());
|
|
product.setStoreId(param.getStoreId());
|
|
|
product.setIsDrug(param.getIsDrug().toString());
|
|
product.setIsDrug(param.getIsDrug().toString());
|
|
|
//校验店铺资质信息
|
|
//校验店铺资质信息
|
|
|
- if(!("益善缘".equals(cloudHostProper.getCompanyName())) && !("康年堂".equals(cloudHostProper.getCompanyName())) && !("纯正堂".equals(cloudHostProper.getCompanyName()))){
|
|
|
|
|
|
|
+ if (!CompanyEnum.contains(cloudHostProper.getCompanyName())) {
|
|
|
//获取店铺
|
|
//获取店铺
|
|
|
FsStoreScrm store = fsStoreScrmService.selectFsStoreByStoreId(product.getStoreId());
|
|
FsStoreScrm store = fsStoreScrmService.selectFsStoreByStoreId(product.getStoreId());
|
|
|
if(store == null || 1 != store.getStatus()){
|
|
if(store == null || 1 != store.getStatus()){
|
|
@@ -416,7 +417,6 @@ public class FsStoreProductScrmServiceImpl implements IFsStoreProductScrmService
|
|
|
return R.ok();
|
|
return R.ok();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
private void addProductAttr(Long productId, List<ProductArrtDTO> items, List<FsStoreProductAttrValueScrm> values){
|
|
private void addProductAttr(Long productId, List<ProductArrtDTO> items, List<FsStoreProductAttrValueScrm> values){
|
|
|
//清空attr
|
|
//清空attr
|
|
|
fsStoreProductAttrMapper.clear(productId);
|
|
fsStoreProductAttrMapper.clear(productId);
|