Bläddra i källkod

主海海关字典翻译

heguanxun 2 månader sedan
förälder
incheckning
2bde1dddab

+ 9 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qyrecord/controller/QyRecordController.java

@@ -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,"企业资质备案");