|
@@ -17,6 +17,7 @@ import com.rongwei.zhsw.system.service.impl.SwUserManagementServiceImpl;
|
|
|
import com.rongwei.zhsw.system.service.impl.SwUserWechatServiceImpl;
|
|
|
import com.rongwei.zhsw.system.utils.WeChatUtils;
|
|
|
import com.rongwei.zhsw.system.wechat.AccountService;
|
|
|
+import org.apache.commons.lang.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -24,6 +25,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.util.Collections;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
@@ -137,4 +139,11 @@ public class AccountServiceImpl implements AccountService {
|
|
|
weChatHomePageVo.setDuFees(outstandingBills.stream().map(SwBillManagementUnpaidDo::getActualdue).reduce(BigDecimal::add).orElse(BigDecimal.ZERO));
|
|
|
return R.ok(weChatHomePageVo);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public R list() {
|
|
|
+ String currentWeChatOpenId = WeChatUtils.getCurrentWeChatOpenId();
|
|
|
+ List<SwUserManagementVo> userByDsKey = weChatLoginService.getAllOwnerByOpenId(currentWeChatOpenId, null);
|
|
|
+ return R.ok(userByDsKey);
|
|
|
+ }
|
|
|
}
|