Lius
2023-11-17 00c2240a834316ef1321b858f939e929b405b6be
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")