update
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ public interface BssEmployeeRepository extends BaseRepository<BssEmployee, Long>
|
||||
|
||||
@Modifying
|
||||
@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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user