|
|
|
@ -118,6 +118,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
p.put("active_time",now);
|
|
|
|
|
p.put("update_time",now);
|
|
|
|
|
p.put("expiry_time",DateUtils.addYears(now,1));
|
|
|
|
|
p.put("manager_name","merchant"+account_id+account.getString("display_name"));
|
|
|
|
|
clientRateMapper.saveRate(p);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
@ -126,6 +127,7 @@ public class ClientContractServiceImpl implements ClientContractService {
|
|
|
|
|
p.remove("client_rate_id");
|
|
|
|
|
p.put("create_time",now);
|
|
|
|
|
p.put("update_time",now);
|
|
|
|
|
p.put("manager_name","merchant"+account_id+account.getString("display_name"));
|
|
|
|
|
p.put("active_time",DateUtils.addDays(p.getDate("expiry_time"),1));
|
|
|
|
|
p.put("expiry_time",DateUtils.addYears(p.getDate("active_time"),1));
|
|
|
|
|
clientRateMapper.saveRate(p);
|
|
|
|
|