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