Lius
2024-05-09 efc5dece153d8e51f9e18e136a35558c4ae8a894
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")