Skip to main content
Customer Cases

Wens Foodstuff Group boosts R&D efficiency 10x: 12% of new code generated by Qoder CN with a 58% adoption rate

Wens Foodstuff Group Co., Ltd. (hereafter Wens Group) is a leader in China's agricultural industry. With a dedicated R&D and IT team, the company is committed to using technology to improve production efficiency and management in agriculture and animal husbandry. Its technical team plays a pivotal role in driving the group's digital transformation and building its smart agriculture and animal husbandry platform. With rapid business expansion and a growing engineering team, the R&D division faced multiple challenges in efficiency, quality, and velocity during its digital transformation. These challenges were particularly pronounced in the digital upgrade of traditional sectors like agriculture and animal husbandry. The R&D team spent significant time on repetitive, boilerplate coding, which slowed development and constrained engineers' creativity. This was especially true during the digital transformation of the agriculture and animal husbandry sectors, which involved extensive development of data models, business rules, and front-end interfaces that consumed a great deal of engineering time.
New hires were slow to onboard, the team struggled to maintain consistent coding standards, and the burden of code review was high. As the group's business and technical teams grew, training new employees quickly while ensuring code quality and standards became a major management challenge.
Rapid product iteration cycles required generating high-quality code faster. To respond effectively to fast-changing market and business needs, the group needed to shorten its R&D cycles and increase its competitive edge.


