1、生产工单搜索加上生产订单号搜索。
2、列表顺序除了按照优先级进行排序,还要根据工艺路线的工序的顺序进行排序,开始的排在前面
已修改1个文件
5 ■■■■ 文件已修改
src/main/resources/mapper/production/ProductWorkOrderMapper.xml 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/production/ProductWorkOrderMapper.xml
@@ -51,7 +51,10 @@
            <if test="c.productOrderId != null and c.productOrderId != ''">
               and pwo.product_order_id = #{c.productOrderId}
            </if>
        order by pwo.priority
            <if test="c.productOrderNpsNo != null and c.productOrderNpsNo != ''">
                and po.nps_no like concat('%',#{c.productOrderNpsNo},'%')
            </if>
        order by pwo.priority, pp.id
    </select>
    <select id="getByProductOrderId" resultType="com.ruoyi.production.dto.ProductWorkOrderDto">