|
|
@@ -122,6 +122,9 @@ public class FsStoreOrderController extends BaseController
|
|
|
|
|
|
@Autowired
|
|
|
private IFsStoreOrderLogsService fsStoreOrderLogsService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IFsDfAccountService fsDfAccountService;
|
|
|
/**
|
|
|
* 查询订单列表
|
|
|
*/
|
|
|
@@ -956,10 +959,9 @@ public class FsStoreOrderController extends BaseController
|
|
|
{
|
|
|
List<String> list = new ArrayList<>();
|
|
|
if (CloudHostUtils.hasCloudHostName("金牛明医","康年堂")){
|
|
|
- List<DFConfigVo> erpAccounts = fsStoreOrderService.getErpAccount();
|
|
|
- list = erpAccounts.stream().map(DFConfigVo::getLoginAccount).collect(Collectors.toList());
|
|
|
+ List<FsDfAccount> erpAccounts = fsDfAccountService.selectFsDfAccountList(null);
|
|
|
+ list = erpAccounts.stream().map(FsDfAccount::getLoginAccount).collect(Collectors.toList());
|
|
|
}
|
|
|
-
|
|
|
return R.ok().put("data", list);
|
|
|
}
|
|
|
}
|