chenlu
2024-09-05 cb05a90ebb7d71099a66fb03382cc93a4fa0a8ee
north-glass-erp/src/main/resources/mapper/pp/WordOrder.xml
@@ -8,6 +8,7 @@
        <result column="order_id" property="orderId"/>
        <result column="production_id" property="productionId"/>
        <result column="splitting_status" property="splittingStatus"/>
        <result column="founder" property="founder"/>
        <result column="create_time" property="createTime"/>
        <!--接收其他外键实体类数据-->
            <result column="batch" property="order.batch"/>
@@ -78,6 +79,7 @@
        o.order_id,
        od.order_number,
        ogd.production_id,
        ogd.founder,
        o.batch,
        o.project,
        o.order_type,
@@ -93,7 +95,7 @@
        left join `order` as o
        on o.order_id=ogd.order_id
        where ogd.production_id IS NOT NULL
        and o.order_review>0
        <if test="orderGlassDetail.orderId != null and orderGlassDetail.orderId != ''">
            and o.order_id regexp #{orderGlassDetail.orderId}
        </if>