update
This commit is contained in:
@@ -57,5 +57,5 @@ public interface HyInspectionSettingMapper {
|
|||||||
* @param inspectionUserId
|
* @param inspectionUserId
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<HyInspectionSettingDO> getHyInspectionSettingByUserId(String inspectionUserId, Long excludeInspectionSettingId);
|
List<HyInspectionSettingDO> getHyInspectionSettingByUserId(@Param("inspectionUserId") String inspectionUserId, @Param("excludeInspectionSettingId") Long excludeInspectionSettingId);
|
||||||
}
|
}
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
from
|
from
|
||||||
hy_inspection_setting
|
hy_inspection_setting
|
||||||
where
|
where
|
||||||
deleted = '0' and inspection_user_id = #{excludeInspectionSettingId}
|
deleted = '0' and inspection_user_id = #{inspectionUserId}
|
||||||
<if test="excludeInspectionSettingId != null">
|
<if test="excludeInspectionSettingId != null">
|
||||||
and id != #{excludeInspectionSettingId}
|
and id != #{excludeInspectionSettingId}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user