Commit 0689f94d by wangli

修改

1 parent 1bb8ee36
......@@ -13,11 +13,11 @@ public interface MapLayerCustomizeSkillDao extends JpaRepository<MapLayerCustomi
List<MapLayerCustomizeSkillEntity> findByLayerId(String layerId);
@Modifying
@Query("UPDATE MapLayerCustomizeSkill s SET s.status = :status WHERE s.layerId = :layerId")
@Query("UPDATE MapLayerCustomizeSkillEntity s SET s.status = :status WHERE s.layerId = :layerId")
void updateStatusByLayerId(int status, String layerId);
@Modifying
@Query("UPDATE MapLayerCustomizeSkill s SET s.status = :status WHERE s.layerId = :layerId and s.skillCode IN :skillCodes")
@Query("UPDATE MapLayerCustomizeSkillEntity s SET s.status = :status WHERE s.layerId = :layerId and s.skillCode IN :skillCodes")
void updateStatusByLayerIdAndSkillCodeIn(int status, String layerId, List<String> skillCodes);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!