张延森 5 vuotta sitten
vanhempi
commit
0a879da324

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TaRaiseServiceImpl.java Näytä tiedosto

@@ -128,7 +128,7 @@ public class TaRaiseServiceImpl extends ServiceImpl<TaRaiseMapper, TaRaise> impl
128 128
             wrapper.last("limit 1");
129 129
             taRaiseRecord = taRaiseRecordMapper.selectOne(wrapper);
130 130
 
131
-            if (taRaise == null) {
131
+            if (taRaise == null && taRaiseRecord != null) {
132 132
                 taRaise = this.getById(taRaiseRecord.getRaiseId());
133 133
             }
134 134
         }