jinlin
2024-04-01 652ec7d6dfdee121704961847fae3a3a5be3f5b6
modules/mainPart/src/main/java/com/zt/life/modules/mainPart/sysPictureBase/service/SysPictureBaseService.java
@@ -8,6 +8,8 @@
import org.springframework.stereotype.Service;
import com.zt.common.db.query.QueryFilter;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import java.util.List;
@@ -46,7 +48,11 @@
        baseDao.updateByDefault(id,productType);
    }
    public void updateProdeuctImg(Long id, Integer productType) {
        baseDao.updateProdeuctImg(id,productType);
    public void updateProdeuctImg(Long id, Integer productType,Long pictureBaseId) {
        baseDao.updateProdeuctImg(id,productType,pictureBaseId);
    }
    public SysPictureBase getDefaultImg(Integer productType) {
        return baseDao.getDefaultImg(productType);
    }
}