Commit dd1e7b5e by carrieyzzhang

specail 0

parent 6133e851
......@@ -92,7 +92,7 @@ public interface AccountRepository extends JpaRepository<Account, Long> {
@Transactional
@Modifying
@Query(value = "update Account set status = 1, modify_account = ?1,modify_time = ?2 where id = ?3")
@Query(value = "update Account set status = 1, modify_account = ?1,modify_time = ?2,is_special_account=0 where id = ?3")
int enableSubAccount(Long modifyAccount, Date modifyTime, Long subAccount);
List<Account> findByParent(Long account);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment