소스 검색

线路导出修改

gao.qiang 1 년 전
부모
커밋
733bb50a4f

+ 4 - 2
business-service/src/main/java/com/ozs/entity/BaseRailwayManagement.java

@@ -79,18 +79,20 @@ public class BaseRailwayManagement extends BaseEntity implements Serializable {
     /**
      * 起始里程
      */
+    @Excel(name = "起始里程", type = Excel.Type.EXPORT)
     private Integer initialMileage;
 
     @TableField(exist = false)
-    @Excel(name = "起始里程")
+    @Excel(name = "起始里程", type = Excel.Type.IMPORT)
     private BigDecimal initialMileageBD;
     
     /**
      * 结束里程
      */
+    @Excel(name = "起始里程", type = Excel.Type.EXPORT)
     private Integer endMileage;
     @TableField(exist = false)
-    @Excel(name = "结束里程")
+    @Excel(name = "结束里程", type = Excel.Type.IMPORT)
     private BigDecimal endMileageBD;
 
     /**

+ 0 - 6
business-service/src/main/java/com/ozs/entity/vo/BaseRailwayManagementVo.java

@@ -34,10 +34,4 @@ public class BaseRailwayManagementVo extends PageVo implements Serializable {
     private String railwayCode;
 
     private List<Long> ids;
-
-    @Excel(name = "起始里程")
-    private Integer initialMileage;
-    
-    @Excel(name = "结束里程")
-    private Integer endMileage;
 }