From 5bb169a50335aef427d09e817901b80145cbd990 Mon Sep 17 00:00:00 2001 From: gongchunyi <deslre0381@gmail.com> Date: 星期一, 09 三月 2026 17:56:31 +0800 Subject: [PATCH] fix: 使用父类id关联 --- src/main/resources/mapper/prodDemand/ProdDemandDetailMapper.xml | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/prodDemand/ProdDemandDetailMapper.xml b/src/main/resources/mapper/prodDemand/ProdDemandDetailMapper.xml new file mode 100644 index 0000000..b142656 --- /dev/null +++ b/src/main/resources/mapper/prodDemand/ProdDemandDetailMapper.xml @@ -0,0 +1,30 @@ +<?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="com.ruoyi.prodDemand.mapper.ProdDemandDetailMapper"> + <resultMap id="ProdDemandDetailResultMap" type="com.ruoyi.prodDemand.pojo.ProdDemandDetail"> + <id property="id" column="id"/> + <result property="tenantId" column="tenant_id"/> + <result property="prodDemandMainId" column="prod_demand_main_id"/> + <result property="materialCode" column="material_code"/> + <result property="materialCategory" column="material_category"/> + <result property="specDesc" column="spec_desc"/> + <result property="gradeType" column="grade_type"/> + <result property="length" column="length"/> + <result property="width" column="width"/> + <result property="thickness" column="thickness"/> + <result property="quantity" column="quantity"/> + <result property="volume" column="volume"/> + <result property="dateRange" column="date_range"/> + <result property="associationReceipt" column="association_receipt"/> + <result property="createUser" column="create_user"/> + <result property="createTime" column="create_time"/> + <result property="updateUser" column="update_user"/> + <result property="updateTime" column="update_time"/> + <result property="remark" column="remark"/> + </resultMap> + + +</mapper> \ No newline at end of file -- Gitblit v1.9.3