From e4e498bd271942d95d40809028fa8f65354c8f2c Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期五, 09 五月 2025 17:18:32 +0800
Subject: [PATCH] 调用计算延期风险接口
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml
index 56269ce..a25b782 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsBomMapper.xml
@@ -139,23 +139,22 @@
</delete>
<resultMap type="ApsBom" id="ApsBomLineResult">
+ <result property="id" column="id" />
<result property="bomLineId" column="bom_line_id" />
<result property="itemCode" column="item_code" />
<result property="itemName" column="item_name" />
<result property="num" column="num" />
</resultMap>
<sql id="selectApsBomLineVo">
- select bom_line_id, item_code, item_name, num
+ select id, bom_line_id, item_code, item_name, num
from aps_bom_line
</sql>
- <select id="selectApsBomLineList" parameterType="ApsBom" resultMap="ApsBomLineResult">
- <include refid="selectApsBomLineVo"/>
- <where>
- <if test="bomHeaderId != null and bomHeaderId != ''"> and bom_header_id = #{bomHeaderId}</if>
- <if test="orgCode != null and orgCode != ''"> and org_code = #{orgCode}</if>
- and del_flag='0'
- </where>
- order by bom_header_id,bom_line_id
+ <select id="selectApsBomLineList" parameterType="String" resultMap="ApsBomLineResult">
+ select id, bom_line_id, item_code, num
+ from aps_bom_line where del_flag='0'
+ and org_code = #{orgCode}
+ and bom_header_id = #{bomHeaderId}
+ order by bom_line_id
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3