Commit c894bc4e authored by chenzhao's avatar chenzhao

修改代码

parent 8f0bf58d
...@@ -47,7 +47,6 @@ public interface IPointInputItemDao extends BaseDao<PointInputItem, Long> { ...@@ -47,7 +47,6 @@ public interface IPointInputItemDao extends BaseDao<PointInputItem, Long> {
@Query(value="delete from f_fmea_point_inputitem where point_inputitem_id in (?1)", nativeQuery = true) @Query(value="delete from f_fmea_point_inputitem where point_inputitem_id in (?1)", nativeQuery = true)
void deleteFmeaRelationByPointInputItemIds(List<Long> pointInputItemIds); void deleteFmeaRelationByPointInputItemIds(List<Long> pointInputItemIds);
@Modifying
@Transactional @Transactional
@Query(value = "DELETE FROM p_point_inputitem WHERE classify_ids IN (?1)", nativeQuery = true) @Query(value = "DELETE FROM p_point_inputitem WHERE classify_ids IN (?1)", nativeQuery = true)
void deleteClassifyId(Long classifyId); void deleteClassifyId(Long classifyId);
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
maintenance_frequency as maintenanceFrequency, maintenance_frequency as maintenanceFrequency,
biz_org_code as bizOrgCode, biz_org_code as bizOrgCode,
biz_org_name as bizOrgName, biz_org_name as bizOrgName,
contro_box_address as address,
scene_id as sceneId, scene_id as sceneId,
(select count(1) from `wl_equipment_specific` es where find_in_set(sys.id,es.system_id) and es.single = true ) equipCount (select count(1) from `wl_equipment_specific` es where find_in_set(sys.id,es.system_id) and es.single = true ) equipCount
from from
......
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