|
|
@ -2840,7 +2840,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void setSkipContract(String clientMoniker, Boolean skip_contract) {
|
|
|
|
public void setSkipContract(String clientMoniker, Boolean new_contract) {
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
|
JSONObject client = getClientInfoByMoniker(clientMoniker);
|
|
|
|
if (client == null) {
|
|
|
|
if (client == null) {
|
|
|
|
throw new InvalidShortIdException();
|
|
|
|
throw new InvalidShortIdException();
|
|
|
@ -2848,7 +2848,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
JSONObject update = new JSONObject();
|
|
|
|
JSONObject update = new JSONObject();
|
|
|
|
int clientId = client.getIntValue("client_id");
|
|
|
|
int clientId = client.getIntValue("client_id");
|
|
|
|
update.put("client_id", clientId);
|
|
|
|
update.put("client_id", clientId);
|
|
|
|
update.put("skip_contract", skip_contract);
|
|
|
|
update.put("new_contract", new_contract);
|
|
|
|
clientMapper.update(update);
|
|
|
|
clientMapper.update(update);
|
|
|
|
clientInfoCacheSupport.clearClientCache(clientId);
|
|
|
|
clientInfoCacheSupport.clearClientCache(clientId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|