buhuazhen
2026-04-27 c30ac5918122426ea7a33dbe411aa39b3c7aa2ca
feat(productionPrintOrderExcel) excel导出
已修改2个文件
6 ■■■■ 文件已修改
src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/production/ProductionProductMainMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/ruoyi/production/service/impl/ProductionProductMainServiceImpl.java
@@ -167,8 +167,8 @@
            productionProductMain.setStartTime(productWorkOrder.getStartProductTime());
            productionProductMain.setEndTime(now);
        }
        productionProductMain.setDeviceId(productProcess.getDeviceId());
        productionProductMain.setDeviceName(productProcess.getDeviceName());
//        productionProductMain.setDeviceId(productProcess.getDeviceId());
//        productionProductMain.setDeviceName(productProcess.getDeviceName());
        productionProductMainMapper.insert(productionProductMain);
        /*新增报工投入表*/
        List<ProductStructureDto> productStructureDtos = productStructureMapper.listBybomAndProcess(productProcessRoute.getBomId(), productProcess.getId());
src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -55,7 +55,7 @@
                and ppm.work_order_id = #{c.workOrderId}
            </if>
        </where>
        order by ppm.id
        order by pwo.id desc, ppm.id asc
    </select>
    <select id="getOrderByMainId" resultType="com.ruoyi.production.pojo.ProductOrder">