@ -21,6 +21,7 @@ import com.epmet.dao.IcDangerousChemicalsDao;
import com.epmet.dto.CustomerAgencyDTO ;
import com.epmet.dto.CustomerAgencyDTO ;
import com.epmet.dto.CustomerGridDTO ;
import com.epmet.dto.CustomerGridDTO ;
import com.epmet.dto.IcDangerousChemicalsDTO ;
import com.epmet.dto.IcDangerousChemicalsDTO ;
import com.epmet.dto.form.BelongGridNameFormDTO ;
import com.epmet.dto.form.IcDangerousChemicalsAddEditFormDTO ;
import com.epmet.dto.form.IcDangerousChemicalsAddEditFormDTO ;
import com.epmet.dto.form.IcDangerousChemicalsListFormDTO ;
import com.epmet.dto.form.IcDangerousChemicalsListFormDTO ;
import com.epmet.dto.form.ImportTaskCommonFormDTO ;
import com.epmet.dto.form.ImportTaskCommonFormDTO ;
@ -123,6 +124,14 @@ public class IcDangerousChemicalsServiceImpl extends BaseServiceImpl<IcDangerous
if ( StringUtils . isNotBlank ( v . getDangerType ( ) ) ) {
if ( StringUtils . isNotBlank ( v . getDangerType ( ) ) ) {
v . setDangerTypeName ( statusMap . get ( v . getDangerType ( ) ) ) ;
v . setDangerTypeName ( statusMap . get ( v . getDangerType ( ) ) ) ;
}
}
if ( OrgTypeEnum . GRID . getCode ( ) . equals ( v . getOrgType ( ) ) ) {
BelongGridNameFormDTO belongGridNameFormDTO = new BelongGridNameFormDTO ( ) ;
belongGridNameFormDTO . setGridId ( v . getOrgId ( ) ) ;
v . setOrgName ( customerGridService . getGridNameByGridId ( belongGridNameFormDTO ) . getBelongsGridName ( ) ) ;
} else if ( OrgTypeEnum . AGENCY . getCode ( ) . equals ( v . getOrgType ( ) ) ) {
v . setOrgName ( customerAgencyService . getAgencyName ( v . getOrgId ( ) ) ) ;
}
}
}
}
}