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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.esms.service.impl ;
import com.esms.dao.PositionMapper ;
import com.esms.po.Position ;
import com.esms.service.PositionService ;
import org.springframework.beans.factory.annotation.Autowired ;
import org.springframework.stereotype.Service ;
import java.util.List ;
/**
* @Description:
*/
@Service
public class PositionServiceImpl implements PositionService {
@Autowired
public PositionMapper positionMapper = null ;
@Override
public List < Position > findSelective ( Position position ) {
return positionMapper . findSelective ( position ) ;
}
@Override
public int insertSelective ( Position position ) {
return positionMapper . insertSelective ( position ) ;
}
@Override
public Position findByPrimaryKey ( int id ) {
return positionMapper . selectByPrimaryKey ( id ) ;
}
@Override
public void updateByPrimaryKeySelective ( Position position ) {
positionMapper . updateByPrimaryKeySelective ( position ) ;
}
@Override
public void deleteByPrimaryKey ( int id ) {
positionMapper . deleteByPrimaryKey ( id ) ;
}
@Override
public void deleteByQuery ( int [ ] ids ) {
positionMapper . deleteByQuery ( ids ) ;
}
@Override
public Position findByDname ( String p_name ) {
return positionMapper . findByDname ( p_name ) ;
}
}