|
@@ -7,6 +7,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="id" column="id" />
|
|
|
<result property="quantity" column="quantity" />
|
|
|
<result property="documentType" column="document_type"/>
|
|
|
+ <result property="shopCoding" column="shop_coding"/>
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="createById" column="create_by_id" />
|
|
|
<result property="createBy" column="create_by" />
|
|
@@ -83,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select fid,fbomIdFnumber,ftreeEntity_fentryid,funitidfNumber,fbillno,fsrcbillno,id, quantity, remark, document_type,
|
|
|
create_by_id, create_by, create_time, update_by_id, update_by, update_time, del_flag, data_approval_status, process_key,
|
|
|
task_process_key, task_node_key, plan_id, material_id, material_name, model_number, specification, material_unit, demand_document,
|
|
|
- time_of_request, customer_model, power, colour, mingpai, shuomingshu, hegezheng, description, baozhuangxiang,status
|
|
|
+ time_of_request, customer_model, power, colour, mingpai, shuomingshu, hegezheng, description, baozhuangxiang,status,shop_coding
|
|
|
from fjqydb.plan_task_details
|
|
|
</sql>
|
|
|
|
|
@@ -128,6 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="quantity != null">quantity,</if>
|
|
|
<if test="documentType != null">document_type,</if>
|
|
|
+ <if test="shopCoding != null">shop_coding,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
<if test="createById != null">create_by_id,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
@@ -168,9 +170,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fbomIdFnumber != null and fbomIdFnumber != ''">fbomIdFnumber,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
-
|
|
|
<if test="quantity != null">#{quantity},</if>
|
|
|
<if test="documentType != null">#{documentType},</if>
|
|
|
+ <if test="shopCoding != null">#{shopCoding},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
<if test="createById != null">#{createById},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
@@ -211,6 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="fbomIdFnumber != null and fbomIdFnumber != ''">#{fbomIdFnumber},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
+
|
|
|
<!--查询生产订单号 -->
|
|
|
<update id="updatePlanTaskDetailsByDemandDocument" parameterType="com.zkqy.amichi.domain.PlanTaskDetails">
|
|
|
update fjqydb.plan_task_details
|
|
@@ -304,7 +307,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<delete id="deletePlanTaskDetailsByDemandDocument" parameterType="String">
|
|
|
delete from {DBNAME}.plan_task_details where demand_document in
|
|
|
<foreach item="id" collection="list" open="(" separator="," close=")">
|
|
|
- #{demandDocument}
|
|
|
+ #{id}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
|