超威fix

This commit is contained in:
psh
2024-07-17 16:17:25 +08:00
parent 73bc4a3c45
commit 67c68ae05b
2 changed files with 145 additions and 126 deletions

View File

@@ -163,7 +163,7 @@ public abstract class AbstractTask {
* @param param
* @throws BadRequestException
*/
public void apply(JSONObject param) throws BadRequestException {
public synchronized void apply(JSONObject param) throws BadRequestException {
// 申请任务
SchBaseTask task = new SchBaseTask(); // 任务实体
String apply_point_code = param.getString("device_code"); // 请求点