Commit 632d0f5d by YANGYANG

范围内卡口点位数据sql修改

parent 8fbc125d
...@@ -10,13 +10,12 @@ ...@@ -10,13 +10,12 @@
<result column="object_Type_Name" property="objectTypeName" jdbcType="VARCHAR"/> <result column="object_Type_Name" property="objectTypeName" jdbcType="VARCHAR"/>
<result column="object_Value" property="objectValue" jdbcType="VARCHAR"/> <result column="object_Value" property="objectValue" jdbcType="VARCHAR"/>
</resultMap> </resultMap>
<!--根据起始经纬度获取人像点位数据--> <!--根据起始经纬度获取卡口点位数据-->
<select id="getKkInfoByQsJwd" parameterType="java.lang.String" resultType="com.founder.commonutils.carEntity.KkXxResult"> <select id="getKkInfoByQsJwd" parameterType="java.lang.String" resultType="com.founder.commonutils.carEntity.KkXxResult">
select select
ID as deviceCode, NAME as deviceMc,
NAME as cameraName, CODE as deviceCode,
(select name from sys_dictitem where groupid = 'CODE_XZQH' and code = substr(t.CODE,0,6))||NAME as deviceAddress,
(select name from sys_dictitem where groupid = 'CODE_XZQH' and code = substr(t.CODE,0,6))||NAME as areaCodeName,
x as x, x as x,
y as y y as y
from tb_zy_kk t where 1=1 from tb_zy_kk t where 1=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment