|
|
@ -57,8 +57,12 @@ public class AlInsuranceListServiceImpl extends ServiceImpl<AlInsuranceListMappe |
|
|
|
public AlInsuranceListRes insuranceDetail(Integer id) { |
|
|
|
public AlInsuranceListRes insuranceDetail(Integer id) { |
|
|
|
AlInsuranceList alInsuranceList = this.baseMapper.selectById(id); |
|
|
|
AlInsuranceList alInsuranceList = this.baseMapper.selectById(id); |
|
|
|
AlInsuranceListRes res = new AlInsuranceListRes(); |
|
|
|
AlInsuranceListRes res = new AlInsuranceListRes(); |
|
|
|
BeanUtils.copyProperties(alInsuranceList,res); |
|
|
|
if(alInsuranceList!=null){ |
|
|
|
return res; |
|
|
|
BeanUtils.copyProperties(alInsuranceList,res); |
|
|
|
|
|
|
|
return res; |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|