| | |
| | | package com.iailab.module.ansteel.sync.service.impl; |
| | | |
| | | import com.iailab.module.ansteel.sync.dao.SyncLogDao; |
| | | import com.iailab.module.ansteel.sync.entity.SyncLogEntity; |
| | | import com.iailab.module.ansteel.sync.service.SyncLogService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | | * @Description |
| | | * @createTime 2025年06月18日 |
| | | */ |
| | | public class SyncLogServiceImpl { |
| | | @Slf4j |
| | | @Service |
| | | public class SyncLogServiceImpl implements SyncLogService { |
| | | @Resource |
| | | private SyncLogDao syncLogDao; |
| | | |
| | | @Override |
| | | public void save(String remark) { |
| | | SyncLogEntity syncLogEntity = new SyncLogEntity(); |
| | | syncLogEntity.setTableName("t_sync_log"); |
| | | syncLogEntity.setRemark(remark); |
| | | syncLogEntity.setCreateDate(new Date()); |
| | | syncLogDao.insert(syncLogEntity); |
| | | } |
| | | } |