This commit is contained in:
hjc 2019-12-15 20:19:08 +08:00
parent de67a633d2
commit 1e9b48b79f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public interface BssEmployeeRepository extends BaseRepository<BssEmployee, Long>
@Modifying @Modifying
@Transactional @Transactional
@Query("update bss_employee set pwd = ?1 where id = ?2 and status <> " + StatusConst.DELETE ) @Query(value = "update bss_employee set pwd = ?1 where id = ?2 and status <> " + StatusConst.DELETE, nativeQuery = true)
void update(String pwd, int id); void update(String pwd, int id);
} }