廖井涛
2024-06-13 a447cbc8b560a5c99b2c3fb2e9066d66e045f950
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
@@ -3,6 +3,7 @@
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.example.erp.common.Constants;
import com.example.erp.entity.pp.FlowCard;
import com.example.erp.entity.pp.PrintSetup;
import com.example.erp.entity.sd.DeliveryDetail;
import com.example.erp.entity.sd.Order;
import com.example.erp.common.Result;
@@ -181,6 +182,12 @@
        return Result.seccess(flowCardService.getSelectPrintingSv(object));
    }
    @ApiOperation("打印标签数据查询接口")
    @PostMapping("/getSelectPrintLabel")
    public Result getSelectPrintLabel( @RequestBody Map<String,Object> object){
        return Result.seccess(flowCardService.getSelectPrintLabelSv(object));
    }
    @ApiOperation("复选框修改排版状态")
    @SaCheckPermission("SelectProcessCard.review")
    @PostMapping("/updateComposing")
@@ -190,4 +197,20 @@
        return  Result.seccess(flowCardService.updateComposingSv(object));
    }
    @ApiOperation("打印标签设置查询")
    @SaCheckPermission("PrintFlowCard.search")
    @PostMapping  ("/printSetup")
    public Result printSetup(@RequestBody PrintSetup printSetup){
        return Result.seccess(flowCardService.printSetup(printSetup));
    }
    @ApiOperation("修改打印标签内容")
    @SaCheckPermission("PrintFlowCard.search")
    @PostMapping("/updatePrintSetup")
    public Result updatePrintSetup(@RequestBody Map<String,Object>  object)
    {
        return  Result.seccess(flowCardService.updatePrintSetup(object));
    }
}