txf 3 năm trước cách đây
mục cha
commit
52dc05f6c4

+ 1 - 1
src/main/java/com/steerinfo/dil/controller/AmstruckPurplanController.java

@@ -116,7 +116,7 @@ public class AmstruckPurplanController extends BaseRESTfulController {
 
     @ApiOperation(value="通过Id查询请车作业")
     @PostMapping ("/getPurPlanById/{planId}")
-    public RESTfulResult getWagonPleaseById(@PathVariable("planId")Integer planId){
+    public RESTfulResult getPurPlanById(@PathVariable("planId")Integer planId){
         List<Map<String, Object>> purPlanById = amstruckPurplanService.getPurPlanById(planId);
         return success(purPlanById);
     }

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -30,7 +30,7 @@ openfeign:
 eureka:
   client:
     service-url:
-      defaultZone: http://root:root@discovery.steerinfo.com/eureka/
+      defaultZone: http://root:root@${EUREKA_HOST:dev-discovery.steerinfo.com}:${EUREKA_PORT:80}/eureka/
 
 genxml:
   pth: com/a

+ 0 - 5
src/main/resources/com/steerinfo/dil/mapper/TmstruckQualityResultMapper.xml

@@ -406,11 +406,6 @@
       order by "insertTime" desc
     </if>
   </sql>
-  <!--  获取最大ID值  -->
-  <select id="selectMaxId" resultType="java.math.BigDecimal">
-    select max(TQR.RESULT_ID)
-    from TMSTRUCK_QUALITY_RESULT TQR
-  </select>
 <!--  查询所有的质检作业   -->
   <select id="getQualityResult" parameterType="java.util.Map" resultType="java.util.LinkedHashMap">
     select *