Browse Source

修改制造单

zhoudw 7 years ago
parent
commit
20f3896d49

+ 1 - 1
applications/document/document-server/src/main/resources/application.yml

@@ -47,7 +47,7 @@ eureka:
   client:
     registryFetchIntervalSeconds: 5
     serviceUrl:
-      defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@192.168.0.181:8510/eureka/
+      defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@127.0.0.1:8500/eureka/
 management:
   endpoints:
     web:

+ 2 - 2
applications/storage/storage-server/src/main/java/com/usoftchina/saas/storage/service/impl/MakeServiceImpl.java

@@ -452,7 +452,7 @@ public class MakeServiceImpl extends CommonBaseServiceImpl<MakeMapper, Make> imp
             map.put("result", null);
             prodInOutMapper.post(map);
             if (!StringUtils.isEmpty(map.get("result"))){
-//                throw new BizException(76201, map.get("result").toString());
+                throw new BizException(76201, map.get("result").toString());
             }
             /** 2.完工入库单 **/
             //a.主表
@@ -507,7 +507,7 @@ public class MakeServiceImpl extends CommonBaseServiceImpl<MakeMapper, Make> imp
             map.put("result", null);
             prodInOutMapper.post(map);
             if (!StringUtils.isEmpty(map.get("result"))){
-//                throw new BizException(76202, map.get("result").toString());
+                throw new BizException(76202, map.get("result").toString());
             }
         }
     }