Houjie
2025-06-15 5e6c3ac5d7c7a2702a0bad5195e954c9e95d2306
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/controller/CutterController.java
@@ -95,4 +95,32 @@
    public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
        return super.importExcel(request, response, Cutter.class);
    }
    /**
     * 提取刀具
     * @param docId 文档Id
     * @return
     */
    @AutoLog(value = "刀具信息-提取刀具")
    @ApiOperation(value = "刀具信息-提取刀具", notes = "刀具信息-提取刀具")
    @GetMapping("/extractCutterInfo/{docId}/{attributionType}/{attributionId}")
    public Result<?> extractCutterInfo(@PathVariable("docId") String docId
            ,@PathVariable("attributionType") Integer attributionType
            ,@PathVariable("attributionId") String attributionId) {
        return service.extractAndSaveFromContent(docId,attributionId,attributionType);
    }
    /**
     * 发送刀具系统
     * @param docId 文档Id
     * @return
     */
    @AutoLog(value = "刀具信息-发送刀具系统")
    @ApiOperation(value = "刀具信息-发送刀具系统", notes = "刀具信息-发送刀具系统")
    @GetMapping("/sendCutterInfo/{docId}/{attributionType}/{attributionId}")
    public Result<?> sendCutterInfo(@PathVariable("docId") String docId
            ,@PathVariable("attributionType") Integer attributionType
            ,@PathVariable("attributionId") String attributionId) {
        return service.sendToCutterSystem(docId,attributionId,attributionType);
    }
}