diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcdwpmServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcdwpmServiceImpl.java index 9df33968..70d14742 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcdwpmServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcdwpmServiceImpl.java @@ -1,5 +1,6 @@ package com.ruoyi.tcZz.service.impl; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.tcZz.domain.TcZcdwpm; import com.ruoyi.tcZz.mapper.TcZcdwpmMapper; import com.ruoyi.tcZz.service.ITcZcdwpmService; @@ -51,6 +52,7 @@ public class TcZcdwpmServiceImpl implements ITcZcdwpmService */ @Override public int insert(TcZcdwpm tc) { + tc.setCreateTime(DateUtils.getNowDate()); return tcZcdwpmMapper.insert(tc); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZclbServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZclbServiceImpl.java index f4326455..721d53d0 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZclbServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZclbServiceImpl.java @@ -1,5 +1,6 @@ package com.ruoyi.tcZz.service.impl; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.tcZz.domain.TcZclb; import com.ruoyi.tcZz.mapper.TcZclbMapper; import com.ruoyi.tcZz.service.ITcZclbService; @@ -50,6 +51,7 @@ public class TcZclbServiceImpl implements ITcZclbService */ @Override public int insert(TcZclb tc) { + tc.setCreateTime(DateUtils.getNowDate()); return tcZclbMapper.insert(tc); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcldsServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcldsServiceImpl.java index 2dd4b28b..f4cb38ed 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcldsServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZcldsServiceImpl.java @@ -1,5 +1,6 @@ package com.ruoyi.tcZz.service.impl; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.tcZz.domain.TcZclds; import com.ruoyi.tcZz.mapper.TcZcldsMapper; import com.ruoyi.tcZz.service.ITcZcldsService; @@ -51,6 +52,7 @@ public class TcZcldsServiceImpl implements ITcZcldsService */ @Override public int insert(TcZclds tc) { + tc.setCreateTime(DateUtils.getNowDate()); return tcZcldsMapper.insert(tc); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZczccgServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZczccgServiceImpl.java index ce802547..2ecd4a27 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZczccgServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/service/impl/TcZczccgServiceImpl.java @@ -1,5 +1,6 @@ package com.ruoyi.tcZz.service.impl; +import com.ruoyi.common.utils.DateUtils; import com.ruoyi.tcZz.domain.TcZczccg; import com.ruoyi.tcZz.mapper.TcZczccgMapper; import com.ruoyi.tcZz.service.ITcZczccgService; @@ -50,6 +51,7 @@ public class TcZczccgServiceImpl implements ITcZczccgService */ @Override public int insert(TcZczccg tc) { + tc.setCreateTime(DateUtils.getNowDate()); return tcZczccgMapper.insert(tc); }