-
admin
2025-02-12 b45b7cd0979a89f28c50643e6b02775fbbde0313
billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
@@ -33,13 +33,13 @@
            <if test="salesOrderCode != null  and salesOrderCode != ''"> and sales_order_code = #{salesOrderCode}</if>
            <if test="productCode != null  and productCode != ''"> and product_code = #{productCode}</if>
            <if test="orderStatus != null  and orderStatus != ''"> and order_status = #{orderStatus}</if>
            and del_flag = "0"
            and del_flag = 0
        </where>
    </select>
    
    <select id="selectOmProductionOrderInfoById" parameterType="Long" resultMap="OmProductionOrderInfoResult">
        <include refid="selectOmProductionOrderInfoVo"/>
        where id = #{id} and del_flag = "0"
        where id = #{id} and del_flag = 0
    </select>
    <insert id="insertOmProductionOrderInfo" parameterType="OmProductionOrderInfo" useGeneratedKeys="true" keyProperty="id">
@@ -100,11 +100,11 @@
    </update>
    <update id="deleteOmProductionOrderInfoById" parameterType="Long">
        update om_production_order_info set del_flag = "1" where id = #{id}
        update om_production_order_info set del_flag = 1 where id = #{id}
    </update>
    <update id="deleteOmProductionOrderInfoByIds" parameterType="String">
        update om_production_order_info set del_flag = "1" where id in
        update om_production_order_info set del_flag = 1 where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>