Browse Source

修改根据物资ID查询门岗sql

txf 3 years ago
parent
commit
a146df58d6

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

@@ -39,7 +39,7 @@ redis:
 eureka:
   client:
     service-url:
-      defaultZone: http://root:root@${EUREKA_HOST:localhost}:${EUREKA_PORT:8061}/eureka/
+      defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8061}/eureka/
 
   instance:
     prefer-ip-address: true

+ 4 - 4
src/main/resources/com/steerinfo/dil/mapper/QueuingRulesMapper.xml

@@ -24,15 +24,15 @@
             </if>
         </where>
         order by
-        "gatepostId"
+        RG.GATEPOST_ID
     </select>
 
 
     <!--   通过门岗ID查询门岗可进门开始时间和结束时间 -->
     <select id="getStartTimeAndEndTime" resultType="java.util.Map" parameterType="int">
-        select
-        from RMS_GATEPOST RG
-        where RG.GATEPOST_ID = #{gatepostId}
+--         select
+--         from RMS_GATEPOST RG
+--         where RG.GATEPOST_ID = #{gatepostId}
     </select>