chenlu
2024-02-22 45c2ca7404c451b5dc150e3ee564d78dce1d73fb
提交拉取
3个文件已修改
48 ■■■■ 已修改文件
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/target/classes/mapper/pp/FolwCard.xml 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
north-glass-erp/src/main/resources/mapper/pp/FolwCard.xml
@@ -134,18 +134,18 @@
                 left join sd.order_glass_detail as ogd
                           on od.order_id = ogd.order_id and od.order_number = ogd.order_number
        where od.order_id = #{orderId}
        <if test="orderDetail.orderId != null and orderDetail.orderId != ''">
            and od.order_id regexp #{orderDetail.orderId}
        </if>
        <if test="flowCard.orderGlassDetail.productionId != null and flowCard.orderGlassDetail.productionId != ''">
            and ogd.production_id regexp #{flowCard.orderGlassDetail.productionId}
        </if>
        <if test="orderDetail.productId != null and orderDetail.productId != ''">
            and od.product_id regexp #{orderDetail.productId}
        </if>
        <if test="orderDetail.productName != null and orderDetail.productName != ''">
            and od.product_name regexp #{orderDetail.productName}
        </if>
<!--        <if test="orderDetail.orderId != null and orderDetail.orderId != ''">-->
<!--            and od.order_id regexp #{orderDetail.orderId}-->
<!--        </if>-->
<!--        <if test="flowCard.orderGlassDetail.productionId != null and flowCard.orderGlassDetail.productionId != ''">-->
<!--            and ogd.production_id regexp #{flowCard.orderGlassDetail.productionId}-->
<!--        </if>-->
<!--        <if test="orderDetail.productId != null and orderDetail.productId != ''">-->
<!--            and od.product_id regexp #{orderDetail.productId}-->
<!--        </if>-->
<!--        <if test="orderDetail.productName != null and orderDetail.productName != ''">-->
<!--            and od.product_name regexp #{orderDetail.productName}-->
<!--        </if>-->
        group by od.order_id, ogd.production_id
    </select>
north-glass-erp/target/classes/mapper/pp/FolwCard.xml
@@ -134,18 +134,18 @@
                 left join sd.order_glass_detail as ogd
                           on od.order_id = ogd.order_id and od.order_number = ogd.order_number
        where od.order_id = #{orderId}
        <if test="orderDetail.orderId != null and orderDetail.orderId != ''">
            and od.order_id regexp #{orderDetail.orderId}
        </if>
        <if test="flowCard.orderGlassDetail.productionId != null and flowCard.orderGlassDetail.productionId != ''">
            and ogd.production_id regexp #{flowCard.orderGlassDetail.productionId}
        </if>
        <if test="orderDetail.productId != null and orderDetail.productId != ''">
            and od.product_id regexp #{orderDetail.productId}
        </if>
        <if test="orderDetail.productName != null and orderDetail.productName != ''">
            and od.product_name regexp #{orderDetail.productName}
        </if>
<!--        <if test="orderDetail.orderId != null and orderDetail.orderId != ''">-->
<!--            and od.order_id regexp #{orderDetail.orderId}-->
<!--        </if>-->
<!--        <if test="flowCard.orderGlassDetail.productionId != null and flowCard.orderGlassDetail.productionId != ''">-->
<!--            and ogd.production_id regexp #{flowCard.orderGlassDetail.productionId}-->
<!--        </if>-->
<!--        <if test="orderDetail.productId != null and orderDetail.productId != ''">-->
<!--            and od.product_id regexp #{orderDetail.productId}-->
<!--        </if>-->
<!--        <if test="orderDetail.productName != null and orderDetail.productName != ''">-->
<!--            and od.product_name regexp #{orderDetail.productName}-->
<!--        </if>-->
        group by od.order_id, ogd.production_id
    </select>