傅行帆 5 年前
父节点
当前提交
7901034699
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/java/com.huiju.welcome/service/impl/TaCustomerServiceImpl.java

+ 1
- 1
src/main/java/com.huiju.welcome/service/impl/TaCustomerServiceImpl.java 查看文件

695
         boolean a = taCustomerMapper.updateById(customer) > 0;
695
         boolean a = taCustomerMapper.updateById(customer) > 0;
696
         boolean b = taMainUsherRecordMapper.updateById(taMainUsherRecord) > 0;
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
             TaMainUsherRecord taMainUsherRecordFrom = new TaMainUsherRecord();
699
             TaMainUsherRecord taMainUsherRecordFrom = new TaMainUsherRecord();
700
             taMainUsherRecordFrom.setRecId(params.getInteger("fromRecId"));
700
             taMainUsherRecordFrom.setRecId(params.getInteger("fromRecId"));
701
             taMainUsherRecordFrom.setStatus(CommConstant.INVALID_STATUS);
701
             taMainUsherRecordFrom.setStatus(CommConstant.INVALID_STATUS);