兴安兼容老版本
This commit is contained in:
@@ -15,9 +15,11 @@ spring:
|
||||
discovery:
|
||||
# 服务注册地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
# namespace: xa
|
||||
config:
|
||||
# 配置中心地址
|
||||
server-addr: 127.0.0.1:8848
|
||||
# namespace: xa
|
||||
# 配置文件格式
|
||||
file-extension: yml
|
||||
# 共享配置
|
||||
|
||||
@@ -1002,4 +1002,16 @@
|
||||
AND p.phone = #{telephone}
|
||||
ORDER BY r.created_time desc LIMIT 1
|
||||
</select>
|
||||
<select id="queryVisitor" resultType="java.lang.Integer">
|
||||
select count(1)
|
||||
from vis_visitor
|
||||
where idcard = #{idcard}
|
||||
and out_time is null
|
||||
</select>
|
||||
<select id="queryVisitorByIdCountOld" resultType="java.lang.Integer">
|
||||
select count(1)
|
||||
from vis_visitor
|
||||
where phone = #{phone}
|
||||
and out_time is null
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user