In response, Wens Group integrated Qoder CN Dedicated Edition across its R&D workflow as an AI programming assistant to improve development efficiency, code quality, and team collaboration. Wens Group applied Qoder CN in five core use cases covering the entire software development lifecycle, achieving end-to-end efficiency improvements from coding assistance to intelligent diagnostics:
  • Intelligent code completion and comment generation: Qoder CN provides real-time code suggestions and automatically generates comments for functions, classes, and modules, significantly improving coding efficiency and code readability.
  • R&D acceleration: It offers real-time assistance for tasks such as interface development, business logic implementation, entity class creation, front-end code generation, and SQL script generation, reducing manual coding efforts.
  • Code optimization and issue diagnosis: Qoder CN analyzes code for performance bottlenecks, identifies slow SQL, and suggests optimizations. It quickly pinpoints the root cause of interface exceptions and provides suggested fixes, dramatically reducing troubleshooting time.
  • Business logic clarification and conversion: Qoder CN translates complex business rules (such as an EAS system's XML-based BOTP conversion rules) into an intuitive mapping table. It also automatically translates technical formulas into natural language descriptions, making the business logic easier to understand.
  • Standardization and automation: It automatically generates standardized Java constant classes, configuration files, and other boilerplate code, ensuring consistency in naming and structure while reducing team communication overhead.
In July 2025, the AI-generated code percentage at Wens Group reached 12% (defined as the lines of AI-generated code adopted in a month divided by the total effective lines of code committed to Git), and the adoption rate reached 58%. This indicates that AI-assisted coding tools are deeply integrated into the R&D workflow. During the same period, the monthly volume of adopted AI-generated code increased tenfold from 16,000 to 166,000 lines, reflecting the development team's growing trust in the AI's output. Furthermore, between June and July, active users of the AI tool grew by 17.3% month-over-month, achieving near-full coverage of the R&D team and demonstrating widespread adoption and positive usage trends.
DimensionWens Group AI-generated code percentageQoder CN code generation percentage (referred to as adoption rate by Wens)
DefinitionLines of AI-generated code adopted in the month / Total effective lines of code committed to GitLines of code accepted (totalLinesAccepted) / Lines of code changed (totalLinesChanged)
NumeratorLines of AI-generated code adopted in the monthLines of code accepted on the day (including ask, edit, agent Q&A, and inline completions)
DenominatorTotal effective lines of code committed to GitLines of code changed on the day (including ask, edit, agent Q&A, and inline completions)
Time dimensionMonthly statisticsDaily/Monthly statistics
ScopeAll code committed to GitOnly code changes within the Qoder CN tool (plugin)
ParticipantsAll developers (including those not using Qoder CN)Only developers using Qoder CN
Typical value12%Typically higher

Key results

Use case 1: Significant interface performance optimization

Wens Group used Qoder CN to analyze the query interface for split-order delivery notes in its retail and wholesale platform. After the team uploaded the interface code and database table schema, Qoder CN automatically parsed the SQL execution plan, identified three performance bottlenecks, and generated index optimization recommendations and a rewritten SQL query. Core results:
  • Query response time reduced from 3 seconds to 0.6 seconds
  • Database CPU usage reduced by 45%
  • Generated 5 index optimization statements, which the team validated in the production environment
Qoder CN recommended optimizing the main SQL query by consolidating multiple subquery calls into a single JOIN. The following is an example of the rewritten SQL structure (sensitive fields have been masked):
SELECT
    xxx.id AS id,
    xxx AS billno,
    xxx AS xxx.alamt,
    xxx AS xxx.ear,
    xxx AS xxx.dersn,
    xxx AS wensorg,
    xxx.er AS wenscustomer,
    xxx.e AS xxx.te,
    xxx AS entryids
FROM (
    SELECT
        xxx.id AS fid,
        xxx AS fentryid,
        xxx AS fk_xxx.n,
        xxx.g AS fk_wens_org,
        xxx.er AS fk_wensxxx,
        ...
    FROM xxx
) subquery

Use case 2: Increased document conversion efficiency

The team used Qoder CN with the EAS system's XML-based BOTP conversion rules to generate a mapping table for upstream and downstream document fields. This converted multi-layered, nested XML rules into an intuitive Excel spreadsheet and automatically translated technical formulas (such as the logic in the _BOT_getPayExpFromReceiptsExp function) into business rules described in natural language. Core results:
  • Mapped 132 fields, reducing the error rate from 18% to 0.The team used Tongyi Lingma's intelligent chat to clarify the field mapping from an accounts receivable document to the target document. The mapping was divided into header fields and entry fields. Header fields included org (organization), srcBillName (source bill name), description, sourceBillId (source bill ID), company (business partner), currency, bizDate (business date), id (document ID), and business partner type. Entry fields included counter account, expense type, amount payable, amount payable in local currency, exchange rate, currency, remarks, cost center, and entry ID. Some mapping rules included conditional logic, such as determining the counter account value based on an expense type code.

Use case 3: More efficient constant class generation

Qoder CN automatically extracted three types of constants—MainEntity, SubEntity, and SubEntityFields— and grouped them by functional module with standardized comments. It also supported custom naming rules, such as automatically converting wens_genetics from XML to the WENS_GENETICS constant. Core results:
  • The time to generate 800 lines of code fell from 2 hours to 5 minutes.
  • Achieved 100% consistency in constant naming, reducing communication costs for cross-team collaboration.
    /* ============================== 主实体字段 (Main Entity Fields) ============================== */
    /** xxx */
    public static final String WENS_FEMALE_STD_WT = "xxx";
    /** xxx */
    public static final String WENS_FEMALE_ACT_WT = "xxx";
    /** xxx */
    public static final String WENS_GENETICS = "xxx";
    /** xxx */
    public static final String WENS_GENDER = "xxx";
    /** 群号 (Flock Number) */
    public static final String WENS_FLOCK = xxx;
    /** 预计领用时间段 (Estimated Requisition Period) */
    public static final String WENS_TIME_PERIOD = "xxx";
    /** xxx */
    public static final String WENS_FEED_ORG = "xxx";
    /** 养户 (Farmer) */
    public static final String WENS_REARER = "xxx";
    /** 当前天龄 (Days of Age) */
    public static final String WENS_DAYS = "xxx";
    

Use case 4: Accelerated financial reconciliation data processing

The team used Qoder CN to generate SQL for customer balance detail reconciliation. This enabled multi-dimensional data statistics covering eight transaction types, such as customer deposits, withdrawals, and transfers. The solution supports three-level grouping by customer type, transaction method, and organizational unit, and it automatically handles complex calculation logic for opening balances, sales amounts, and discounts. Core results:
  • Processing time for 802 reconciliation data entries fell from 4 hours to 15 minutes.
  • The manual calculation error rate dropped from 12% to 0.
  • Troubleshooting efficiency improved significantly: interface exception investigation time dropped from 90 minutes to 10 minutes, and the tool provided multiple suggested fixes.

Qualitative impact

  • Engineers can focus on core business logic and innovative work, such as optimizing smart farming algorithms and analyzing agricultural big data.
  • The team's coding style has become more unified, improving code quality and reducing potential bugs and maintenance costs.
  • This has accelerated iteration and delivery cycles for the smart agriculture and animal husbandry platform and various business systems, strongly supporting the group's digital transformation strategy.
  • Qoder CN has evolved from a supplementary tool into a key productivity driver for the Wens technical team, becoming an essential AI programming assistant for every engineer.

Customer testimonial

"Qoder CN has become an indispensable AI programming assistant for our technical team at Wens Group. It has not only dramatically boosted our development efficiency, allowing our engineers to focus on more valuable and innovative work, but has also provided a powerful technological boost to our digital transformation by enhancing code quality and standardization."
—— Kuang Yingjie, Head of IT, Wens Group