|
|
@ -360,7 +360,7 @@ public class DepositoryRecordController { |
|
|
}).start();*/ |
|
|
}).start();*/ |
|
|
|
|
|
|
|
|
// 开启一个线程开启审批
|
|
|
// 开启一个线程开启审批
|
|
|
/*new Thread(new Runnable() { |
|
|
new Thread(new Runnable() { |
|
|
@Override |
|
|
@Override |
|
|
public void run() { |
|
|
public void run() { |
|
|
JSONObject jsonObject = qyWxOperationService.sendOutApprovalTemplate(crypt, userToken, ObjectFormatUtil.toInteger(id)); |
|
|
JSONObject jsonObject = qyWxOperationService.sendOutApprovalTemplate(crypt, userToken, ObjectFormatUtil.toInteger(id)); |
|
|
@ -372,7 +372,7 @@ public class DepositoryRecordController { |
|
|
// 设置过期为7天
|
|
|
// 设置过期为7天
|
|
|
redisTemplateForHash.expire(sp_no, 7, TimeUnit.DAYS); |
|
|
redisTemplateForHash.expire(sp_no, 7, TimeUnit.DAYS); |
|
|
} |
|
|
} |
|
|
}).start();*/ |
|
|
}).start(); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
|