增加版本更新功能

This commit is contained in:
miguannan
2026-05-06 17:38:51 +08:00
parent feffa239a6
commit 4b24afc89f
9 changed files with 116 additions and 7 deletions

View File

@@ -43,8 +43,7 @@ public class KitToAcsController {
for (String o : kitToAcsParam.keySet()) {
param = JSONObject.parseObject(o);
}
log.info("---kit上报请求---"+param.toString());
System.out.println("---kit上报请求---"+param.toString());
log.info("---kit上报请求---{}", param);
return new ResponseEntity<>(kitToAcsService.agvCallback(param), HttpStatus.OK);
}
}

View File

@@ -27,7 +27,7 @@ public enum TaskStateEnum {
*/
public static TaskStateEnum fromValue(String value) {
for (TaskStateEnum state : values()) {
if (state.getValue() == value) {
if (state.getValue().equals(value)) {
return state;
}
}

View File

@@ -144,6 +144,8 @@ security:
- /api/localStorage/pictures
# 参数
- /api/param/getValueByCode
# 版本
- /api/version/current
mybatis-plus:
configuration:
map-underscore-to-camel-case: false