You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
55 lines
1.2 KiB
package com.ischoolbar.programmer.service.home.impl;
|
|
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import com.ischoolbar.programmer.dao.home.AddressDao;
|
|
import com.ischoolbar.programmer.entity.home.Address;
|
|
import com.ischoolbar.programmer.service.home.AddressService;
|
|
@Service
|
|
public class AddressServiceImpl implements AddressService {
|
|
|
|
@Autowired
|
|
private AddressDao addressDao;
|
|
|
|
@Override
|
|
public int add(Address address) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.add(address);
|
|
}
|
|
|
|
@Override
|
|
public int edit(Address address) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.edit(address);
|
|
}
|
|
|
|
@Override
|
|
public int delete(Long id) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.delete(id);
|
|
}
|
|
|
|
@Override
|
|
public List<Address> findList(Map<String, Object> queMap) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.findList(queMap);
|
|
}
|
|
|
|
@Override
|
|
public Integer getTotal(Map<String, Object> queryMap) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.getTotal(queryMap);
|
|
}
|
|
|
|
@Override
|
|
public Address findById(Long id) {
|
|
// TODO Auto-generated method stub
|
|
return addressDao.findById(id);
|
|
}
|
|
|
|
}
|