| | |
| | | import com.zy.asrs.wcs.sys.entity.OperationRecord; |
| | | import com.zy.asrs.wcs.sys.service.OperationRecordService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | @Service("operationRecordService") |
| | | public class OperationRecordServiceImpl extends ServiceImpl<OperationRecordMapper, OperationRecord> implements OperationRecordService { |
| | | |
| | | @Async |
| | | @Override |
| | | public void saveAsync(OperationRecord operationRecord) { |
| | | baseMapper.insert(operationRecord); |
| | | } |
| | | |
| | | } |