/**
* 通过老科室主键查询对照
*
* @return
*/
public DepartmentMapping getDepartmentMappingByOldId(Long oldId) {
DepartmentMappingPo po = new LambdaQueryChainWrapper<>(this.departmentMappingMapper)
.eq(DepartmentMappingPo::getOldId, oldId)
.last(" LIMIT 1 ")
.one();
return DepartmentMappingConverter.ME.po2bo(po);
}
标签:return,MyBatisPlus,oldId,DepartmentMappingPo,lambdaChainWrapper,po
From: https://www.cnblogs.com/JaxYoun/p/16916331.html