新需求开发
This commit is contained in:
parent
99cdad841e
commit
bdce485bb0
|
|
@ -162,8 +162,8 @@ public class BdServiceImpl {
|
||||||
param.setDevCode(param.getDeviceId());
|
param.setDevCode(param.getDeviceId());
|
||||||
String bidCode=mapper.getBidCodeByBd(param);
|
String bidCode=mapper.getBidCodeByBd(param);
|
||||||
param.setBidCode(bidCode);
|
param.setBidCode(bidCode);
|
||||||
// String type=param.getEventCode().replaceAll("Alarm","").trim();
|
// String type=param.getEventCode().replaceAll("Alarm","").trim();
|
||||||
// param.setType(type);
|
// param.setType(type);
|
||||||
WarnInfoVo vo=mapper.getDeviceInfo(param);
|
WarnInfoVo vo=mapper.getDeviceInfo(param);
|
||||||
param.setDeviceId(vo.getDeviceId());
|
param.setDeviceId(vo.getDeviceId());
|
||||||
param.setAttributeId(vo.getAttributeId());
|
param.setAttributeId(vo.getAttributeId());
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
<delete id="delSubcontractorById">
|
<delete id="delSubcontractorById">
|
||||||
DELETE tb_pro_fence, tb_fence_detail
|
DELETE tb_pro_fence, tb_fence_detail
|
||||||
FROM tb_pro_fence
|
FROM tb_pro_fence
|
||||||
JOIN tb_fence_detail ON tb_pro_fence.id = tb_fence_detail.fence_id
|
LEFT JOIN tb_fence_detail ON tb_pro_fence.id = tb_fence_detail.fence_id
|
||||||
WHERE tb_pro_fence.id = #{id};
|
WHERE tb_pro_fence.id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<!--人员管控-穿戴装备-->
|
<!--人员管控-穿戴装备-->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue