master
wangning 7 years ago
parent d05cea8b1c
commit 48e76b7d33

@ -39,11 +39,11 @@ public abstract class ClientConfigModify {
public int doModify(MerchantInfoProvider merchantInfoProvider, ClientConfigMapper clientConfigMapper, ClientMapper clientMapper, MongoTemplate mongoTemplate) {
JSONObject client = merchantInfoProvider.getClientInfoByMoniker(clientMoniker);
JSONObject modifyResult = getModifyResult();
try {
saveModifyHistory(client, modifyResult, mongoTemplate);
}catch (Exception e){
}
// try {
// saveModifyHistory(client, modifyResult, mongoTemplate);
// }catch (Exception e){
//
// }
int clientId = client.getIntValue("client_id");
modifyResult.put("client_id", clientId);
clientConfigMapper.update(modifyResult);

@ -38,11 +38,11 @@ public abstract class ClientModify {
public int doModify(MerchantInfoProvider merchantInfoProvider, ClientMapper clientMapper, MongoTemplate mongoTemplate) {
JSONObject client = merchantInfoProvider.getClientInfoByMoniker(clientMoniker);
JSONObject modifyResult = getModifyResult();
try {
saveModifyHistory(client, modifyResult, mongoTemplate);
}catch (Exception e){
}
// try {
// saveModifyHistory(client, modifyResult, mongoTemplate);
// }catch (Exception e){
//
// }
int clientId = client.getIntValue("client_id");
modifyResult.put("client_id", clientId);
clientMapper.update(modifyResult);

Loading…
Cancel
Save