12345678910111213141516171819202122232425 |
- package com.hz.employmentsite.services.impl;
- import com.hz.employmentsite.mapper.PcLongitudeLatitudeMapper;
- import com.hz.employmentsite.model.PcLongitudeLatitude;
- import com.hz.employmentsite.services.service.LongitudeLatitudeService;
- import org.springframework.stereotype.Service;
- import javax.annotation.Resource;
- import java.util.UUID;
- @Service
- public class LongitudeLatitudeServiceImpl implements LongitudeLatitudeService {
- @Resource
- private PcLongitudeLatitudeMapper pcLongitudeLatitudeMapper;
- @Override
- public Integer save(PcLongitudeLatitude data) {
- Integer result = 0;
- data.setLongitudeLatitudeId(UUID.randomUUID().toString());
- result = pcLongitudeLatitudeMapper.insert(data);
- return result;
- }
- }
|