|
|
@@ -9,6 +9,7 @@ import java.util.UUID;
|
|
|
import javax.annotation.Resource;
|
|
|
import javax.mail.MessagingException;
|
|
|
|
|
|
+import org.apache.log4j.LogSF;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
@@ -95,7 +96,7 @@ public class ReleaseUserTask {
|
|
|
if(lockBusinessList.size()>0) customerServiceImpl.updateReleaseLock(lockBusinessList,releaseTime);
|
|
|
if(lockUserList.size()>0) userServiceImpl.updateReleaseLock(lockUserList);*/
|
|
|
|
|
|
- } catch (InterruptedException e) {
|
|
|
+ } catch (Exception e) {
|
|
|
Notice n =new Notice(UUID.randomUUID().toString(),new Date(),0,"1",NoticeStatus.TASK_PATENT_ERROR.getCode(),"==============客户释放失败================");
|
|
|
noticeMapper.insert(n);
|
|
|
EmailBo emailBo = new EmailBo( "释放客户失败", AFTConstants.ADMIN_EMAIL, "超管", "平台", "系统", "释放客户失败");
|