张延森 hace 5 años
padre
commit
0a879da324

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRaiseServiceImpl.java Ver fichero

128
             wrapper.last("limit 1");
128
             wrapper.last("limit 1");
129
             taRaiseRecord = taRaiseRecordMapper.selectOne(wrapper);
129
             taRaiseRecord = taRaiseRecordMapper.selectOne(wrapper);
130
 
130
 
131
-            if (taRaise == null) {
131
+            if (taRaise == null && taRaiseRecord != null) {
132
                 taRaise = this.getById(taRaiseRecord.getRaiseId());
132
                 taRaise = this.getById(taRaiseRecord.getRaiseId());
133
             }
133
             }
134
         }
134
         }