Commit 4259814b authored by liboyang's avatar liboyang

新增几个查询接口

parent e95a50b9
...@@ -5,7 +5,6 @@ import com.yxproject.start.mapper.PersonPostMapper; ...@@ -5,7 +5,6 @@ import com.yxproject.start.mapper.PersonPostMapper;
import com.yxproject.start.service.PersonPostService; import com.yxproject.start.service.PersonPostService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import java.util.List;
/** /**
* @author Administrator * @author Administrator
...@@ -22,8 +21,9 @@ public class PersonPostServiceImpl implements PersonPostService { ...@@ -22,8 +21,9 @@ public class PersonPostServiceImpl implements PersonPostService {
public PersonPostEntity getPersonPostMsg(String idwaybillNumberCard) { public PersonPostEntity getPersonPostMsg(String idwaybillNumberCard) {
PersonPostEntity personPostEntity = personPostMapper.selectPersonPostMsgByIdCard(idwaybillNumberCard); PersonPostEntity personPostEntity = personPostMapper.selectPersonPostMsgByIdCard(idwaybillNumberCard);
return personPostEntity; return personPostEntity;
}
@Override @Override
public boolean updatePersonPost(List<PersonPostEntity> personPostEntities) { public boolean updatePersonPost() {
personPostMapper.updatePersonPost(personPostEntities); personPostMapper.updatePersonPost(personPostEntities);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment