From 2a64b537e8e3bce9ce030585a3da17d48379c0ad Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期一, 26 五月 2025 15:04:45 +0800
Subject: [PATCH] 修改json类型转换错误

---
 aps-modules/aps-job/src/main/resources/mapper/job/ApsBomLineJobMapper.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/aps-modules/aps-job/src/main/resources/mapper/job/ApsBomLineJobMapper.xml b/aps-modules/aps-job/src/main/resources/mapper/job/ApsBomLineJobMapper.xml
index be153bf..8e7c9a8 100644
--- a/aps-modules/aps-job/src/main/resources/mapper/job/ApsBomLineJobMapper.xml
+++ b/aps-modules/aps-job/src/main/resources/mapper/job/ApsBomLineJobMapper.xml
@@ -4,7 +4,7 @@
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.aps.job.mapper.ApsBomLineJobMapper">
     
-    <resultMap type="ApsBomLineJob" id="ApsBomLineJobResult">
+    <resultMap type="com.aps.job.domain.ApsBomLineJob" id="ApsBomLineJobResult">
         <result property="id"    column="id"    />
         <result property="bomLineId"    column="bom_line_id"    />
         <result property="bomHeaderId"    column="bom_header_id"    />
@@ -31,7 +31,7 @@
         select id, bom_line_id, bom_header_id, item_code, item_name, start_date, end_date, org_code, del_flag, create_by, create_time, update_by, update_time, drawing_no, process_no, unit, num, total_num, preparation_time, processing_time from aps_bom_line_job
     </sql>
 
-    <select id="selectApsBomLineJobList" parameterType="ApsBomLineJob" resultMap="ApsBomLineJobResult">
+    <select id="selectApsBomLineJobList" parameterType="com.aps.job.domain.ApsBomLineJob" resultMap="ApsBomLineJobResult">
         <include refid="selectApsBomLineJobVo"/>
         <where>  
             <if test="bomLineId != null  and bomLineId != ''"> and bom_line_id = #{bomLineId}</if>
@@ -56,7 +56,7 @@
         where id = #{id}
     </select>
 
-    <insert id="insertApsBomLineJob" parameterType="ApsBomLineJob">
+    <insert id="insertApsBomLineJob" parameterType="com.aps.job.domain.ApsBomLineJob">
         insert into aps_bom_line_job
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="id != null">id,</if>
@@ -104,7 +104,7 @@
          </trim>
     </insert>
 
-    <update id="updateApsBomLineJob" parameterType="ApsBomLineJob">
+    <update id="updateApsBomLineJob" parameterType="com.aps.job.domain.ApsBomLineJob">
         update aps_bom_line_job
         <trim prefix="SET" suffixOverrides=",">
             <if test="bomLineId != null">bom_line_id = #{bomLineId},</if>
@@ -200,6 +200,9 @@
             create_by,
             now()
         FROM aps_bom_line_job
+--         FROM aps_bom_line_job as a
+--         LEFT JOIN aps_material_storage_management as b ON a.item_code = b.item_number
+--         where b.material_type='鍒堕�犱欢'
     </insert>
 
     <!-- 鍒犻櫎 aps_bom_line 琛ㄤ腑鐨勬暟鎹� -->

--
Gitblit v1.9.3