Ver Fonte

自然资源新增业务类型

mycopy123@163.com há 1 ano atrás
pai
commit
b249e30d5c

+ 8 - 0
src/main/java/com/trs/ggzyexchange/enums/ClassIfy.java

@@ -64,10 +64,18 @@ public enum ClassIfy {
 
     MEDICAL("medical", "医疗交易"),
     MEDICAL_TRANSACTION_ANNOUNCEMENT("medical_transaction_announcement", "交易公告"),
+
+    zrzy_td("zrzy_td", "国有建设用地使用权"),
+    zrzy_ky("zrzy_ky", "矿业权"),
+    zrzy_bg("zrzy_bg", "补充耕地指标"),
+    zrzy_jy("zrzy_jy", "城乡建设用地增减挂钩节余指标"),
+    zrzy_dk("zrzy_dk", "地质勘查基金"),
+
     ;
 
 
 
+
     /**
      * 编码标识
      */

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyBgBidwinNoticeSchedul.java

@@ -186,6 +186,7 @@ public class ZrzyBgBidwinNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_bg.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyBgNoticeSchedul.java

@@ -178,6 +178,7 @@ public class ZrzyBgNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_bg.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyCkqBidwinnoticeSchedul.java

@@ -176,6 +176,7 @@ public class ZrzyCkqBidwinnoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_ky.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyCkqNoticeSchedul.java

@@ -177,6 +177,7 @@ public class ZrzyCkqNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_ky.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyDkBinwinNoticeSchedul.java

@@ -176,6 +176,7 @@ public class ZrzyDkBinwinNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_dk.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyDkNoticeSchedul.java

@@ -178,6 +178,7 @@ public class ZrzyDkNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_dk.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyJyzbBidwinNoticeSchedul.java

@@ -182,6 +182,7 @@ public class ZrzyJyzbBidwinNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_jy.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyJyzbNoticeSchedul.java

@@ -175,6 +175,7 @@ public class ZrzyJyzbNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_jy.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyTdBidwinnoticeSchedul.java

@@ -185,6 +185,7 @@ public class ZrzyTdBidwinnoticeSchedul   implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_td.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyTdCedeNoticeSchedul.java

@@ -177,6 +177,7 @@ public class ZrzyTdCedeNoticeSchedul    implements Job {
                 record.setTransactionTypeCode(ClassIfy.NATURAL_RESOURCES.getCode());
                 record.setTransactionTypeName(ClassIfy.NATURAL_RESOURCES.getName());
                 record = tenderDetailsVoService.getTenderDetailsVoAllOrther(record);
+                record.setIndustriesTypeName(ClassIfy.zrzy_td.getName());
                 try {
                     String regionCode = record.getRegionCode();
                     AreaPlatform areaPlatformByRegionCode = areaPlatformService.getAreaPlatformByRegionCode(regionCode);

+ 1 - 0
src/main/java/com/trs/ggzyexchange/schedul/ZrzyTkqNoticeSchedul.java

@@ -177,6 +177,7 @@ public class ZrzyTkqNoticeSchedul implements Job {
                        record.setPlatformCode(areaPlatformByRegionCode.getPlatformCode());
                        record.setPlatformName(areaPlatformByRegionCode.getRegionName());
                    }
+                   record.setIndustriesTypeName(ClassIfy.zrzy_ky.getName());
                }catch (Exception e){
                    e.printStackTrace();
                }