Explorar o código

Merge branch 'release-mg-2.9.0' into test

dengsixing hai 5 meses
pai
achega
de147450b6

+ 2 - 0
src/main/java/com/fdkankan/openApi/service/system/impl/AccountServiceImpl.java

@@ -143,6 +143,7 @@ public class AccountServiceImpl extends ServiceImpl<IAccountMapper, Account> imp
         account.setEndCustomer(param.getEndCustomer());
         account.setRemark(param.getRemark());
         account.setBusinessName(param.getBusinessName());
+        account.setUpdaterId(param.getCreaterId());
         this.save(account);
 
         UserAuthInfo userAuthInfo = new UserAuthInfo();
@@ -154,6 +155,7 @@ public class AccountServiceImpl extends ServiceImpl<IAccountMapper, Account> imp
         userAuthInfo.setState(CommonStatus.YES.code().intValue());
         userAuthInfo.setEffectTime(new Date());
         userAuthInfo.setCreaterId(param.getCreaterId());
+        userAuthInfo.setUpdaterId(param.getUpdaterId());
         userAuthService.save(userAuthInfo);
 
         //设置redis缓存

+ 1 - 0
src/main/resources/mapper/system/AccountMapper.xml

@@ -38,6 +38,7 @@
         <if test="param.status != null">
             and u.state = #{param.status}
         </if>
+        order by t.id desc;
     </select>