| | For the years ended June 30, | |
| | 2021 | | 2022 | | 2023 | | 2023 | |
| | RMB | | RMB | | RMB | | U.S. Dollars | |
Cash flows from operating activities: | | | | | | | | | | | | | |
Net income (loss) | | ¥ | (25,866,828) | | ¥ | 94,289,395 | | ¥ | (61,476,393) | | $ | (8,477,982) | |
Adjustments to reconcile net income (loss) to net cash used in operating activities: | | | | | | | | | | | | | |
Depreciation and amortization | | | 3,150,789 | | | 3,339,868 | | | 3,683,586 | | | 507,990 | |
Loss (gain) from disposal of equipment | | | 19,590 | | | 48,628 | | | (12,782) | | | (1,763) | |
Gain in fair value changes of warrants liability | | | (35,365,792) | | | (174,485,575) | | | (6,116,000) | | | (843,435) | |
Amortization of offering cost of warrants | | | 12,584,024 | | | — | | | 1,483,306 | | | 204,557 | |
Allowance for (net recovery of) credit losses | | | 8,191,247 | | | (658,823) | | | (9,038,985) | | | (1,246,533) | |
Allowance for slow moving inventories | | | 654,673 | | | 266,285 | | | 484,644 | | | 66,835 | |
| | | | | | | | | | | | | |
Impairment loss of property and equipment and other long-lived assets | | | 768,312 | | | — | | | 1,009,124 | | | 139,165 | |
Impairment loss on goodwill and intangible assets | | | — | | | 2,266,893 | | | 9,980,002 | | | 1,376,305 | |
Amortization of right of use assets | | | 1,866,803 | | | 3,138,518 | | | 3,252,066 | | | 448,480 | |
Restricted shares issued for management and employees | | | 6,140,037 | | | 39,263,485 | | | 26,191,707 | | | 3,612,002 | |
Restricted shares issued for services | | | — | | | 8,935,919 | | | 7,306,822 | | | 1,007,657 | |
Remeasurement gain of previously held equity interests in connection with step acquisition | | | (979,254) | | | — | | | — | | | — | |
Loss (income) from investment in unconsolidated entity | | | 266,707 | | | (15,411) | | | — | | | — | |
Deferred tax benefit | | | (425,913) | | | (624,087) | | | — | | | — | |
Interest expenses related to convertible notes | | | 430,416 | | | — | | | — | | | — | |
Accrued interest income from loans to third parties | | | — | | | (270,563) | | | (7,997,961) | | | (1,102,969) | |
Accrued interest income from short-term investment | | | — | | | — | | | (2,901,955) | | | (400,198) | |
| | | | | | | | | | | | | |
Changes in operating assets and liabilities: | | | | | | | | | | | | | |
Notes receivable | | | (2,124,748) | | | (4,522,674) | | | 7,085,918 | | | 977,193 | |
Accounts receivable | | | 18,326,410 | | | 3,811,866 | | | (495,784) | | | (68,372) | |
Accounts receivable-related party | | | 3,409,912 | | | — | | | — | | | — | |
Inventories | | | (2,502,263) | | | (689,291) | | | (2,373,013) | | | (327,253) | |
Other receivables | | | (338,468) | | | 285,786 | | | (1,307,694) | | | (180,339) | |
Other receivables-related parties | | | — | | | — | | | (64,122) | | | (8,843) | |
Purchase advances | | | (899,371) | | | 865,430 | | | (2,575,198) | | | (355,136) | |
Contract costs | | | (21,944,876) | | | 15,422,513 | | | (14,236,539) | | | (1,963,309) | |
Prepaid expense | | | 143,354 | | | (274,215) | | | 70,164 | | | 9,676 | |
Prepaid expense - related parties | | | (433,000) | | | 158,000 | | | 275,000 | | | 37,924 | |
Operating lease liabilities | | | (2,762,949) | | | (1,594,702) | | | (3,061,303) | | | (422,173) | |
Accounts payable | | | (2,109,944) | | | (5,523,938) | | | (1,710,898) | | | (235,944) | |
Other payables | | | 5,685,188 | | | (6,329,042) | | | 2,270,104 | | | 313,062 | |
Other payables-related parties | | | (2,577,610) | | | 969,468 | | | 352,260 | | | 48,579 | |
Contract liabilities | | | 4,160,456 | | | (5,578,999) | | | 641,087 | | | 88,410 | |
Accrued payroll and employees' welfare | | | (1,593,822) | | | 296,065 | | | 131,971 | | | 18,200 | |
Taxes payable | | | 76,452 | | | 961,964 | | | (1,036,483) | | | (142,938) | |
Net cash used in operating activities | | | (34,050,468) | | | (26,247,237) | | | (51,688,331) | | | (7,128,147) | |
| | | | | | | | | | | | | |
Cash flows from investing activities: | | | | | | | | | | | | | |
Purchases of property and equipment | | | (522,416) | | | (692,206) | | | (940,673) | | | (129,725) | |
Proceeds from disposal of equipment | | | — | | | — | | | 31,950 | | | 4,406 | |
Repayments of loans to third parties | | | 5,150,377 | | | 171,435,032 | | | 40,113,311 | | | 5,531,879 | |
Payments made for loans to third parties | | | (51,638,458) | | | (171,071,510) | | | (103,146,761) | | | (14,224,589) | |
Payments for short-term investments | | | — | | | — | | | (290,051,964) | | | (39,999,995) | |
Redemption of short-term investments | | | — | | | — | | | 108,769,464 | | | 14,999,995 | |
Step acquisition of FGS, net of cash | | | 471,843 | | | — | | | — | | | — | |
Net cash used in investing activities | | | (46,538,654) | | | (328,684) | | | (245,224,673) | | | (33,818,029) | |
| | | | | | | | | | | | | |
Cash flows from financing activities: | | | | | | | | | | | | | |
Proceeds from short-term bank loans | | | 16,020,000 | | | 10,000,000 | | | 13,491,481 | | | 1,860,560 | |
Repayments of short-term bank loans | | | (10,540,000) | | | (15,000,000) | | | (11,040,000) | | | (1,522,486) | |
Proceeds from short-term borrowings | | | 3,660,000 | | | — | | | — | | | — | |
Repayments of short-term borrowings | | | (3,360,000) | | | (530,000) | | | — | | | — | |
Proceeds from short-term borrowings-related parties | | | 18,400,000 | | | 11,100,000 | | | 15,013,115 | | | 2,070,403 | |
Repayments of short-term borrowings-related parties | | | (15,950,000) | | | (14,770,000) | | | (9,000,000) | | | (1,241,157) | |
Proceeds from long-term borrowings-related party | | | — | | | — | | | — | | | — | |
Repayments of long-term borrowings-related party | | | (816,952) | | | (892,701) | | | (1,499,667) | | | (206,813) | |
Proceeds from warrants issued with common stock | | | 212,051,414 | | | — | | | 17,493,069 | | | 2,412,405 | |
Proceeds from sale of ordinary shares, net of issuance costs | | | 81,091,141 | | | — | | | 28,174,993 | | | 3,885,509 | |
Proceeds from sale of prefunded warrants, net of issuance costs | | | 30,276,569 | | | 93,321 | | | 3,750,282 | | | 517,188 | |
Proceeds from stock issuance for warrants exercised | | | 21,130,035 | | | | | | | | | | |
Proceeds from issuance of convertible notes | | | 42,014,616 | | | — | | | — | | | — | |
Refund of capital contribution by a non-controlling shareholder | | | — | | | — | | | — | | | — | |
Capital contribution by non-controlling shareholders | | | 50,000 | | | — | | | — | | | — | |
Net cash provided by (used in) financing activities | | | 394,026,823 | | | (9,999,380) | | | 56,383,273 | | | 7,775,609 | |
| | | | | | | | | | | | | |
Effect of exchange rate fluctuation on cash and restricted cash | | | 224,365 | | | 10,275,148 | | | 27,688,659 | | | 3,818,441 | |
| | | | | | | | | | | | | |
Net increase (decrease) in cash and restricted cash | | | 313,662,066 | | | (26,300,153) | | | (212,841,072) | | | (29,352,126) | |
Cash and restricted cash at beginning of year | | | 30,336,504 | | | 343,998,570 | | | 317,698,417 | | | 43,812,615 | |
Cash and restricted cash at end of year | | ¥ | 343,998,570 | | ¥ | 317,698,417 | | ¥ | 104,857,345 | | $ | 14,460,489 | |
| | | | | | | | | | | | | |
Supplemental cash flow information | | | | | | | | | | | | | |
Cash paid during the year for interest | | ¥ | 1,682,863 | | ¥ | 1,427,174 | | ¥ | 1,200,699 | | $ | 165,584 | |
Cash paid during the year for taxes | | ¥ | (98,338) | | ¥ | 10,214 | | ¥ | 18,339 | | $ | 2,529 | |
Reconciliation of cash and restricted cash, beginning of year | | | | | | | | | | | | | |
Cash | | ¥ | 30,336,504 | | ¥ | 343,998,570 | | ¥ | 316,974,857 | | ¥ | 43,712,832 | |
Restricted cash | | | — | | | — | | | 723,560 | | | 99,783 | |
Cash and restricted cash, beginning of year | | ¥ | 30,336,504 | | ¥ | 343,998,570 | | ¥ | 317,698,417 | | $ | 43,812,615 | |
| | | | | | | | | | | | | |
Reconciliation of cash and restricted cash, end of year | | | | | | | | | | | | | |
Cash | | ¥ | 343,998,570 | | ¥ | 316,974,857 | | ¥ | 104,125,800 | | ¥ | 14,359,604 | |
Restricted cash | | | — | | | 723,560 | | | 731,545 | | | 100,885 | |
Cash and restricted cash, end of year | | ¥ | 343,998,570 | | ¥ | 317,698,417 | | ¥ | 104,857,345 | | $ | 14,460,489 | |
| | | | | | | | | | | | | |
Non-cash investing and financing activities | | | | | | | | | | | | | |
Issuance of common stock in exchange of shares of FGS, net of issuance costs | | ¥ | 1,689,807 | | ¥ | — | | ¥ | — | | $ | — | |
Cancellation of common stock issued prior years in exchange of shares of FGS , net of issuance costs | | ¥ | (1,689,807) | | ¥ | — | | ¥ | — | | $ | — | |
Issuance of common stock in exchange of shares of Starry, net of issuance costs | | | 27,675,450 | | ¥ | — | | ¥ | — | | $ | — | |
Cancellation of shares issued to Starry Lab | | ¥ | — | | ¥ | (27,675,450) | | ¥ | — | | $ | — | |
Conversion of convertible notes to 9,225,338 shares of ordinary shares | | ¥ | 42,435,669 | | ¥ | — | | ¥ | — | | $ | — | |
Right-of-use assets obtained in exchange for operating lease obligations | | ¥ | 7,242,819 | | ¥ | 937,672 | | ¥ | 75,182 | | $ | 10,368 | |
Reduction of right-of-use assets and operating lease obligations due to early termination of lease agreement | | ¥ | — | | ¥ | — | | ¥ | 62,357 | | $ | 10,368 | |
Inventories transferred to and used as fixed assets | | ¥ | 302,795 | | ¥ | — | | ¥ | (65,456) | | $ | 8,599 | |
Receivable for disposal of property and equipment | | ¥ | — | | ¥ | 3,000 | | ¥ | — | | $ | (9,027) | |
Capital contribution receivable due from non-controlling Interest | | ¥ | 50,000,000 | | ¥ | — | | ¥ | — | | $ | — | |
Other payable due to non-controlling interest converted into capital contribution | | ¥ | — | | ¥ | 1,130,000 | | ¥ | — | | $ | — | |