master
shijie 4 years ago
parent 056ceaa467
commit f96e59b606
  1. 8
      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) {
AlInsuranceList alInsuranceList = this.baseMapper.selectById(id);
AlInsuranceListRes res = new AlInsuranceListRes();
BeanUtils.copyProperties(alInsuranceList,res);
return res;
if(alInsuranceList!=null){
BeanUtils.copyProperties(alInsuranceList,res);
return res;
}else{
return null;
}
}
@Override

Loading…
Cancel
Save