傅行帆 5 лет назад
Родитель
Сommit
7901034699

+ 1
- 1
src/main/java/com.huiju.welcome/service/impl/TaCustomerServiceImpl.java Просмотреть файл

@@ -695,7 +695,7 @@ public class TaCustomerServiceImpl extends ServiceImpl<TaCustomerMapper, TaCusto
695 695
         boolean a = taCustomerMapper.updateById(customer) > 0;
696 696
         boolean b = taMainUsherRecordMapper.updateById(taMainUsherRecord) > 0;
697 697
 
698
-        if (null != params.getInteger("fromRecId") && params.getInteger("fromRecId").equals(recId)){
698
+        if (null != params.getInteger("fromRecId") && !params.getInteger("fromRecId").equals(recId)){
699 699
             TaMainUsherRecord taMainUsherRecordFrom = new TaMainUsherRecord();
700 700
             taMainUsherRecordFrom.setRecId(params.getInteger("fromRecId"));
701 701
             taMainUsherRecordFrom.setStatus(CommConstant.INVALID_STATUS);