update
This commit is contained in:
parent
de67a633d2
commit
1e9b48b79f
|
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue