From db0d34e944276dc913f70c374bf7c3bb75f9d451 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期五, 14 三月 2025 18:27:43 +0800 Subject: [PATCH] 管理后台-党员管理 --- springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java index 2ca0c24..8f64a4a 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemPostController.java @@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.*; import javax.annotation.Resource; +import java.time.LocalDateTime; /** * @author zhibing.pu @@ -28,6 +29,7 @@ @ApiOperation(value = "添加职位", tags = {"三个身边后台-职位管理"}) @OperLog(operModul = "三个身边后台",operType = 1,businessType = "添加职位") public R add(@RequestBody SystemPost systemPost) { + systemPost.setCreateTime(LocalDateTime.now()); systemPostService.save(systemPost); return R.ok(); } -- Gitblit v1.7.1