mirror of https://gitee.com/topiam/eiam
🐛 修复设置表对应sql的表名错误
parent
519e3d1e79
commit
8b402d7d09
|
@ -80,7 +80,7 @@ public interface SettingRepository extends LogicDeleteRepository<SettingEntity,
|
||||||
*/
|
*/
|
||||||
@Modifying
|
@Modifying
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
@Query(value = "UPDATE stting SET " + SOFT_DELETE_SET
|
@Query(value = "UPDATE setting SET " + SOFT_DELETE_SET
|
||||||
+ " WHERE name_ = :name", nativeQuery = true)
|
+ " WHERE name_ = :name", nativeQuery = true)
|
||||||
void deleteByName(@Param("name") String name);
|
void deleteByName(@Param("name") String name);
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ public interface SettingRepository extends LogicDeleteRepository<SettingEntity,
|
||||||
*/
|
*/
|
||||||
@Modifying
|
@Modifying
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
@Query(value = "UPDATE stting SET " + SOFT_DELETE_SET
|
@Query(value = "UPDATE setting SET " + SOFT_DELETE_SET
|
||||||
+ " WHERE name_ IN (:names)", nativeQuery = true)
|
+ " WHERE name_ IN (:names)", nativeQuery = true)
|
||||||
void deleteByNameIn(@Param("names") List<String> names);
|
void deleteByNameIn(@Param("names") List<String> names);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue