master
shijie 4 years ago
parent 056ceaa467
commit f96e59b606
  1. 4
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/AlInsuranceListServiceImpl.java

@ -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();
if(alInsuranceList!=null){
BeanUtils.copyProperties(alInsuranceList,res); BeanUtils.copyProperties(alInsuranceList,res);
return res; return res;
}else{
return null;
}
} }
@Override @Override

Loading…
Cancel
Save