| | |
| | | package com.zy.asrs.wms.system.service.impl; |
| | | |
| | | import com.zy.asrs.wms.system.mapper.OperationRecordMapper; |
| | | import com.zy.asrs.wms.system.entity.OperationRecord; |
| | | import com.zy.asrs.wms.system.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); |
| | | } |
| | | |
| | | } |
| | | package com.zy.asrs.wms.system.service.impl;
|
| | |
|
| | | import com.zy.asrs.wms.system.mapper.OperationRecordMapper;
|
| | | import com.zy.asrs.wms.system.entity.OperationRecord;
|
| | | import com.zy.asrs.wms.system.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);
|
| | | }
|
| | |
|
| | | }
|