Browse Source

试图物料表添加临时字段

bai 1 month ago
parent
commit
184982cee9
16 changed files with 622 additions and 0 deletions
  1. 63 0
      blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/PjpfBrandDesc.java
  2. 172 0
      blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/PjpfStockDesc.java
  3. 6 0
      blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/ViewItemSel.java
  4. 6 0
      blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/vo/PjpfBrandDescVO.java
  5. 6 0
      blade-service-api/blade-u9cloud-api/src/main/java/org/springblade/u9cloud/entity/ZcrmViewItemSel.java
  6. 73 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/api/controller/SalesForecastSummaryController.java
  7. 98 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/controller/PjpfBrandDescController.java
  8. 94 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/controller/PjpfStockDescController.java
  9. 16 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/PjpfBrandDescMapper.java
  10. 14 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/PjpfStockDescMapper.java
  11. 5 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/xml/PjpfBrandDescMapper.xml
  12. 5 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/xml/PjpfStockDescMapper.xml
  13. 14 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/service/PjpfBrandDescService.java
  14. 14 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/service/PjpfStockDescService.java
  15. 18 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/service/impl/PjpfBrandDescServiceImpl.java
  16. 18 0
      blade-service/blade-factory/src/main/java/org/springblade/factory/service/impl/PjpfStockDescServiceImpl.java

+ 63 - 0
blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/PjpfBrandDesc.java

@@ -0,0 +1,63 @@
+package org.springblade.factory.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import org.springblade.core.mp.base.BaseEntity;
+
+import java.time.LocalDateTime;
+
+/**
+ * 品牌表实体类
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@Data
+@TableName("pjpf_brand_desc")
+public class PjpfBrandDesc extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/** 主键 */
+	@TableId(type = IdType.INPUT)
+	private Long id;
+
+	/** 租户 */
+	@TableField("tenant_id")
+	private String tenantId;
+
+//	/** 订单状态 */
+//	@TableField("status")
+//	private String status;
+
+	/** 是否启用(0启用,1停用) */
+	@TableField("enable_or_not")
+	private Integer enableOrNot;
+
+	/** 品牌名称 */
+	@TableField("cname")
+	private String cname;
+
+	/** 所属公司id */
+	@TableField("sales_company_id")
+	private Long salesCompanyId;
+
+	/** 所属公司名称 */
+	@TableField("sales_company_name")
+	private String salesCompanyName;
+
+	/** 类型(品牌  功能分类)PP   GN */
+	@TableField("type")
+	private String type;
+
+	/** 排序 */
+	@TableField("sort")
+	private Integer sort;
+
+	/** 是否是积分商品 */
+	@TableField("whether_integral")
+	private String whetherIntegral;
+}

+ 172 - 0
blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/PjpfStockDesc.java

