#
luxiaotao1123
2024-02-14 34cbd8375f3048a88a1f83c042632b5b19d13270
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/OperationRecordServiceImpl.java
@@ -4,9 +4,16 @@
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);
    }
}