lipenghui 1 kuukausi sitten
vanhempi
commit
6fd5bcd7e5

+ 1 - 1
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/stat/IotStaticController.java

@@ -738,7 +738,7 @@ public class IotStaticController {
                                     return Long.parseLong(value);
                                 } else {
 //                                    System.err.println("total字段格式错误: " + totalObj);
-                                    String value = String.valueOf(totalObj).replaceAll(".00","");
+                                    String value = String.valueOf(totalObj).replace(".00","");
                                     return Long.parseLong(value);
                                 }
                             } catch (Exception e) {

+ 1 - 1
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/service/maintain/IotMaintainServiceImpl.java

@@ -211,7 +211,7 @@ public class IotMaintainServiceImpl implements IotMaintainService {
         //如果委外发起流程
         if ("out".equals(createReqVO.getMaintain().getType())){
             try {
-                oaFlow.createOutRepairFlow(iotMaintain);
+//                oaFlow.createOutRepairFlow(iotMaintain);
             } catch (Exception e) {
                 throw new ServiceException(122, e.getMessage());
             }