Przeglądaj źródła

加入版权说明

java110 5 lat temu
rodzic
commit
34d1c6d50a
21 zmienionych plików z 308 dodań i 5 usunięć
  1. 5 0
      java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeMachineTranslateConstant.java
  2. 15 1
      service-api/src/main/java/com/java110/api/ApiApplicationStart.java
  3. 15 0
      service-api/src/main/java/com/java110/api/bmo/activities/IActivitiesBMO.java
  4. 15 0
      service-api/src/main/java/com/java110/api/bmo/activities/impl/ActivitiesBMOImpl.java
  5. 15 0
      service-api/src/main/java/com/java110/api/bmo/advert/IAdvertBMO.java
  6. 15 0
      service-api/src/main/java/com/java110/api/bmo/advert/impl/AdvertBMOImpl.java
  7. 5 4
      service-api/src/main/java/com/java110/api/listener/machineTranslate/MachineUploadCarPhotoLogListener.java
  8. 16 0
      service-api/src/main/java/com/java110/api/package-info.java
  9. 16 0
      service-common/src/main/java/com/java110/common/package-info.java
  10. 16 0
      service-community/src/main/java/com/java110/community/package-info.java
  11. 16 0
      service-eureka/src/main/java/com/java110/eureka/package-info.java
  12. 16 0
      service-fee/src/main/java/com/java110/fee/package-info.java
  13. 16 0
      service-front/src/main/java/com/java110/front/package-info.java
  14. 16 0
      service-goods/src/main/java/com/java110/goods/package-info.java
  15. 16 0
      service-job/src/main/java/com/java110/job/package-info.java
  16. 16 0
      service-log/src/main/java/com/java110/log/package-info.java
  17. 16 0
      service-order/src/main/java/com/java110/order/package-info.java
  18. 15 0
      service-report/src/main/java/com/java110/report/package-info.java
  19. 16 0
      service-sequence/src/main/java/com/java110/code/package-info.java
  20. 16 0
      service-store/src/main/java/com/java110/store/package-info.java
  21. 16 0
      service-user/src/main/java/com/java110/user/package-info.java

+ 5 - 0
java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeMachineTranslateConstant.java

@@ -47,6 +47,11 @@ public class ServiceCodeMachineTranslateConstant {
      */
     public static final String MACHINE_UPLOAD_FACE_LOG = "machineTranslate.machineUploadFaceLog";
 
+    /**
+     * 上传进出场信息
+     */
+    public static final String MACHINE_UPLOAD_CAR_LOG = "machineTranslate.machineUploadCarLog";
+
     /**
      * 结果上报
      */

+ 15 - 1
service-api/src/main/java/com/java110/api/ApiApplicationStart.java

@@ -1,4 +1,18 @@
-
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.api;
 
 import com.java110.core.annotation.Java110ListenerDiscovery;

+ 15 - 0
service-api/src/main/java/com/java110/api/bmo/activities/IActivitiesBMO.java

@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.api.bmo.activities;
 
 import com.alibaba.fastjson.JSONObject;

+ 15 - 0
service-api/src/main/java/com/java110/api/bmo/activities/impl/ActivitiesBMOImpl.java

@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.api.bmo.activities.impl;
 
 import com.alibaba.fastjson.JSONObject;

+ 15 - 0
service-api/src/main/java/com/java110/api/bmo/advert/IAdvertBMO.java

@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.api.bmo.advert;
 
 import com.alibaba.fastjson.JSONObject;

+ 15 - 0
service-api/src/main/java/com/java110/api/bmo/advert/impl/AdvertBMOImpl.java

@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.java110.api.bmo.advert.impl;
 
 import com.alibaba.fastjson.JSONObject;

+ 5 - 4
service-api/src/main/java/com/java110/api/listener/machineTranslate/MachineUploadCarPhotoLogListener.java

@@ -29,8 +29,8 @@ import java.util.Map;
  * http://api.demo.winqi.cn/api/machineTranslate.machineUploadFaceLog?app_id=992019111002270001&communityId=7020181217000001&transaction_id=-1&req_time=20181113225612&user_id=-1
  * 硬件获取用户信息
  */
-@Java110Listener("machineUploadCarPhotoLogListener")
-public class MachineUploadCarPhotoLogListener extends BaseMachineListener {
+@Java110Listener("machineUploadCarLogListener")
+public class MachineUploadCarLogListener extends BaseMachineListener {
 
     @Autowired
     private IMachineTranslateInnerServiceSMO machineTranslateInnerServiceSMOImpl;
@@ -91,7 +91,8 @@ public class MachineUploadCarPhotoLogListener extends BaseMachineListener {
             //判断是否有 进场记录
             CarInoutDto carInoutDto = new CarInoutDto();
             carInoutDto.setCommunityId(reqJson.getString("communityId"));
-            carInoutDto.setInoutId(reqJson.getString("inoutId"));
+            carInoutDto.setCarNum(reqJson.getString("carNum"));
+            carInoutDto.setStates(new String[]{"100300", "100400", "100600"});
             List<CarInoutDto> carInoutDtos = carInoutInnerServiceSMOImpl.queryCarInouts(carInoutDto);
             MachineDto machineDto = new MachineDto();
             machineDto.setMachineId(reqJson.getString("communityId"));
@@ -137,7 +138,7 @@ public class MachineUploadCarPhotoLogListener extends BaseMachineListener {
 
     @Override
     public String getServiceCode() {
-        return ServiceCodeMachineTranslateConstant.MACHINE_UPLOAD_FACE_LOG;
+        return ServiceCodeMachineTranslateConstant.MACHINE_UPLOAD_CAR_LOG;
     }
 
     @Override

+ 16 - 0
service-api/src/main/java/com/java110/api/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.api;

+ 16 - 0
service-common/src/main/java/com/java110/common/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.common;

+ 16 - 0
service-community/src/main/java/com/java110/community/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community;

+ 16 - 0
service-eureka/src/main/java/com/java110/eureka/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.eureka;

+ 16 - 0
service-fee/src/main/java/com/java110/fee/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.fee;

+ 16 - 0
service-front/src/main/java/com/java110/front/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.front;

+ 16 - 0
service-goods/src/main/java/com/java110/goods/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.goods;

+ 16 - 0
service-job/src/main/java/com/java110/job/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.job;

+ 16 - 0
service-log/src/main/java/com/java110/log/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.log;

+ 16 - 0
service-order/src/main/java/com/java110/order/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.order;

+ 15 - 0
service-report/src/main/java/com/java110/report/package-info.java

@@ -1,3 +1,18 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 /**
  * <b>report主要实现报表统计:</b><br>
  *     微服务 数据 分布在不通的数据库的不通片上,导致报表复杂SQL无法实现,

+ 16 - 0
service-sequence/src/main/java/com/java110/code/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.code;

+ 16 - 0
service-store/src/main/java/com/java110/store/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.store;

+ 16 - 0
service-user/src/main/java/com/java110/user/package-info.java

@@ -0,0 +1,16 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.user;