|
|
|
|
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);
|