sf
jiangping
2025-04-30 dcdb0231034810232f2542f3865666ebf72daf11
server/service/src/main/java/com/doumee/service/business/GoodsService.java
@@ -4,6 +4,8 @@
import com.doumee.core.model.PageData;
import com.doumee.core.model.PageWrap;
import com.doumee.dao.business.model.Goods;
import com.doumee.dao.business.model.dto.BatchDisableDTO;
import com.doumee.dao.business.model.dto.GoodCreatePlatRequest;
import com.doumee.dao.business.model.dto.GoodsRequest;
import org.springframework.web.multipart.MultipartFile;
@@ -25,6 +27,8 @@
     * @return Integer
     */
    Integer create(Goods goods);
    Integer companyCreate(Goods goods);
    /**
     * 主键删除
@@ -54,6 +58,7 @@
     */
    void updateById(Goods goods);
    void companyUpdateById(Goods goods);
    /**
     * 批量主键更新
     *
@@ -62,6 +67,8 @@
    void updateByIdInBatch(List<Goods> goodss);
    void updateDisableById(Goods goods);
    String batchUpdateDisableById(BatchDisableDTO batchDisableDTO);
    /**
     * 主键查询
@@ -104,6 +111,7 @@
    long count(Goods goods);
    Integer importBatch(MultipartFile file);
    Integer importBatchImg(MultipartFile file);
    String h5Image();
@@ -114,4 +122,9 @@
    PageData<Goods> getGoodsPage(PageWrap<GoodsRequest> pageWrap);
    List<Goods> findListForH5(GoodsRequest goodsRequest);
    Integer createPlat(GoodCreatePlatRequest param);
    void openSyncSwitch();
}