|
|
@ -77,22 +77,16 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
private ClientManager clientManager;
|
|
|
|
private ClientManager clientManager;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private SignInAccountService signInAccountService;
|
|
|
|
private SignInAccountService signInAccountService;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientAccountMapper clientAccountMapper;
|
|
|
|
private ClientAccountMapper clientAccountMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private SysClientPreMapperMapper sysClientPreMapperMapper;
|
|
|
|
private SysClientPreMapperMapper sysClientPreMapperMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientBankAccountMapper clientBankAccountMapper;
|
|
|
|
private ClientBankAccountMapper clientBankAccountMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientMapper clientMapper;
|
|
|
|
private ClientMapper clientMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientRateMapper clientRateMapper;
|
|
|
|
private ClientRateMapper clientRateMapper;
|
|
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
|
private ClientConfigMapper clientConfigMapper;
|
|
|
|
private ClientConfigMapper clientConfigMapper;
|
|
|
|
@Resource
|
|
|
|
@Resource
|
|
|
@ -352,7 +346,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
sysRate.put("active_time", DateFormatUtils.format(new Date(), "yyyy-MM-dd"));
|
|
|
|
sysRate.put("active_time", DateFormatUtils.format(new Date(), "yyyy-MM-dd"));
|
|
|
|
sysRate.put("expiry_time", DateFormatUtils.format(DateUtils.addYears(new Date(), 1), "yyyy-MM-dd"));
|
|
|
|
sysRate.put("expiry_time", DateFormatUtils.format(DateUtils.addYears(new Date(), 1), "yyyy-MM-dd"));
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject rateConfig = clientManager.getSysRateConfig();
|
|
|
|
JSONObject rateConfig = JSONObject.parseObject(sysConfig.getString("sys_rates"));
|
|
|
|
JSONObject chooseRate = new JSONObject();
|
|
|
|
JSONObject chooseRate = new JSONObject();
|
|
|
|
if (apply.getIntValue("clean_days") == 1) {
|
|
|
|
if (apply.getIntValue("clean_days") == 1) {
|
|
|
|
chooseRate = rateConfig.getJSONObject("t1");
|
|
|
|
chooseRate = rateConfig.getJSONObject("t1");
|
|
|
|