|
|
|
@ -72,9 +72,10 @@ public class HighAgentServiceImpl implements HighAgentService { |
|
|
|
|
highAgentMapper.updateByPrimaryKey(highAgentModel); |
|
|
|
|
// 查询主账号
|
|
|
|
|
SecUser mainAccount = secUserService.getMainAccount(4, highAgentModel.getId()); |
|
|
|
|
|
|
|
|
|
if (mainAccount != null) { |
|
|
|
|
String userPass = MD5Util.encode(highAgentModel.getSecUser().getPassword().getBytes()); |
|
|
|
|
if (!mainAccount.getPassword().equals(userPass)) { |
|
|
|
|
if (!mainAccount.getPassword().equals(highAgentModel.getSecUser().getPassword())) { |
|
|
|
|
String userPass = MD5Util.encode(highAgentModel.getSecUser().getPassword().getBytes()); |
|
|
|
|
mainAccount.setPassword(userPass); |
|
|
|
|
} |
|
|
|
|
if (highAgentModel.getStatus() == 0) { |
|
|
|
|