chenlu
2025-12-01 1e56bd5cc3be7f7957788f2606c7f56cb4d27f50
north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -95,7 +95,8 @@
            o.area = od.c,
            o.perimeter= od.aa,
            o.other_money = ifnull(c.money,0),
            o.other_remarks = (select group_concat( distinct edging_type) from order_detail where order_id = #{orderId} and  edging_type is not null)
            o.other_remarks = (select GROUP_CONCAT(DISTINCT edging_type)
        from order_detail where order_id = #{orderId} and  edging_type is not null)
        where
            o.order_id = #{orderId}
@@ -436,4 +437,17 @@
    <update id="updateOrderFile">
        update sd.order_file set file_name=#{fileName},file_data=#{dxfData},file_json=#{fileJson},create_time=now() where order_id=#{orderId} and order_number=#{orderNumber}
    </update>
    <select id="selectProcessAttributeConfigOne">
        select  * from sd.process_attribute_config
        where level=1
    </select>
    <select id="selectProcessAttributeConfigTow">
        select  * from sd.process_attribute_config
        where level=2 and belong=#{belong}
    </select>
</mapper>