更新工单系统设备同步状态
This commit is contained in:
parent
4dd1e166fe
commit
4e26756b05
@ -472,6 +472,6 @@
|
||||
current,
|
||||
equipment_type equipmentType
|
||||
from xhpc_charging_pile
|
||||
where charging_station_id = #{stationId}
|
||||
where charging_station_id = #{stationId} and del_flag=0
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@ -65,6 +65,6 @@
|
||||
|
||||
|
||||
<select id="selectAll" resultType="com.xhpc.common.domain.XhpcChargingStation">
|
||||
select * from xhpc_charging_station
|
||||
select * from xhpc_charging_station where del_flag=0
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
LEFT JOIN xhpc_work_station s on s.work_station_id=d1.station_id
|
||||
LEFT JOIN xhpc_station_device d2 on d2.parent_device_id=d1.device_id
|
||||
LEFT JOIN xhpc_terminal t on t.serial_number = d2.serial_number
|
||||
WHERE s.del_flag=0 and d1.del_flag=0 and d2.del_flag=0 and d1.device_type='PILE'
|
||||
WHERE s.del_flag=0 and d1.del_flag=0 and d2.del_flag=0 and d1.device_type='PILE' and t.del_flag=0
|
||||
<if test="params.stationName!=null and params.stationName != ''">
|
||||
and s.name like concat('%', #{params.stationName}, '%')
|
||||
</if>
|
||||
|
||||
@ -405,6 +405,6 @@
|
||||
|
||||
<select id="selectByPileId" resultMap="BaseResultMap">
|
||||
<include refid="selectXhpcTerminalVo"/>
|
||||
WHERE charging_pile_id = #{pileId}
|
||||
WHERE charging_pile_id = #{pileId} and del_flag=0
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user