Lius
2023-12-14 c9b74cad45958b8ec7f9fe7fbe4f452dff3cdbd2
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/SerialNumberMapController.java
@@ -38,11 +38,11 @@
    // 新增
    @PostMapping("/add")
    public Result<?> add (@RequestBody SerialNumberMap snm){
        snm.setYearFormat("yy");
        snm.setYearFormat("yyyy");
        snm.setMonthFormat("MM");
        snm.setDayFormat("dd");
        serialNumberMapService.save(snm);
        return Result.ok();
        return Result.ok("添加成功!");
    }
    @PutMapping(value = "/edit")