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

@ -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);
}

@ -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);
}

@ -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);
}

@ -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);
}

Loading…
Cancel
Save