fix(健康咨询): 移除定时任务中 clientSign 参数解析逻辑,修复方法签名及缩进
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ public class ConDepartmentApiServiceImpl implements ConDepartmentApiService {
|
||||
String allChildKey = "consulation:departmentHaveDoctor:AllLevelTwo";
|
||||
|
||||
|
||||
if(!CollectionUtils.isEmpty(list)){
|
||||
if(!CollectionUtils.isEmpty(list)){
|
||||
redisUtil.del(key);
|
||||
redisUtil.del(allChildKey);
|
||||
for (ConDepartmentDO conDepartmentDO : list) {
|
||||
|
||||
-4
@@ -31,11 +31,7 @@ public class HelperSchedulingHistoryJob {
|
||||
|
||||
@XxlJob(value = "helperSchedulingHistoryJob")
|
||||
public ReturnT<String> helperSchedulingHistory() {
|
||||
String param = XxlJobHelper.getJobParam();
|
||||
JSONObject jsonObject = JSONObject.parseObject(param);
|
||||
String clientSign = jsonObject.getString("clientSign");
|
||||
|
||||
ClientSignThreadLocal.setClientSign(clientSign);
|
||||
XxlJobHelper.log("开始记录全科医生排班历史");
|
||||
log.info("开始记录全科医生排班历史");
|
||||
try {
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class SyncScheduleJob {
|
||||
|
||||
|
||||
@XxlJob(value = "endUserAndProfessiorHelper")
|
||||
public ReturnT<String> endUserAndProfessiorHelper(String time) {
|
||||
public ReturnT<String> endUserAndProfessiorHelper() {
|
||||
String expireHour = "168";
|
||||
|
||||
String param = XxlJobHelper.getJobParam();
|
||||
|
||||
Reference in New Issue
Block a user