From 2b414c537dcb0e448ed5854996cbbd002c257c38 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Thu, 24 May 2018 20:00:48 +0800 Subject: [PATCH] update --- .../application/core/impls/SimpleClientApplyServiceImpl.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java index a4264d6f5..8e2b943ac 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java @@ -20,7 +20,6 @@ import au.com.royalpay.payment.tools.exceptions.ServerErrorException; import au.com.royalpay.payment.tools.locale.LocaleSupport; import au.com.royalpay.payment.tools.mail.SendMail; import au.com.royalpay.payment.tools.utils.PasswordUtils; -import au.com.royalpay.payment.tools.utils.id.IdUtil; import com.alibaba.fastjson.JSONObject; import com.github.qcloudsms.SmsSingleSender; @@ -226,12 +225,10 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService { public void saveOrUpdateApplyInfo(JSONObject applyInfo, String username) { JSONObject apply = sysClientPreMapperMapper.findByUserName(username); if (apply == null ){ - applyInfo.put("client_pre_apply_id", IdUtil.getId()); sysClientPreMapperMapper.save(applyInfo); }else { applyInfo.put("client_pre_apply_id", apply.getIntValue("client_pre_apply_id")); applyInfo.put("update_time", new Date()); - sysClientPreMapperMapper.update(applyInfo); if(applyInfo.getBoolean("agree")){ applyerToClient(username);