|
@@ -14,7 +14,11 @@
|
|
|
<result column="approval_details" property="approvalDetails" jdbcType="VARCHAR" />
|
|
|
<result column="approval_remark" property="approvalRemark" jdbcType="VARCHAR" />
|
|
|
<result column="approval_create_time" property="approvalCreateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <collection property="approvalProduction" column="approval_id" ofType="ApprovalProduction" select="getApprovalProduction"/>
|
|
|
+ <collection property="approvalApplyPick" column="approval_id" ofType="ApprovalApplyPick" select="getApplyPick"/>
|
|
|
+ <collection property="listProductionContract" column="approval_id" ofType="ApprovalProductionContract" select="listProductionContract"/>
|
|
|
</resultMap>
|
|
|
+
|
|
|
<resultMap id="ApprovalProductionResultMap" type="ApprovalProduction" >
|
|
|
<id column="production_id" property="productionId" jdbcType="INTEGER" />
|
|
|
<result column="approval_id" property="approvalId" jdbcType="VARCHAR" />
|
|
@@ -33,10 +37,428 @@
|
|
|
<result column="production_remark" property="productionRemark" jdbcType="VARCHAR" />
|
|
|
<result column="production_create_time" property="productionCreateTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="production_update_time" property="productionUpdateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <collection property="listProductionItem" column="production_id" ofType="ApprovalProductionItem" select="listProductionItem"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <resultMap id="ApprovalApplyPickMap" type="ApprovalApplyPick" >
|
|
|
+ <id column="apply_pick_id" property="applyPickId" jdbcType="INTEGER" />
|
|
|
+ <result column="approval_id" property="approvalId" jdbcType="INTEGER" />
|
|
|
+ <result column="admin_id" property="adminId" jdbcType="INTEGER" />
|
|
|
+ <result column="apply_pick_name" property="applyPickName" jdbcType="VARCHAR" />
|
|
|
+ <result column="apply_pick_tel" property="applyPickTel" jdbcType="VARCHAR" />
|
|
|
+ <result column="apply_pick_reason" property="applyPickReason" jdbcType="VARCHAR" />
|
|
|
+ <result column="apply_pick_struts" property="applyPickStruts" jdbcType="INTEGER" />
|
|
|
+ <result column="apply_pick_remk" property="applyPickRemk" jdbcType="VARCHAR" />
|
|
|
+ <result column="apply_pick_create_time" property="applyPickCreateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="apply_pick_update_time" property="applyPickUpdateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <collection property="listApplyPickItem" column="apply_pick_id" ofType="ApprovalApplyPickItem" select="listApplyPickItem"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+
|
|
|
+ <resultMap id="ApprovalProductionItemMap" type="ApprovalProductionItem" >
|
|
|
+ <id column="item_id" property="itemId" jdbcType="INTEGER" />
|
|
|
+ <result column="production_id" property="productionId" jdbcType="INTEGER" />
|
|
|
+ <result column="product_id" property="productId" jdbcType="INTEGER" />
|
|
|
+ <result column="item_product_name" property="itemProductName" jdbcType="VARCHAR" />
|
|
|
+ <result column="item_color_name" property="itemColorName" jdbcType="VARCHAR" />
|
|
|
+ <result column="item_product_num" property="itemProductNum" jdbcType="INTEGER" />
|
|
|
+ <result column="item_brand_name" property="itemBrandName" jdbcType="VARCHAR" />
|
|
|
+ <result column="item_product_model" property="itemProductModel" jdbcType="VARCHAR" />
|
|
|
+ <result column="item_product_unit" property="itemProductUnit" jdbcType="VARCHAR" />
|
|
|
+ <result column="item_product_box_number" property="itemProductBoxNumber" jdbcType="INTEGER" />
|
|
|
+ <result column="item_create_time" property="itemCreateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="item_update_time" property="itemUpdateTime" jdbcType="TIMESTAMP" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+
|
|
|
+ <resultMap id="ApprovalProductionContractMap" type="ApprovalProductionContract" >
|
|
|
+ <id column="contract_id" property="contractId" jdbcType="INTEGER" />
|
|
|
+ <result column="approval_id" property="approvalId" jdbcType="INTEGER" />
|
|
|
+ <result column="contract_url" property="contractUrl" jdbcType="VARCHAR" />
|
|
|
+ <result column="contract_name" property="contractName" jdbcType="VARCHAR" />
|
|
|
+ <result column="contract_create_time" property="contractCreateTime" jdbcType="TIMESTAMP" />
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
+ <resultMap id="ProcessInfoMap" type="ProcessInfo" >
|
|
|
+ <id column="process_id" property="processId" jdbcType="INTEGER" />
|
|
|
+ <result column="approval_id" property="approvalId" jdbcType="INTEGER" />
|
|
|
+ <result column="admin_id" property="adminId" jdbcType="INTEGER" />
|
|
|
+ <result column="process_desc" property="processDesc" jdbcType="VARCHAR" />
|
|
|
+ <result column="process_state" property="processState" jdbcType="INTEGER" />
|
|
|
+ <result column="process_create_time" property="processCreateTime" jdbcType="TIMESTAMP" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+
|
|
|
+ <resultMap id="ProcessInfoMap" type="ProcessInfo" >
|
|
|
+ <id column="record_id" property="recordId" jdbcType="INTEGER" />
|
|
|
+ <result column="approval_id" property="approvalId" jdbcType="INTEGER" />
|
|
|
+ <result column="admin_id" property="adminId" jdbcType="INTEGER" />
|
|
|
+ <result column="record_state" property="recordState" jdbcType="INTEGER" />
|
|
|
+ <result column="task_id" property="taskId" jdbcType="VARCHAR" />
|
|
|
+ <result column="approval_time" property="approvalTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="record_create_time" property="recordCreateTime" jdbcType="TIMESTAMP" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <insert id="insertApprovalInfo" parameterType="ApprovalInfo" useGeneratedKeys="true" keyProperty="approvalId">
|
|
|
+ INSERT INTO tb_rst_approval_info(approval_id,approval_name,approval_type,approval_status,
|
|
|
+ approval_status_details,admin_id,approval_applicant,activiti_id,
|
|
|
+ approval_details,approval_remark,approval_create_time)
|
|
|
+ VALUES
|
|
|
+ (#{approvalId},#{approvalName},#{approvalType},#{approvalStatus},#{approvalStatusDetails}
|
|
|
+ ,#{adminId},#{approvalApplicant},#{activitiId},#{approvalDetails}
|
|
|
+ ,#{approvalRemark},NOW())
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <insert id="insertApprovalProduction" parameterType="ApprovalProduction" useGeneratedKeys="true" keyProperty="productionId">
|
|
|
+ INSERT INTO tb_rst_approval_production(
|
|
|
+ production_id,
|
|
|
+ approval_id,
|
|
|
+ applicant_order_no,
|
|
|
+ applicant_name,
|
|
|
+ applicant_id,
|
|
|
+ order_name,
|
|
|
+ company_name,
|
|
|
+ contact_name,
|
|
|
+ contact_tel,
|
|
|
+ production_delivery_date,
|
|
|
+ production_delivery_way,
|
|
|
+ production_delivery_desc,
|
|
|
+ production_state,
|
|
|
+ production_packing_way,
|
|
|
+ production_remark,
|
|
|
+ production_create_time
|
|
|
+ )
|
|
|
+ VALUES
|
|
|
+ (#{approvalId},#{approvalId},#{applicantOrderNo},#{applicantName},#{applicantId}
|
|
|
+ ,#{orderName},#{companyName},#{contactName},#{contactTel,#{productionDeliveryDate
|
|
|
+ ,#{productionDeliveryWay},#{productionDeliveryDesc},#{productionState},#{productionPackingWay}
|
|
|
+ ,#{productionRemark},NOW())
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <!-- 批量添加订单项数据-->
|
|
|
+ <insert id="insertItem" parameterType="ArrayList">
|
|
|
+ INSERT INTO tb_rst_approval_production_item
|
|
|
+ (
|
|
|
+ production_id,
|
|
|
+ product_id,
|
|
|
+ item_product_name,
|
|
|
+ item_color_name,
|
|
|
+ item_product_num,
|
|
|
+ item_brand_name,
|
|
|
+ item_product_model,
|
|
|
+ item_product_unit,
|
|
|
+ item_product_box_number,
|
|
|
+ item_create_time,
|
|
|
+ )
|
|
|
+ VALUES
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
+ (
|
|
|
+ #{item.productionId},#{item.productId},#{item.itemProductName},#{item.itemColorName},
|
|
|
+ #{item.itemProductNum},#{item.itemBrandName},#{item.itemProductModel},#{item.itemProductUnit}
|
|
|
+ ,#{item.itemProductBoxNumber},NOW()
|
|
|
+ )
|
|
|
+ </foreach>
|
|
|
+ </insert>
|
|
|
+
|
|
|
+
|
|
|
+ <insert id="insertProductionContract" parameterType="ApprovalProductionContract">
|
|
|
+ INSERT INTO tb_rst_approval_production_contract(
|
|
|
+ contract_id
|
|
|
+ production_id
|
|
|
+ contract_url
|
|
|
+ contract_type
|
|
|
+ contract_create_time
|
|
|
+ )
|
|
|
+ VALUES
|
|
|
+ (#{contractId},#{productionId},#{contractUrl},#{contractType},NOW())
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <insert id="insertProcessInfo" parameterType="ProcessInfo">
|
|
|
+ INSERT INTO tb_rst_process_info(
|
|
|
+ approval_id
|
|
|
+ admin_id
|
|
|
+ process_desc
|
|
|
+ process_state
|
|
|
+ process_create_time
|
|
|
+ )
|
|
|
+ VALUES
|
|
|
+ (#{approvalId},#{adminId},#{processDesc},#{processState},NOW())
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <insert id="insertHistoricalRecord" parameterType="HistoricalRecord">
|
|
|
+ INSERT INTO tb_rst_historical_record(
|
|
|
+ approval_id
|
|
|
+ admin_id
|
|
|
+ record_state
|
|
|
+ task_id
|
|
|
+ approval_time
|
|
|
+ record_create_time
|
|
|
+ )
|
|
|
+ VALUES
|
|
|
+ (#{approvalId},#{adminId},#{processDesc},#{processState},NOW())
|
|
|
+ </insert>
|
|
|
|
|
|
+
|
|
|
+ <!-- 修改流程信息状态-->
|
|
|
+ <update id="updateProcessInfo" parameterType="ProcessInfo">
|
|
|
+ update tb_rst_process_info
|
|
|
+ <set >
|
|
|
+ <if test="processState != null" >
|
|
|
+ process_state = #{processState}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <where>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ <if test="processId != null and processId != ''">
|
|
|
+ AND process_id = #{processId}
|
|
|
+ </if>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ AND admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </update>
|
|
|
+ <!-- 修改历史记录状态-->
|
|
|
+ <update id="updateHistoricalRecord" parameterType="HistoricalRecord">
|
|
|
+ update tb_rst_historical_record
|
|
|
+ <set >
|
|
|
+ <if test="recordState != null" >
|
|
|
+ record_state = #{recordState},
|
|
|
+ </if>
|
|
|
+ <if test="approvalTime != null" >
|
|
|
+ approval_time = #{approvalTime}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <where>
|
|
|
+ <if test="recordId != null and recordId != ''">
|
|
|
+ record_id = #{recordId}
|
|
|
+ </if>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ AND approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ <if test="taskId != null and taskId != ''">
|
|
|
+ AND task_id = #{taskId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+<!--查询审批信息列表-->
|
|
|
+ <select id="listApprovalInfo" parameterType="ApprovalInfo" resultMap="ApprovalInfoResultMap">
|
|
|
+ SELECT
|
|
|
+ ai.approval_id
|
|
|
+ ai.approval_name
|
|
|
+ ai.approval_type
|
|
|
+ ai.approval_status
|
|
|
+ ai.approval_status_details
|
|
|
+ ai.admin_id
|
|
|
+ ai.approval_applicant
|
|
|
+ ai.activiti_id
|
|
|
+ ai.approval_details
|
|
|
+ ai.approval_remark
|
|
|
+ ai.approval_create_time
|
|
|
+ from tb_rst_approval_info ai
|
|
|
+ LEFT JOIN tb_rst_historical_record hr ON ai.approval_id = hr.approval_id
|
|
|
+ <where>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ ai.admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ <if test="approvalType != null and approvalType != ''">
|
|
|
+ ai.approval_type = #{approvalType}
|
|
|
+ </if>
|
|
|
+ <if test="approvalStatus != null and approvalStatus != ''">
|
|
|
+ ai.approval_status = #{approvalStatus}
|
|
|
+ </if>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ hr.admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <!--查询生产审批信息-->
|
|
|
+ <select id="getApprovalProduction" parameterType="Integer" resultMap="ApprovalProductionResultMap">
|
|
|
+ SELECT
|
|
|
+ ap.production_id,
|
|
|
+ ap.approval_id,
|
|
|
+ ap.applicant_order_no,
|
|
|
+ ap.applicant_name,
|
|
|
+ ap.applicant_id,
|
|
|
+ ap.order_name,
|
|
|
+ ap.company_name,
|
|
|
+ ap.contact_name,
|
|
|
+ ap.contact_tel,
|
|
|
+ ap.production_delivery_date,
|
|
|
+ ap.production_delivery_way,
|
|
|
+ ap.production_delivery_desc,
|
|
|
+ ap.production_state,
|
|
|
+ ap.production_packing_way,
|
|
|
+ ap.production_remark,
|
|
|
+ ap.production_create_time,
|
|
|
+ ap.production_update_time
|
|
|
+ from tb_rst_approval_production ap
|
|
|
+ where
|
|
|
+ ap.approval_id = #{approvalId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <!--查询提货申请信息-->
|
|
|
+ <select id="getApplyPick" parameterType="ApprovalApplyPick" resultMap="ApprovalApplyPickMap">
|
|
|
+ SELECT
|
|
|
+ aap.apply_pick_id,
|
|
|
+ aap.approval_id,
|
|
|
+ aap.admin_id,
|
|
|
+ aap.apply_pick_name,
|
|
|
+ aap.apply_pick_tel,
|
|
|
+ aap.apply_pick_reason,
|
|
|
+ aap.apply_pick_struts,
|
|
|
+ aap.apply_pick_remk,
|
|
|
+ aap.apply_pick_create_time,
|
|
|
+ aap.apply_pick_update_time
|
|
|
+ from tb_rst_approval_apply_pick aap
|
|
|
+ where
|
|
|
+ aap.approval_id = #{approvalId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <!--查询提货产品项信息-->
|
|
|
+ <select id="listProductionItem" parameterType="Integer" resultType="ApprovalProductionItem">
|
|
|
+ SELECT
|
|
|
+ api.item_id itemId,
|
|
|
+ api.production_id productionId,
|
|
|
+ api.product_id productId,
|
|
|
+ api.item_product_name itemProductName,
|
|
|
+ api.item_color_name itemColorName,
|
|
|
+ api.item_product_num itemProductNum,
|
|
|
+ api.item_brand_name itemBrandName,
|
|
|
+ api.item_product_model itemProductModel,
|
|
|
+ api.item_product_unit itemProductUnit,
|
|
|
+ api.item_product_box_number itemProductBoxNumber,
|
|
|
+ api.item_create_time itemCreateTime,
|
|
|
+ api.item_update_time itemUpdateTime
|
|
|
+ from tb_rst_approval_production_item api
|
|
|
+ where
|
|
|
+ api.production_id = #{productionId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <!--查询提货产品项信息-->
|
|
|
+ <select id="listApplyPickItem" parameterType="Integer" resultType="ApprovalApplyPickItem">
|
|
|
+ SELECT
|
|
|
+ aapi.apply_item_id applyItemId,
|
|
|
+ aapi.apply_pick_id applyPickId,
|
|
|
+ aapi.product_id productId,
|
|
|
+ aapi.item_product_name itemProductName,
|
|
|
+ aapi.item_color_name itemColorName,
|
|
|
+ aapi.item_product_num itemProductNum,
|
|
|
+ aapi.item_brand_name itemBrandName,
|
|
|
+ aapi.item_product_model itemProductModel,
|
|
|
+ aapi.item_product_unit itemProductUnit,
|
|
|
+ aapi.item_product_box_number itemProductBoxNumber,
|
|
|
+ aapi.item_create_time itemCreateTime,
|
|
|
+ aapi.item_update_time itemUpdateTime
|
|
|
+ from tb_rst_approval_apply_pick_item aapi
|
|
|
+ where
|
|
|
+ aapi.apply_pick_id = #{applyPickId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <!--查询审批合同信息-->
|
|
|
+ <select id="listProductionContract" parameterType="Integer" resultType="ApprovalProductionContract">
|
|
|
+ SELECT
|
|
|
+ apc.contract_id contractId,
|
|
|
+ apc.approval_id approvalId,
|
|
|
+ apc.contract_url contractUrl,
|
|
|
+ apc.contract_name contractName,
|
|
|
+ apc.contract_create_time contractCreateTime
|
|
|
+ from tb_rst_approval_production_contract apc
|
|
|
+ where
|
|
|
+ apc.approval_id = #{approvalId}
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="getHistoricalRecord" parameterType="HistoricalRecord" resultType="HistoricalRecord">
|
|
|
+ SELECT
|
|
|
+ hr.record_id recordId,
|
|
|
+ hr.approval_id approvalId,
|
|
|
+ hr.admin_id adminId,
|
|
|
+ hr.record_state recordState,
|
|
|
+ hr.task_id taskId,
|
|
|
+ hr.approval_time approvalTime,
|
|
|
+ hr.record_create_time recordCreateTime
|
|
|
+ from tb_rst_historical_record hr
|
|
|
+ <where>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ hr.admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ hr.approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="getHistoricalRecord" parameterType="HistoricalRecord" resultType="HistoricalRecord">
|
|
|
+ SELECT
|
|
|
+ hr.record_id recordId,
|
|
|
+ hr.approval_id approvalId,
|
|
|
+ hr.admin_id adminId,
|
|
|
+ hr.record_state recordState,
|
|
|
+ hr.task_id taskId,
|
|
|
+ hr.approval_time approvalTime,
|
|
|
+ hr.record_create_time recordCreateTime
|
|
|
+ from tb_rst_historical_record hr
|
|
|
+ <where>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ hr.admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ hr.approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="listProcessInfo" parameterType="ProcessInfo" resultType="ProcessInfo">
|
|
|
+ SELECT
|
|
|
+ process_id processId,
|
|
|
+ approval_id approvalId,
|
|
|
+ admin_id adminId,
|
|
|
+ process_desc processDesc,
|
|
|
+ process_state processState,
|
|
|
+ process_create_time processCreateTime
|
|
|
+ from tb_rst_process_info
|
|
|
+ <where>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ <if test="adminId != null and adminId != ''">
|
|
|
+ admin_id = #{adminId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 修改审批信息-->
|
|
|
+ <update id="updateApprovalInfo" parameterType="ApprovalInfo">
|
|
|
+ update tb_rst_approval_info
|
|
|
+ <set >
|
|
|
+ <if test="approvalStatus != null" >
|
|
|
+ approval_status = #{approvalStatus},
|
|
|
+ </if>
|
|
|
+ <if test="approvalStatusDetails != null" >
|
|
|
+ approval_status_details = #{approvalStatusDetails}
|
|
|
+ </if>
|
|
|
+ <if test="approvalDetails != null" >
|
|
|
+ approval_details = #{approvalDetails}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <where>
|
|
|
+ <if test="approvalId != null and approvalId != ''">
|
|
|
+ approval_id = #{approvalId}
|
|
|
+ </if>
|
|
|
+ </where>
|
|
|
+ </update>
|
|
|
<!-- <resultMap id="BaseResultMap" type="ApprovalOrderInfo" >
|
|
|
<id column="approval_id" property="approvalId" jdbcType="INTEGER" />
|
|
|
<result column="applicant_name" property="applicantName" jdbcType="VARCHAR" />
|
|
@@ -74,17 +496,6 @@
|
|
|
record_id,approval_name,admin_id,approval_id,record_state,approval_time,approval_desc,record_create_time,record_update_time
|
|
|
</sql>
|
|
|
|
|
|
-<insert id="insert" parameterType="ApprovalOrderInfo" useGeneratedKeys="true" keyProperty="approvalId">
|
|
|
- INSERT INTO tb_rst_approval_order(approval_id,applicant_name,applicant_id,order_name,
|
|
|
- company_name,contact_name,contact_tel,delivery_time,
|
|
|
- delivery_way,contract_name,contract_img,attachment_img,
|
|
|
- approval_state,current_admin_id,approval_desc,approval_create_time)
|
|
|
- VALUES
|
|
|
- (#{approvalId},(#{applicantName},#{applicantId},#{orderName},#{companyName}
|
|
|
- ,#{contactName},#{contactTel},#{deliveryTime},#{deliveryWay}
|
|
|
- ,#{contractName},#{contractImg},#{attachmentImg},#{approvalState}
|
|
|
- ,#{currentAdminId},#{approvalDesc},NOW())
|
|
|
-</insert>
|
|
|
<!– 批量添加订单项数据 –>
|
|
|
<insert id="insertItem" parameterType="ArrayList">
|
|
|
INSERT INTO tb_rst_approval_order_item
|