Compare commits
No commits in common. "dc4e3f04f1ca13367a8824facf9f03d7979c431f" and "f3306d713e1fb2458367387df92293292b21bd73" have entirely different histories.
dc4e3f04f1
...
f3306d713e
|
|
@ -47,11 +47,6 @@ public class PlanSearchItemVO {
|
|||
@NotNull(message = "区域不能为空")
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 区域名称
|
||||
*/
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 是否默认
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
package com.nflg.mobilebroken.quotation.controller;
|
||||
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.nflg.mobilebroken.common.pojo.ApiResult;
|
||||
|
|
@ -9,7 +8,6 @@ import com.nflg.mobilebroken.common.util.VUtils;
|
|||
import com.nflg.mobilebroken.repository.entity.*;
|
||||
import com.nflg.mobilebroken.repository.service.*;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
|
@ -50,18 +48,6 @@ public class TestController extends ControllerBase {
|
|||
@Resource
|
||||
private ITBaseCustomerService customerService;
|
||||
|
||||
@Resource
|
||||
private IProductModelParamsItemService productModelParamsItemService;
|
||||
|
||||
@Resource
|
||||
private IProductModelParamsDataService productModelParamsDataService;
|
||||
|
||||
@Resource
|
||||
private IProductModelParamsDataLanguageService productModelParamsDataLanguageService;
|
||||
|
||||
@Resource
|
||||
private ILanguageService languageService;
|
||||
|
||||
/**
|
||||
* 初始化机型表的BatchNumber字段数据
|
||||
*/
|
||||
|
|
@ -197,102 +183,4 @@ public class TestController extends ControllerBase {
|
|||
}
|
||||
return ApiResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 将产品中心机型参数迁移到新表中
|
||||
*/
|
||||
@Transactional
|
||||
@GetMapping("migrationProductModelParamsItems")
|
||||
public ApiResult<Void> migrationProductModelParamsItems() {
|
||||
List<Language> languages = languageService.list();
|
||||
List<ProductModelParamsItem> items = productModelParamsItemService.list();
|
||||
List<ProductModelParamsData> datas = new ArrayList<>();
|
||||
List<ProductModelParamsDataLanguage> dataLanguages = new ArrayList<>();
|
||||
Map<String, List<ProductModelParamsItem>> itemMap = items.stream().collect(Collectors.groupingBy(ProductModelParamsItem::getBatchNumber));
|
||||
itemMap.forEach((batchNumber, its) -> {
|
||||
ProductModelParamsItem cnItem = its.stream()
|
||||
.filter(it -> StrUtil.equals(it.getLanguageCode(), "cn"))
|
||||
.findFirst()
|
||||
.get();
|
||||
ProductModelParamsData pData = datas.stream()
|
||||
.filter(d -> Objects.equals(d.getParamsId(), Long.valueOf(cnItem.getModelParamsId()))
|
||||
&& Objects.equals(d.getParentId(), 0L) && StrUtil.equals(d.getName(), cnItem.getIndexName())
|
||||
)
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(pData)) {
|
||||
pData = Convert.convert(ProductModelParamsData.class, cnItem);
|
||||
pData.setId(IdUtil.getSnowflakeNextId());
|
||||
pData.setParamsId(Long.valueOf(cnItem.getModelParamsId()));
|
||||
pData.setParentId(0L);
|
||||
pData.setName(cnItem.getIndexName());
|
||||
pData.setType(1);
|
||||
pData.setValue(null);
|
||||
datas.add(pData);
|
||||
}
|
||||
ProductModelParamsData finalPData = pData;
|
||||
ProductModelParamsData cData=datas.stream()
|
||||
.filter(d -> Objects.equals(d.getParamsId(), finalPData.getParamsId())
|
||||
&& Objects.equals(d.getParentId(), finalPData.getId())
|
||||
&& StrUtil.equals(d.getName(), cnItem.getName())
|
||||
)
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(cData)){
|
||||
cData = Convert.convert(ProductModelParamsData.class, cnItem);
|
||||
cData.setId(IdUtil.getSnowflakeNextId());
|
||||
cData.setParamsId(pData.getParamsId());
|
||||
cData.setParentId(pData.getId());
|
||||
cData.setType(1);
|
||||
cData.setValue(null);
|
||||
datas.add(cData);
|
||||
}
|
||||
ProductModelParamsData finalCData = cData;
|
||||
its.stream()
|
||||
.sorted(Comparator.comparing(ProductModelParamsItem::getId))
|
||||
.forEach(it -> {
|
||||
Language language = languages.stream()
|
||||
.filter(l -> StrUtil.equals(l.getCode(), it.getLanguageCode()))
|
||||
.findFirst()
|
||||
.get();
|
||||
ProductModelParamsDataLanguage pDataLanguage = dataLanguages.stream()
|
||||
.filter(d -> Objects.equals(d.getParamsId(), finalPData.getParamsId())
|
||||
&& Objects.equals(d.getParamsDataId(), finalPData.getId())
|
||||
&& Objects.equals(d.getName(), it.getIndexName())
|
||||
&& Objects.equals(d.getLanguageId(), language.getId()
|
||||
))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(pDataLanguage)){
|
||||
pDataLanguage = Convert.convert(ProductModelParamsDataLanguage.class, it);
|
||||
pDataLanguage.setId(IdUtil.getSnowflakeNextId());
|
||||
pDataLanguage.setParamsId(finalPData.getParamsId());
|
||||
pDataLanguage.setParamsDataId(finalPData.getId());
|
||||
pDataLanguage.setName(it.getIndexName());
|
||||
pDataLanguage.setLanguageId(language.getId());
|
||||
pDataLanguage.setValue(null);
|
||||
dataLanguages.add(pDataLanguage);
|
||||
}
|
||||
ProductModelParamsDataLanguage cDataLanguage = dataLanguages.stream()
|
||||
.filter(d -> Objects.equals(d.getParamsId(), finalCData.getParamsId())
|
||||
&& Objects.equals(d.getParamsDataId(), finalCData.getId())
|
||||
&& Objects.equals(d.getName(), it.getName())
|
||||
&& Objects.equals(d.getLanguageId(), language.getId()
|
||||
))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(cDataLanguage)) {
|
||||
cDataLanguage = Convert.convert(ProductModelParamsDataLanguage.class, it);
|
||||
cDataLanguage.setId(IdUtil.getSnowflakeNextId());
|
||||
cDataLanguage.setParamsId(finalCData.getParamsId());
|
||||
cDataLanguage.setParamsDataId(finalCData.getId());
|
||||
cDataLanguage.setLanguageId(language.getId());
|
||||
dataLanguages.add(cDataLanguage);
|
||||
}
|
||||
});
|
||||
});
|
||||
productModelParamsDataService.saveBatch(datas);
|
||||
productModelParamsDataLanguageService.saveBatch(dataLanguages);
|
||||
return ApiResult.success();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
|
||||
import javax.annotation.Resource;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.constraints.Min;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
|
|
@ -71,71 +72,45 @@ public class PlanController extends ControllerBase {
|
|||
*/
|
||||
@GetMapping("/getDefaultRatio")
|
||||
public ApiResult<List<DefaultRatioVO>> getDefaultRatio() {
|
||||
List<QuotationUserPlanDefault> datas = planDefaultService.lambdaQuery()
|
||||
return ApiResult.success(
|
||||
planDefaultService.lambdaQuery()
|
||||
.eq(QuotationUserPlanDefault::getCreateByType, AppUserUtil.isAgent() ? 1 : 0)
|
||||
.eq(QuotationUserPlanDefault::getCreateById, AppUserUtil.getUserId())
|
||||
.list();
|
||||
if (isMultiRegionQuotationsUser()) {
|
||||
List<Long> categoryIds = dictionaryItemService.getListByDictionaryCode("DirectSalesCategory")
|
||||
.list()
|
||||
.stream()
|
||||
.map(DictionaryItem::getId)
|
||||
.collect(Collectors.toList());
|
||||
return ApiResult.success(
|
||||
categoryIds.stream()
|
||||
.map(categoryId -> {
|
||||
QuotationUserPlanDefault d = datas.stream()
|
||||
.filter(pd -> Objects.equals(pd.getAreaId(), categoryId))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(d)) {
|
||||
return new DefaultRatioVO()
|
||||
.setAreaId(categoryId);
|
||||
} else {
|
||||
return new DefaultRatioVO()
|
||||
.setRatio(d.getRatio());
|
||||
}
|
||||
})
|
||||
.map(pd -> new DefaultRatioVO()
|
||||
.setAreaId(pd.getAreaId())
|
||||
.setRatio(pd.getRatio())
|
||||
)
|
||||
.collect(Collectors.toList())
|
||||
);
|
||||
} else {
|
||||
DictionaryItem category = getCategory();
|
||||
QuotationUserPlanDefault d = datas.stream()
|
||||
.filter(pd -> Objects.equals(pd.getAreaId(), category.getId()))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
if (Objects.isNull(d)) {
|
||||
return ApiResult.success(
|
||||
List.of(new DefaultRatioVO().setAreaId(category.getId()))
|
||||
);
|
||||
} else {
|
||||
return ApiResult.success(
|
||||
List.of(new DefaultRatioVO().setRatio(d.getRatio()))
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置方案默认系数
|
||||
*/
|
||||
@Transactional
|
||||
@PostMapping("/setDefaultRatio")
|
||||
public ApiResult<Void> setDefaultRatio(@Valid @RequestBody @NotEmpty List<DefaultRatioVO> request) {
|
||||
planDefaultService.lambdaUpdate()
|
||||
public ApiResult<Void> setDefaultRatio(@RequestParam @Min(1) BigDecimal ratio) {
|
||||
QuotationUserPlanDefault planDefault = planDefaultService.lambdaQuery()
|
||||
.eq(QuotationUserPlanDefault::getCreateByType, AppUserUtil.isAgent() ? 1 : 0)
|
||||
.eq(QuotationUserPlanDefault::getCreateById, AppUserUtil.getUserId())
|
||||
.remove();
|
||||
planDefaultService.saveBatch(
|
||||
request.stream()
|
||||
.map(r -> new QuotationUserPlanDefault()
|
||||
.setRatio(r.getRatio())
|
||||
.setAreaId(r.getAreaId())
|
||||
.one();
|
||||
if (Objects.isNull(planDefault)) {
|
||||
planDefaultService.save(
|
||||
new QuotationUserPlanDefault()
|
||||
.setRatio(ratio)
|
||||
.setCreateByType(AppUserUtil.isAgent() ? 1 : 0)
|
||||
.setCreateById(AppUserUtil.getUserId())
|
||||
.setCreateBy(AppUserUtil.getUserName())
|
||||
.setCreateTime(LocalDateTime.now())
|
||||
).collect(Collectors.toList())
|
||||
);
|
||||
} else {
|
||||
planDefaultService.lambdaUpdate()
|
||||
.set(QuotationUserPlanDefault::getRatio, ratio)
|
||||
.set(QuotationUserPlanDefault::getUpdateTime, LocalDateTime.now())
|
||||
.eq(QuotationUserPlanDefault::getId, planDefault.getId())
|
||||
.update();
|
||||
}
|
||||
return ApiResult.success();
|
||||
}
|
||||
|
||||
|
|
@ -160,22 +135,25 @@ public class PlanController extends ControllerBase {
|
|||
pageData.setItems(datas);
|
||||
vo.setDatas(pageData);
|
||||
boolean multiRegionQuotations = isMultiRegionQuotationsUser();
|
||||
List<DictionaryItem> categories = new ArrayList<>();
|
||||
List<Long> categoryIds = new ArrayList<>();
|
||||
if (multiRegionQuotations) {
|
||||
categories = dictionaryItemService.getListByDictionaryCode("DirectSalesCategory");
|
||||
categoryIds = dictionaryItemService.getListByDictionaryCode("DirectSalesCategory")
|
||||
.stream()
|
||||
.map(DictionaryItem::getId)
|
||||
.collect(Collectors.toList());
|
||||
} else {
|
||||
categories.add(getCategory());
|
||||
categoryIds.add(getCategoryId());
|
||||
}
|
||||
List<ModelPriceVO> prices = priceService.getAllModelPrice();
|
||||
Map<Long, List<PlanSearchItemVO>> fgroup = items.stream().collect(Collectors.groupingBy(PlanSearchItemVO::getModelId));
|
||||
pageData.setTotal(fgroup.size());
|
||||
for (Map.Entry<Long, List<PlanSearchItemVO>> entry : fgroup.entrySet()) {
|
||||
if (index >= startIndex && index < endIndex) {
|
||||
categories.forEach(category -> {
|
||||
BigDecimal salePrice = getSalePrice(entry.getKey(), category.getId(), prices);
|
||||
categoryIds.forEach(categoryId -> {
|
||||
BigDecimal salePrice = getSalePrice(entry.getKey(), categoryId, prices);
|
||||
List<PlanSearchItemVO> vos = entry.getValue()
|
||||
.stream()
|
||||
.filter(pv -> Objects.equals(pv.getAreaId(), category.getId()))
|
||||
.filter(pv -> Objects.equals(pv.getAreaId(), categoryId))
|
||||
.collect(Collectors.toList());
|
||||
if (CollectionUtil.isEmpty(vos)) {
|
||||
entry.getValue().forEach(item -> {
|
||||
|
|
@ -186,8 +164,7 @@ public class PlanController extends ControllerBase {
|
|||
.setModelNo(item.getModelNo())
|
||||
.setName(item.getName())
|
||||
.setRatio(item.getRatio())
|
||||
.setAreaId(category.getId())
|
||||
.setAreaName(category.getName())
|
||||
.setAreaId(categoryId)
|
||||
.setStandardPrice(salePrice)
|
||||
);
|
||||
});
|
||||
|
|
@ -201,8 +178,7 @@ public class PlanController extends ControllerBase {
|
|||
.setModelNo(item.getModelNo())
|
||||
.setName(item.getName())
|
||||
.setRatio(item.getRatio())
|
||||
.setAreaId(category.getId())
|
||||
.setAreaName(category.getName())
|
||||
.setAreaId(categoryId)
|
||||
.setStandardPrice(salePrice)
|
||||
);
|
||||
});
|
||||
|
|
@ -213,15 +189,15 @@ public class PlanController extends ControllerBase {
|
|||
return ApiResult.success(vo);
|
||||
}
|
||||
|
||||
private DictionaryItem getCategory() {
|
||||
private Long getCategoryId() {
|
||||
if (AppUserUtil.isAgent()) {
|
||||
DictionaryItem di = appUserService.getCategory(appUserService.getById(AppUserUtil.getUserId()));
|
||||
VUtils.trueThrowBusinessError(Objects.isNull(di)).throwMessage("请联系管理员设置区域类别");
|
||||
return di;
|
||||
return di.getId();
|
||||
} else {
|
||||
Long categoryId = adminUserService.getById(AppUserUtil.getUserId()).getCategoryId();
|
||||
VUtils.trueThrowBusinessError(Objects.isNull(categoryId)).throwMessage("请联系管理员设置区域类别");
|
||||
return dictionaryItemService.getById(categoryId);
|
||||
return categoryId;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ package com.nflg.mobilebroken.quotation.pojo.vo;
|
|||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
|
|
@ -13,12 +12,10 @@ public class DefaultRatioVO {
|
|||
/**
|
||||
* 比例
|
||||
*/
|
||||
@NotNull(message = "比例不能为空")
|
||||
private BigDecimal ratio;
|
||||
|
||||
/**
|
||||
* 区域(国内/国外),字典id
|
||||
*/
|
||||
@NotNull(message = "区域不能为空")
|
||||
private Long areaId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,127 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Accessors(chain = true)
|
||||
@TableName("product_model_params_data")
|
||||
public class ProductModelParamsData implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 机型参数id
|
||||
*/
|
||||
private Long paramsId;
|
||||
|
||||
/**
|
||||
* 上级id
|
||||
*/
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 参数值
|
||||
*/
|
||||
private String value;
|
||||
|
||||
/**
|
||||
* 是否主要参数
|
||||
*/
|
||||
private Boolean main;
|
||||
|
||||
/**
|
||||
* 主要参数排序号
|
||||
*/
|
||||
private Integer mainSort;
|
||||
|
||||
/**
|
||||
* 是否重要参数
|
||||
*/
|
||||
private Boolean important;
|
||||
|
||||
/**
|
||||
* 重要参数排序号
|
||||
*/
|
||||
private Integer importantSort;
|
||||
|
||||
/**
|
||||
* 是否参与比较
|
||||
*/
|
||||
private Boolean compare;
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String ico;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 类别,0:可选配置;1:标准配置
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 选配类别,0:新增可选;1:替换可选
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Integer optionalType;
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||
private String imageUrl;
|
||||
|
||||
/**
|
||||
* 分组名称,同组的可选配置替换
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
||||
private String groupName;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据-多语言
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
@Accessors(chain = true)
|
||||
@TableName("product_model_params_data_language")
|
||||
public class ProductModelParamsDataLanguage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 机型参数id
|
||||
*/
|
||||
private Long paramsId;
|
||||
|
||||
/**
|
||||
* 机型参数数据id
|
||||
*/
|
||||
private Long paramsDataId;
|
||||
|
||||
/**
|
||||
* 语言id
|
||||
*/
|
||||
private Long languageId;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 参数值
|
||||
*/
|
||||
private String value;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.mapper;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsDataLanguage;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据-多语言 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
public interface ProductModelParamsDataLanguageMapper extends BaseMapper<ProductModelParamsDataLanguage> {
|
||||
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.mapper;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsData;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
public interface ProductModelParamsDataMapper extends BaseMapper<ProductModelParamsData> {
|
||||
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.service;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsDataLanguage;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据-多语言 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
public interface IProductModelParamsDataLanguageService extends IService<ProductModelParamsDataLanguage> {
|
||||
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.service;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsData;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
public interface IProductModelParamsDataService extends IService<ProductModelParamsData> {
|
||||
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.service.impl;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsDataLanguage;
|
||||
import com.nflg.mobilebroken.repository.mapper.ProductModelParamsDataLanguageMapper;
|
||||
import com.nflg.mobilebroken.repository.service.IProductModelParamsDataLanguageService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据-多语言 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
@Service
|
||||
public class ProductModelParamsDataLanguageServiceImpl extends ServiceImpl<ProductModelParamsDataLanguageMapper, ProductModelParamsDataLanguage> implements IProductModelParamsDataLanguageService {
|
||||
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
package com.nflg.mobilebroken.repository.service.impl;
|
||||
|
||||
import com.nflg.mobilebroken.repository.entity.ProductModelParamsData;
|
||||
import com.nflg.mobilebroken.repository.mapper.ProductModelParamsDataMapper;
|
||||
import com.nflg.mobilebroken.repository.service.IProductModelParamsDataService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 产品中心-机型-参数数据 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author 代码生成器生成
|
||||
* @since 2026
|
||||
*/
|
||||
@Service
|
||||
public class ProductModelParamsDataServiceImpl extends ServiceImpl<ProductModelParamsDataMapper, ProductModelParamsData> implements IProductModelParamsDataService {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue