|
@@ -754,6 +754,13 @@ public class EmailParseService {
|
|
|
}catch (Exception e){
|
|
|
log.error(e.getMessage(),e);
|
|
|
}
|
|
|
+ // 2.单位净值或累计净值不大于0
|
|
|
+ if (StrUtil.isNotBlank(fundNavDTO.getNav()) && StrUtil.isNotBlank(fundNavDTO.getCumulativeNavWithdrawal())) {
|
|
|
+ if(fundNavDTO.getNav().compareTo("0") <= 0 || fundNavDTO.getCumulativeNavWithdrawal().compareTo("0") <= 0) {
|
|
|
+ fundNavDTO.setParseStatus(NavParseStatusConst.NAV_NEGATIVE);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
// 考虑单独规模文件时 -> 无单位净值和累计净值
|
|
|
// 2.单位净值或累计净值不大于0
|
|
|
// if (!emailTitle.contains("规模")) {
|