InsPlyIncomeLogServiceImpl.java 830 B

123456789101112131415161718192021
  1. package com.ydtech.modules.fnc.service.impl;
  2. import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
  3. import com.ydtech.modules.fnc.dao.InsPlyIncomeLogMapper;
  4. import com.ydtech.modules.fnc.entity.InsPlyIncome;
  5. import com.ydtech.modules.fnc.entity.InsPlyIncomeLog;
  6. import com.ydtech.modules.fnc.service.InsPlyIncomeLogService;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.springframework.beans.BeanUtils;
  9. import org.springframework.stereotype.Service;
  10. import java.time.LocalDate;
  11. @Service
  12. public class InsPlyIncomeLogServiceImpl extends ServiceImpl<InsPlyIncomeLogMapper, InsPlyIncomeLog> implements InsPlyIncomeLogService {
  13. @Override
  14. public void saveLog(InsPlyIncomeLog insPlyIncomeLog) {
  15. insPlyIncomeLog.setCreateTime(LocalDate.now());
  16. baseMapper.insert(insPlyIncomeLog);
  17. }
  18. }