|
|
@ -152,7 +152,7 @@ public class ActMonDelaySettleServiceImp implements ActMonDelaySettleService {
|
|
|
|
device.put("rate", params.getBigDecimal("rate") == null ? new BigDecimal(0.15) : params.getBigDecimal("rate"));
|
|
|
|
device.put("rate", params.getBigDecimal("rate") == null ? new BigDecimal(0.15) : params.getBigDecimal("rate"));
|
|
|
|
device.put("expire_time", act.getDate("expire_date"));
|
|
|
|
device.put("expire_time", act.getDate("expire_date"));
|
|
|
|
actMonDelaySettleMapper.save(device);
|
|
|
|
actMonDelaySettleMapper.save(device);
|
|
|
|
clientManager.changeManualSettle(client_id,true,device.getString("account_id"),1,"参加活动打开手动清算");
|
|
|
|
clientManager.changeManualSettle(account,client_id,true,device.getString("account_id"),1,"参加活动打开手动清算");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -174,7 +174,8 @@ public class ActMonDelaySettleServiceImp implements ActMonDelaySettleService {
|
|
|
|
clientLog.put("is_valid", 0);
|
|
|
|
clientLog.put("is_valid", 0);
|
|
|
|
clientLog.put("expire_time", new Date());
|
|
|
|
clientLog.put("expire_time", new Date());
|
|
|
|
actMonDelaySettleMapper.update(clientLog);
|
|
|
|
actMonDelaySettleMapper.update(clientLog);
|
|
|
|
clientManager.changeManualSettle(client_id,false,device.getString("account_id"),1,"退出活动关闭手动清算");
|
|
|
|
JSONObject account = clientAccountMapper.findById(device.getString("account_id"));
|
|
|
|
|
|
|
|
clientManager.changeManualSettle(account,client_id,false,device.getString("account_id"),1,"退出活动关闭手动清算");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void recodeActClient(JSONObject device){
|
|
|
|
private void recodeActClient(JSONObject device){
|
|
|
|