liujie
2026-03-19 43cfe64aa9337eb7f382edd9d2a603cf68267f5d
xp-robotaxi-maintenance-boot/src/main/java/com/xiaopeng/maintenance/service/impl/XpTaskServiceImpl.java
@@ -437,7 +437,7 @@
        if (StringUtils.isNotBlank(taskImage)) {
            JSONArray jsonArray = JSONArray.parseArray(taskImage);
            for (Object o : jsonArray) {
                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                JSONObject jsonObject = (JSONObject)o;
                // 1
                String downloadUrl = aliOssService.getDownloadUrl(jsonObject.getString("id"), jsonObject.getString("name"), true);
                jsonObject.put("url", downloadUrl);
@@ -538,7 +538,7 @@
        if (StringUtils.isNotBlank(taskImage)) {
            JSONArray jsonArray = JSONArray.parseArray(taskImage);
            for (Object o : jsonArray) {
                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                JSONObject jsonObject = (JSONObject)o;
                // 1
                String downloadUrl = aliOssService.getDownloadUrl(jsonObject.getString("id"), jsonObject.getString("name"), true);
                jsonObject.put("url", downloadUrl);
@@ -590,7 +590,7 @@
            if (StringUtils.isNotBlank(startChargingPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(startChargingPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        //1
@@ -613,7 +613,7 @@
            if (StringUtils.isNotBlank(endChargingPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(endChargingPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        //1
@@ -691,7 +691,7 @@
            if (StringUtils.isNotBlank(startRepairPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(startRepairPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -835,7 +835,7 @@
            if (StringUtils.isNotBlank(SensorCleaningPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(SensorCleaningPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject =(JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -856,7 +856,7 @@
            if (StringUtils.isNotBlank(InteractiveScreenPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(InteractiveScreenPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -880,7 +880,7 @@
            if (StringUtils.isNotBlank(HelpButtonPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(HelpButtonPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject =(JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -901,7 +901,7 @@
            if (StringUtils.isNotBlank(PaymentFunctionPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(PaymentFunctionPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -921,7 +921,7 @@
            if (StringUtils.isNotBlank(SystemCheckPicture)) {
                JSONArray jsonArray = JSONArray.parseArray(SystemCheckPicture);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject =(JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -1028,7 +1028,7 @@
            if (StringUtils.isNotBlank(taskImage)) {
                JSONArray jsonArray = JSONArray.parseArray(taskImage);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    // 1
                    String downloadUrl = aliOssService.getDownloadUrl(jsonObject.getString("id"), jsonObject.getString("name"), true);
                    jsonObject.put("url", downloadUrl);
@@ -1251,7 +1251,7 @@
            if (StringUtils.isNotBlank(taskImage)) {
                JSONArray jsonArray = JSONArray.parseArray(taskImage);
                for (Object o : jsonArray) {
                    JSONObject jsonObject = JSONObject.parseObject(o.toString());
                    JSONObject jsonObject = (JSONObject)o;
                    String downloadUrl = null;
                    try {
                        // 1
@@ -1598,7 +1598,7 @@
                        if (StringUtils.isNotBlank(SensorCleaningPicture)) {
                            JSONArray jsonArray = JSONArray.parseArray(SensorCleaningPicture);
                            for (Object o : jsonArray) {
                                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                                JSONObject jsonObject = (JSONObject)o;
                                String downloadUrl = null;
                                try {
                                    // 1
@@ -1620,7 +1620,7 @@
                        if (StringUtils.isNotBlank(InteractiveScreenPicture)) {
                            JSONArray jsonArray = JSONArray.parseArray(InteractiveScreenPicture);
                            for (Object o : jsonArray) {
                                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                                JSONObject jsonObject = (JSONObject)o;
                                String downloadUrl = null;
                                try {
                                    // 1
@@ -1640,7 +1640,7 @@
                        if (StringUtils.isNotBlank(HelpButtonPicture)) {
                            JSONArray jsonArray = JSONArray.parseArray(HelpButtonPicture);
                            for (Object o : jsonArray) {
                                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                                JSONObject jsonObject = (JSONObject)o;
                                String downloadUrl = null;
                                try {
                                    // 1
@@ -1660,7 +1660,7 @@
                        if (StringUtils.isNotBlank(PaymentFunctionPicture)) {
                            JSONArray jsonArray = JSONArray.parseArray(PaymentFunctionPicture);
                            for (Object o : jsonArray) {
                                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                                JSONObject jsonObject = (JSONObject)o;
                                String downloadUrl = null;
                                try {
                                    // 1
@@ -1681,7 +1681,7 @@
                        if (StringUtils.isNotBlank(SystemCheckPicture)) {
                            JSONArray jsonArray = JSONArray.parseArray(SystemCheckPicture);
                            for (Object o : jsonArray) {
                                JSONObject jsonObject = JSONObject.parseObject(o.toString());
                                JSONObject jsonObject = (JSONObject)o;
                                String downloadUrl = null;
                                try {
                                    // 1