@@ -0,0 +1,172 @@
+package org.springblade.factory.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import org.springblade.core.mp.base.BaseEntity;
+
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+/**
+ * 库存表实体类
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@Data
+@TableName("pjpf_stock_desc")
+public class PjpfStockDesc extends BaseEntity {
+
+	private static final long serialVersionUID = 1L;
+
+	/** 主键 */
+	@TableId(type = IdType.INPUT)
+	private Long id;
+
+	/** 租户 */
+	@TableField("tenant_id")
+	private String tenantId;
+
+//	/** 创建人 */
+//	@TableField("create_user")
+//	private Long createUser;
+//
+//	/** 创建部门 */
+//	@TableField("create_dept")
+//	private Long createDept;
+//
+//	/** 创建时间 */
+//	@TableField("create_time")
+//	private LocalDateTime createTime;
+//
+//	/** 修改人 */
+//	@TableField("update_user")
+//	private Long updateUser;
+//
+//	/** 修改时间 */
+//	@TableField("update_time")
+//	private LocalDateTime updateTime;
+//
+//	/** 是否已删除(0 否 1是) */
+//	@TableField("is_deleted")
+//	private Integer isDeleted;
+//
+//	/** 备注 */
+//	@TableField("remarks")
+//	private String remarks;
+//
+//	/** 订单状态 */
+//	@TableField("status")
+//	private String status;
+
+	/** 仓库/库区id */
+	@TableField("storage_id")
+	private Long storageId;
+
+	/** 仓库/库区名称 */
+	@TableField("storage_name")
+	private String storageName;
+
+	/** 商品id */
+	@TableField("goods_id")
+	private Long goodsId;
+
+	/** 物料编号 */
+	@TableField("code")
+	private String code;
+
+	/** 商品名称 */
+	@TableField("cname")
+	private String cname;
+
+	/** 品牌id */
+	@TableField("brand_id")
+	private Long brandId;
+
+	/** 品牌名称 */
+	@TableField("brand_name")
+	private String brandName;
+
+	/** 规格型号 */
+	@TableField("type_no")
+	private String typeNo;
+
+	/** 花纹 */
+	@TableField("brand_item")
+	private String brandItem;
+
+	/** 商品描述 */
+	@TableField("product_description")
+	private String productDescription;
+
+	/** 分类id */
+	@TableField("goods_type_id")
+	private String goodsTypeId;
+
+	/** 结余数量(总) */
+	@TableField("balance_quantity")
+	private BigDecimal balanceQuantity;
+
+	/** 结余数量(融资) */
+	@TableField("balance_quantity_financing")
+	private BigDecimal balanceQuantityFinancing;
+
+	/** 结余数量(自有) */
+	@TableField("balance_quantity_have")
+	private BigDecimal balanceQuantityHave;
+
+	/** 所属公司id */
+	@TableField("sales_company_id")
+	private Long salesCompanyId;
+
+	/** 所属公司名称 */
+	@TableField("sales_company_name")
+	private String salesCompanyName;
+
+	/** 批次号 */
+	@TableField("dot")
+	private String dot;
+
+	/** 商城库存 */
+	@TableField("store_inventory")
+	private BigDecimal storeInventory;
+
+	/** 库存金额 */
+	@TableField("inventory_amount")
+	private BigDecimal inventoryAmount;
+
+	/** 库存成本价 */
+	@TableField("inventory_cost_price")
+	private BigDecimal inventoryCostPrice;
+
+	/** 库存预警 */
+	@TableField("inventory_alert")
+	private Integer inventoryAlert;
+
+	/** 分类 */
+	@TableField("goods_type_name")
+	private String goodsTypeName;
+
+	/** 版本 */
+	@TableField("version")
+	private Integer version;
+
+	/** 采购订单号 */
+	@TableField("po_no")
+	private String poNo;
+
+	/** 快捷查询号 */
+	@TableField("cname_int")
+	private String cnameInt;
+
+	/** 返利后单价 */
+	@TableField("rebate_price")
+	private BigDecimal rebatePrice;
+
+	/** 返利后单价库存金额 */
+	@TableField("rebate_inventory_amount")
+	private BigDecimal rebateInventoryAmount;
+}

+ 6 - 0
blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/entity/ViewItemSel.java

@@ -6,6 +6,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;
 import org.springblade.core.mp.base.BaseEntity;
 
+import java.math.BigDecimal;
 import java.time.LocalDateTime;
 
 /**
@@ -130,5 +131,10 @@ public class ViewItemSel extends BaseEntity {
 	@JsonProperty("ModifiedOn")
 	@TableField("ModifiedOn")
 	private LocalDateTime modifiedOn;
+
+	/* ===== 临时字段 ===== */
+	@JsonProperty("Item_Price")
+	@TableField("Item_Price")
+	private BigDecimal itemPrice;
 }
 

+ 6 - 0
blade-service-api/blade-factory-api/src/main/java/org/springblade/factory/vo/PjpfBrandDescVO.java

@@ -0,0 +1,6 @@
+package org.springblade.factory.vo;
+
+import org.springblade.factory.entity.PjpfBrandDesc;
+
+public class PjpfBrandDescVO extends PjpfBrandDesc {
+}

+ 6 - 0
blade-service-api/blade-u9cloud-api/src/main/java/org/springblade/u9cloud/entity/ZcrmViewItemSel.java

@@ -7,6 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;
 import org.springblade.core.mp.base.BaseEntity;
 
+import java.math.BigDecimal;
 import java.time.LocalDateTime;
 
 /**
@@ -131,4 +132,9 @@ public class ZcrmViewItemSel extends BaseEntity {
 	@JsonProperty("ModifiedOn")
 	@TableField("ModifiedOn")
 	private LocalDateTime modifiedOn;
+
+	/* ===== 临时字段 ===== */
+	@JsonProperty("Item_Price")
+	@TableField("Item_Price")
+	private BigDecimal itemPrice;
 }

+ 73 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/api/controller/SalesForecastSummaryController.java

