Lius
2024-03-07 c51323e6fcc84f08bc8c01e3dd6c916427f83f4e
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")