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>