|
@@ -179,6 +179,15 @@ public class QyRecordController {
|
|
|
if (devDict != null){
|
|
|
item.setCompanyType(devDict.getDictLabel());
|
|
|
}
|
|
|
+ //主海海关
|
|
|
+ String companyMainHgType = item.getCompanyMainHgType();
|
|
|
+ parentId = "1808706660586893313";
|
|
|
+ devDict = devDictService.getOne(new QueryWrapper<DevDict>().checkSqlInjection().lambda()
|
|
|
+ .eq(DevDict::getParentId, parentId)
|
|
|
+ .eq(DevDict::getDictValue,companyMainHgType));
|
|
|
+ if (devDict != null){
|
|
|
+ item.setCompanyType(devDict.getDictLabel());
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
exportExcel(response,QyRecord.class,records,"企业资质备案");
|