|
@@ -118,6 +118,9 @@
|
|
<if test="userVO.projectId != -1">
|
|
<if test="userVO.projectId != -1">
|
|
AND tbm.project_id = #{userVO.projectId}
|
|
AND tbm.project_id = #{userVO.projectId}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userVO.type == 0">
|
|
|
|
+ AND tbm.equipment_id is not null
|
|
|
|
+ </if>
|
|
<if test="userVO.mouleMap == -1">
|
|
<if test="userVO.mouleMap == -1">
|
|
AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
|
|
AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
|
|
</if>
|
|
</if>
|
|
@@ -158,6 +161,9 @@
|
|
<if test="userVO.mouleMap == -1">
|
|
<if test="userVO.mouleMap == -1">
|
|
AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
|
|
AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="userVO.type == 0">
|
|
|
|
+ AND tbm.equipment_id is not null
|
|
|
|
+ </if>
|
|
AND tbm.project_id in
|
|
AND tbm.project_id in
|
|
<foreach item="item" index="index" collection="list"
|
|
<foreach item="item" index="index" collection="list"
|
|
open="(" separator="," close=")">
|
|
open="(" separator="," close=")">
|