|
@@ -4,6 +4,7 @@ import cn.hutool.core.util.ObjectUtil;
|
|
|
import com.fjhx.file.entity.FileInfoVo;
|
|
|
import com.fjhx.file.utils.ObsFileUtil;
|
|
|
import com.fjhx.tenant.service.dict.DictTenantDataService;
|
|
|
+import com.fjhx.xmhjc.entity.carousel.po.CarouselManager;
|
|
|
import com.fjhx.xmhjc.entity.product.po.ProductInfo;
|
|
|
import com.fjhx.xmhjc.mapper.product.ProductInfoMapper;
|
|
|
import com.fjhx.xmhjc.service.product.ProductInfoService;
|
|
@@ -146,6 +147,13 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void changeStatus(ProductInfoDto productInfoDto) {
|
|
|
+ lambdaUpdate().set(ProductInfo::getStatus, productInfoDto.getStatus())
|
|
|
+ .eq(ProductInfo::getId, productInfoDto.getId()).update();
|
|
|
+ }
|
|
|
+
|
|
|
private void buildFile(ProductInfoVo result) {
|
|
|
List<Long> businessIdList = new ArrayList<>();
|
|
|
businessIdList.add(result.getId());
|