|
|
@ -44,7 +44,15 @@ public class EnforcementInspectionProgramServiceImpl implements IEnforcementInsp |
|
|
@Override |
|
|
@Override |
|
|
public EnforcementInspectionProgram selectEnforcementInspectionProgramById(String id) |
|
|
public EnforcementInspectionProgram selectEnforcementInspectionProgramById(String id) |
|
|
{ |
|
|
{ |
|
|
return enforcementInspectionProgramMapper.selectEnforcementInspectionProgramById(id); |
|
|
EnforcementInspectionProgram enforcementInspectionProgram=enforcementInspectionProgramMapper.selectEnforcementInspectionProgramById(id); |
|
|
|
|
|
List<ZdxtFileCommon> zdxtFileCommons = zdxtFileCommonApi.selectZdxtFileById(id); |
|
|
|
|
|
if(zdxtFileCommons != null && zdxtFileCommons.size() > 0){ |
|
|
|
|
|
EnforcementInspectionProgram.FileObject fileObject = new EnforcementInspectionProgram.FileObject(); |
|
|
|
|
|
fileObject.setFileName(zdxtFileCommons.get(0).getFileName()); |
|
|
|
|
|
fileObject.setFileUrl(zdxtFileCommons.get(0).getUploadPath()); |
|
|
|
|
|
enforcementInspectionProgram.setFileObject(fileObject); |
|
|
|
|
|
} |
|
|
|
|
|
return enforcementInspectionProgram; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|