소스 검색

Merge remote-tracking branch 'origin/saas' into saas

zouxuan 3 년 전
부모
커밋
8aa2e9f4d4
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/ExportServiceImpl.java

+ 2 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/ExportServiceImpl.java

@@ -2037,7 +2037,8 @@ public class ExportServiceImpl implements ExportService {
             	
             	currentFee = row.getServiceFee();
                 
-				if (currentFee == null || currentFee.floatValue() == 0) {
+            	//兼容2022年之前的数据
+				if (currentFee == null || (currentFee.floatValue() == 0 && row.getCreateTime().before(DateUtil.stringToDate("2022-01-01 00:00:00")))) {
 					transferFee = serviceChargeMap.get(row.getOrderNo());
 					if (transferFee == null) {
 						transferFee = BigDecimal.ZERO;