package com.ydtech.modules.fnc.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.ydtech.modules.fnc.dao.InsPlyIncomeLogMapper; import com.ydtech.modules.fnc.entity.InsPlyIncome; import com.ydtech.modules.fnc.entity.InsPlyIncomeLog; import com.ydtech.modules.fnc.service.InsPlyIncomeLogService; import org.apache.ibatis.annotations.Mapper; import org.springframework.beans.BeanUtils; import org.springframework.stereotype.Service; import java.time.LocalDate; @Service public class InsPlyIncomeLogServiceImpl extends ServiceImpl implements InsPlyIncomeLogService { @Override public void saveLog(InsPlyIncomeLog insPlyIncomeLog) { insPlyIncomeLog.setCreateTime(LocalDate.now()); baseMapper.insert(insPlyIncomeLog); } }