@@ -3,15 +3,22 @@ package org.springblade.factory.api.controller;
 
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiParam;
 import lombok.AllArgsConstructor;
 import org.springblade.core.mp.support.Condition;
 import org.springblade.core.mp.support.Query;
+import org.springblade.core.secure.BladeUser;
 import org.springblade.core.secure.utils.AuthUtil;
 import org.springblade.core.tool.api.R;
 import org.springblade.factory.entity.PcBladeSalesForecastSummary;
+import org.springblade.factory.entity.PjpfBrandDesc;
+import org.springblade.factory.entity.PjpfStockDesc;
 import org.springblade.factory.service.PcBladeSalesForecastSummaryService;
+import org.springblade.factory.service.PjpfBrandDescService;
+import org.springblade.factory.service.PjpfStockDescService;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 import springfox.documentation.annotations.ApiIgnore;
@@ -269,6 +276,72 @@ public class SalesForecastSummaryController {
 	}
 
 
+	/* ========== 品牌表 ========== */
 
+	private final PjpfBrandDescService brandService;
 
+	/**
+	 * 品牌列表
+	 */
+	@GetMapping("/brand-desc")
+	@ApiOperation(value = "品牌列表", notes = "传入cname,status,type等查询条件")
+	@ApiOperationSupport(order = 1)
+	public R<IPage<PjpfBrandDesc>> brandDesc(
+		@ApiIgnore @RequestParam Map<String, Object> brandParams,
+		Query query,
+		BladeUser bladeUser) {
+		// 构建查询条件
+		QueryWrapper<PjpfBrandDesc> queryWrapper = Condition.getQueryWrapper(brandParams, PjpfBrandDesc.class);
+		// 执行分页查询
+		IPage<PjpfBrandDesc> pages = brandService.page(Condition.getPage(query), queryWrapper);
+		// 转换VO并返回
+		return R.data(pages);
+	}
+
+	/**
+	 * 单条查询
+	 */
+	@GetMapping("/brand-desc/{id}")
+	@ApiOperation(value = "单条查询", notes = "传入品牌ID")
+	@ApiImplicitParam(name = "id", value = "品牌ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 2)
+	public R<PjpfBrandDesc> getBrandDesc(@PathVariable("id") Long id) {
+		PjpfBrandDesc brand = brandService.getById(id);
+		return R.data(brand);
+	}
+
+
+
+	/* ========== 库存表 ========== */
+	private final PjpfStockDescService stockService;
+
+	/**
+	 * 库存列表
+	 */
+	@GetMapping("brand-stock")
+	@ApiOperation(value = "库存列表", notes = "传入cname,goodsId,brandId等查询条件")
+	@ApiOperationSupport(order = 1)
+	public R<IPage<PjpfStockDesc>> brandStock(
+		@ApiIgnore @RequestParam Map<String, Object> stockParams,
+		Query query,
+		BladeUser bladeUser) {
+		// 构建查询条件
+		QueryWrapper<PjpfStockDesc> queryWrapper = Condition.getQueryWrapper(stockParams, PjpfStockDesc.class);
+		// 执行分页查询
+		IPage<PjpfStockDesc> pages = stockService.page(Condition.getPage(query), queryWrapper);
+		// 转换VO并返回
+		return R.data(pages);
+	}
+
+	/**
+	 * 单条查询
+	 */
+	@GetMapping("/brand-stock/{id}")
+	@ApiOperation(value = "单条查询", notes = "传入库存ID")
+	@ApiImplicitParam(name = "id", value = "库存ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 2)
+	public R<PjpfStockDesc> getBrandStock(@PathVariable("id") Long id) {
+		PjpfStockDesc stock = stockService.getById(id);
+		return R.data(stock);
+	}
 }

+ 98 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/controller/PjpfBrandDescController.java

@@ -0,0 +1,98 @@
+package org.springblade.factory.controller;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiOperation;
+import lombok.AllArgsConstructor;
+import org.apache.ibatis.annotations.Result;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.secure.BladeUser;
+import org.springblade.core.tool.api.R;
+import org.springblade.factory.entity.PjpfBrandDesc;
+import org.springblade.factory.service.PjpfBrandDescService;
+import org.springblade.factory.vo.PjpfBrandDescVO;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+import springfox.documentation.annotations.ApiIgnore;
+
+import java.util.Map;
+
+
+/**
+ * 品牌表 前端控制器
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@RestController
+@RequestMapping("/api/factory/brand-desc")
+@AllArgsConstructor
+public class PjpfBrandDescController {
+
+	private final PjpfBrandDescService brandService;
+
+	/**
+	 * 品牌列表
+	 */
+	@GetMapping
+	@ApiOperation(value = "品牌列表", notes = "传入cname,status,type等查询条件")
+	@ApiOperationSupport(order = 1)
+	public R<IPage<PjpfBrandDesc>> list(
+		@ApiIgnore @RequestParam Map<String, Object> brandParams,
+		Query query,
+		BladeUser bladeUser) {
+		// 构建查询条件
+		QueryWrapper<PjpfBrandDesc> queryWrapper = Condition.getQueryWrapper(brandParams, PjpfBrandDesc.class);
+		// 执行分页查询
+		IPage<PjpfBrandDesc> pages = brandService.page(Condition.getPage(query), queryWrapper);
+		// 转换VO并返回
+		return R.data(pages);
+	}
+
+
+	/**
+	 * 单条查询
+	 */
+	@GetMapping("/{id}")
+	@ApiOperation(value = "单条查询", notes = "传入品牌ID")
+	@ApiImplicitParam(name = "id", value = "品牌ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 2)
+	public R<PjpfBrandDesc> get(@PathVariable("id") Long id) {
+		PjpfBrandDesc brand = brandService.getById(id);
+		return R.data(brand);
+	}
+
+	/**
+	 * 新增品牌
+	 */
+	@PostMapping
+	@ApiOperation(value = "新增品牌", notes = "传入品牌信息")
+	@ApiOperationSupport(order = 3)
+	public R<Boolean> save(@RequestBody PjpfBrandDesc brand) {
+		return R.data(200, brandService.save(brand), "添加成功");
+	}
+
+	/**
+	 * 修改品牌
+	 */
+	@PutMapping
+	@ApiOperation(value = "修改品牌", notes = "传入品牌信息")
+	@ApiOperationSupport(order = 4)
+	public R<Boolean> update(@RequestBody PjpfBrandDesc brand) {
+		return R.data(200, brandService.updateById(brand), "修改成功");
+	}
+
+	/**
+	 * 删除品牌
+	 */
+	@DeleteMapping("/{id}")
+	@ApiOperation(value = "删除品牌", notes = "传入品牌ID")
+	@ApiImplicitParam(name = "id", value = "品牌ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 5)
+	public R<Boolean> remove(@PathVariable("id") Long id) {
+		return R.data(brandService.removeById(id));
+	}
+}

+ 94 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/controller/PjpfStockDescController.java

@@ -0,0 +1,94 @@
+package org.springblade.factory.controller;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiOperation;
+import lombok.AllArgsConstructor;
+import org.springblade.core.mp.support.Condition;
+import org.springblade.core.mp.support.Query;
+import org.springblade.core.secure.BladeUser;
+import org.springblade.core.tool.api.R;
+import org.springblade.factory.entity.PjpfStockDesc;
+import org.springblade.factory.service.PjpfStockDescService;
+import org.springframework.web.bind.annotation.*;
+import springfox.documentation.annotations.ApiIgnore;
+
+import java.util.Map;
+
+
+/**
+ * 库存表 前端控制器
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@RestController
+@RequestMapping("/api/factory/stock")
+@AllArgsConstructor
+public class PjpfStockDescController {
+
+	private final PjpfStockDescService stockService;
+
+	/**
+	 * 库存列表
+	 */
+	@GetMapping
+	@ApiOperation(value = "库存列表", notes = "传入cname,goodsId,brandId等查询条件")
+	@ApiOperationSupport(order = 1)
+	public R<IPage<PjpfStockDesc>> list(
+		@ApiIgnore @RequestParam Map<String, Object> stockParams,
+		Query query,
+		BladeUser bladeUser) {
+		// 构建查询条件
+		QueryWrapper<PjpfStockDesc> queryWrapper = Condition.getQueryWrapper(stockParams, PjpfStockDesc.class);
+		// 执行分页查询
+		IPage<PjpfStockDesc> pages = stockService.page(Condition.getPage(query), queryWrapper);
+		// 转换VO并返回
+		return R.data(pages);
+	}
+
+	/**
+	 * 单条查询
+	 */
+	@GetMapping("/{id}")
+	@ApiOperation(value = "单条查询", notes = "传入库存ID")
+	@ApiImplicitParam(name = "id", value = "库存ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 2)
+	public R<PjpfStockDesc> get(@PathVariable("id") Long id) {
+		PjpfStockDesc stock = stockService.getById(id);
+		return R.data(stock);
+	}
+
+	/**
+	 * 新增库存
+	 */
+	@PostMapping
+	@ApiOperation(value = "新增库存", notes = "传入库存信息")
+	@ApiOperationSupport(order = 3)
+	public R<Boolean> save(@RequestBody PjpfStockDesc stock) {
+		return R.data(200, stockService.save(stock), "添加成功");
+	}
+
+	/**
+	 * 修改库存
+	 */
+	@PutMapping
+	@ApiOperation(value = "修改库存", notes = "传入库存信息")
+	@ApiOperationSupport(order = 4)
+	public R<Boolean> update(@RequestBody PjpfStockDesc stock) {
+		return R.data(200, stockService.updateById(stock), "修改成功");
+	}
+
+	/**
+	 * 删除库存
+	 */
+	@DeleteMapping("/{id}")
+	@ApiOperation(value = "删除库存", notes = "传入库存ID")
+	@ApiImplicitParam(name = "id", value = "库存ID", required = true, paramType = "path")
+	@ApiOperationSupport(order = 5)
+	public R<Boolean> remove(@PathVariable("id") Long id) {
+		return R.data(stockService.removeById(id));
+	}
+}

+ 16 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/PjpfBrandDescMapper.java

@@ -0,0 +1,16 @@
+package org.springblade.factory.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springblade.factory.entity.PjpfBrandDesc;
+
+/**
+ * 品牌表 Mapper 接口
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@Mapper
+public interface PjpfBrandDescMapper extends BaseMapper<PjpfBrandDesc> {
+
+}

+ 14 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/PjpfStockDescMapper.java

@@ -0,0 +1,14 @@
+package org.springblade.factory.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.springblade.factory.entity.PjpfStockDesc;
+
+/**
+ * 库存表 Mapper 接口
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+public interface PjpfStockDescMapper extends BaseMapper<PjpfStockDesc> {
+
+}

+ 5 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/xml/PjpfBrandDescMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.factory.mapper.xml.PjpfBrandDescMapper">
+    <!-- 在这里添加自定义的 SQL 映射,如果有的话 -->
+</mapper>

+ 5 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/mapper/xml/PjpfStockDescMapper.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.factory.mapper.xml.PjpfStockDescMapper">
+    <!-- 在这里添加自定义的 SQL 映射,如果有的话 -->
+</mapper>

+ 14 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/service/PjpfBrandDescService.java

@@ -0,0 +1,14 @@
+package org.springblade.factory.service;
+
+import org.springblade.core.mp.base.BaseService;
+import org.springblade.factory.entity.PjpfBrandDesc;
+
+/**
+ * 品牌表服务接口
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+public interface PjpfBrandDescService extends BaseService<PjpfBrandDesc> {
+
+}

+ 14 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/service/PjpfStockDescService.java

@@ -0,0 +1,14 @@
+package org.springblade.factory.service;
+
+import org.springblade.core.mp.base.BaseService;
+import org.springblade.factory.entity.PjpfStockDesc;
+
+/**
+ * 库存表服务接口
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+public interface PjpfStockDescService extends BaseService<PjpfStockDesc> {
+
+}

+ 18 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/service/impl/PjpfBrandDescServiceImpl.java

@@ -0,0 +1,18 @@
+package org.springblade.factory.service.impl;
+
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springblade.factory.entity.PjpfBrandDesc;
+import org.springblade.factory.mapper.PjpfBrandDescMapper;
+import org.springblade.factory.service.PjpfBrandDescService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 品牌表服务实现类
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@Service
+public class PjpfBrandDescServiceImpl extends BaseServiceImpl<PjpfBrandDescMapper, PjpfBrandDesc> implements PjpfBrandDescService {
+
+}

+ 18 - 0
blade-service/blade-factory/src/main/java/org/springblade/factory/service/impl/PjpfStockDescServiceImpl.java

@@ -0,0 +1,18 @@
+package org.springblade.factory.service.impl;
+
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springblade.factory.entity.PjpfStockDesc;
+import org.springblade.factory.mapper.PjpfStockDescMapper;
+import org.springblade.factory.service.PjpfStockDescService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 库存表服务实现类
+ *
+ * @author generator
+ * @since 2025-09-05
+ */
+@Service
+public class PjpfStockDescServiceImpl extends BaseServiceImpl<PjpfStockDescMapper, PjpfStockDesc> implements PjpfStockDescService {
+
+}