main
杜函宇 5 months ago
parent 08b76690e0
commit 7cde892f4e

@ -1,5 +1,6 @@
package com.ruoyi.tcZz.service.impl; package com.ruoyi.tcZz.service.impl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.tcZz.domain.TcZcdwpm; import com.ruoyi.tcZz.domain.TcZcdwpm;
import com.ruoyi.tcZz.mapper.TcZcdwpmMapper; import com.ruoyi.tcZz.mapper.TcZcdwpmMapper;
import com.ruoyi.tcZz.service.ITcZcdwpmService; import com.ruoyi.tcZz.service.ITcZcdwpmService;
@ -51,6 +52,7 @@ public class TcZcdwpmServiceImpl implements ITcZcdwpmService
*/ */
@Override @Override
public int insert(TcZcdwpm tc) { public int insert(TcZcdwpm tc) {
tc.setCreateTime(DateUtils.getNowDate());
return tcZcdwpmMapper.insert(tc); return tcZcdwpmMapper.insert(tc);
} }

@ -1,5 +1,6 @@
package com.ruoyi.tcZz.service.impl; package com.ruoyi.tcZz.service.impl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.tcZz.domain.TcZclb; import com.ruoyi.tcZz.domain.TcZclb;
import com.ruoyi.tcZz.mapper.TcZclbMapper; import com.ruoyi.tcZz.mapper.TcZclbMapper;
import com.ruoyi.tcZz.service.ITcZclbService; import com.ruoyi.tcZz.service.ITcZclbService;
@ -50,6 +51,7 @@ public class TcZclbServiceImpl implements ITcZclbService
*/ */
@Override @Override
public int insert(TcZclb tc) { public int insert(TcZclb tc) {
tc.setCreateTime(DateUtils.getNowDate());
return tcZclbMapper.insert(tc); return tcZclbMapper.insert(tc);
} }

@ -1,5 +1,6 @@
package com.ruoyi.tcZz.service.impl; package com.ruoyi.tcZz.service.impl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.tcZz.domain.TcZclds; import com.ruoyi.tcZz.domain.TcZclds;
import com.ruoyi.tcZz.mapper.TcZcldsMapper; import com.ruoyi.tcZz.mapper.TcZcldsMapper;
import com.ruoyi.tcZz.service.ITcZcldsService; import com.ruoyi.tcZz.service.ITcZcldsService;
@ -51,6 +52,7 @@ public class TcZcldsServiceImpl implements ITcZcldsService
*/ */
@Override @Override
public int insert(TcZclds tc) { public int insert(TcZclds tc) {
tc.setCreateTime(DateUtils.getNowDate());
return tcZcldsMapper.insert(tc); return tcZcldsMapper.insert(tc);
} }

@ -1,5 +1,6 @@
package com.ruoyi.tcZz.service.impl; package com.ruoyi.tcZz.service.impl;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.tcZz.domain.TcZczccg; import com.ruoyi.tcZz.domain.TcZczccg;
import com.ruoyi.tcZz.mapper.TcZczccgMapper; import com.ruoyi.tcZz.mapper.TcZczccgMapper;
import com.ruoyi.tcZz.service.ITcZczccgService; import com.ruoyi.tcZz.service.ITcZczccgService;
@ -50,6 +51,7 @@ public class TcZczccgServiceImpl implements ITcZczccgService
*/ */
@Override @Override
public int insert(TcZczccg tc) { public int insert(TcZczccg tc) {
tc.setCreateTime(DateUtils.getNowDate());
return tcZczccgMapper.insert(tc); return tcZczccgMapper.insert(tc);
} }

Loading…
Cancel
Save