Commit e62987e1 by yangfangfang

Merge branch 'master' of git.minrow.com:reyun/saasio

parents 95539761 4f9d3365
...@@ -92,7 +92,7 @@ public interface AccountRepository extends JpaRepository<Account, Long> { ...@@ -92,7 +92,7 @@ public interface AccountRepository extends JpaRepository<Account, Long> {
@Transactional @Transactional
@Modifying @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); int enableSubAccount(Long modifyAccount, Date modifyTime, Long subAccount);
List<Account> findByParent(Long account); 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