Lius
2024-02-29 abf0df941bc5e1b77420234b0b3a33e515e390a3
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")