Back to Registry
View Author Profile
Official Verified
open-leqi-assistant
乐企(open-leqi)项目分析与代码定位助手技能。当用户询问关于乐企发票系统、勾选能力、抵扣功能、用票接口等问题时触发。本技能提供项目架构理解、代码快速定位、业务流程分析和问题诊断建议。
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/allanseven/open-leqi-assistantOr
乐企(open-leqi)项目分析助手
技能概述
本技能基于百望乐企数字开放平台项目,专注于帮助开发者快速理解项目架构、定位代码、解答业务问题。
项目结构
D:/leqi/open-leqi/
├── open-leqi-api/ # API模块 - Feign客户端定义
│ └── src/main/java/com/baiwang/platform/openleqi/
│ ├── api/ # 29个Feign Client接口
│ ├── model/ # 数据模型(163个)
│ └── farm/ # 农业相关API
│
├── open-leqi-service/ # 服务模块 - 核心业务实现
│ └── src/main/java/com/baiwang/platform/openleqi/
│ ├── web/ # 60个Controller控制器
│ ├── service/impl/ # 122个Service实现
│ ├── dao/ # 数据访问层(109个)
│ ├── common/ # 公共工具(508个)
│ ├── config/ # 配置类
│ ├── job/ # 定时任务(19个)
│ └── intergration/ # 外部集成(48个)
│
└── startup/ # 启动模块
核心业务模块
发票管理
| 模块 | Controller | Service | Client | 说明 |
|---|---|---|---|---|
| 发票主表 | LqInvoiceMainController | LqInvoiceMainService | LqInvoiceMainClient | 全电发票核心数据 |
| 发票明细 | LqInvoiceDetailController | LqInvoiceDetailService | LqInvoiceDetailClient | 发票商品明细 |
| 发票抵扣 | LqInvoiceDeductController | LqInvoiceDeductService | LqInvoiceDeductClient | 增值税抵扣勾选 |
| 发票作废 | - | LqWarrantPoolService | LqWarrantSyncClient | 发票作废管理 |
勾选能力
| 模块 | Controller | Service | 说明 |
|---|---|---|---|
| 抵扣勾选 | LqWithholdDeductController | LqWithholdDeductService | 勾选用于抵扣 |
| 退税勾选 | LqWarrantDeductController | LqWarrantDeductService | 勾选用于退税 |
| 不抵扣勾选 | LqNotdeductInitTaskController | LqNotdeductInitTaskService | 不抵扣处理 |
| 农产品抵扣 | LqFarmInvoiceDeductWeightController | LqFarmInvoiceDeductWeightService | 农产品加计扣除 |
用票能力
| 模块 | Controller | Service | 说明 |
|---|---|---|---|
| 实时用票 | LqSyncController | LqSyncService | 发票开具 |
| 下载发票 | LqDownloadTaskController | LqDownloadTaskService | 发票下载 |
| 发票池 | LqInvoicePoolTaskController | LqInvoicePoolTaskService | 发票池管理 |
代码定位规则
根据功能查询Controller
// 发票相关: 搜索 "LqInvoice*Controller"
com.baiwang.platform.openleqi.web.LqInvoiceMainController
com.baiwang.platform.openleqi.web.LqInvoiceDetailController
com.baiwang.platform.openleqi.web.LqInvoiceDeductController
// 勾选相关: 搜索 "Lq*DeductController" 或 "Lq*WarrantController"
com.baiwang.platform.openleqi.web.LqWithholdDeductController
com.baiwang.platform.openleqi.web.LqWarrantDeductController
根据功能查询Service
// 服务接口: com.baiwang.platform.openleqi.service.Lq*Service
// 服务实现: com.baiwang.platform.openleqi.service.impl.Lq*ServiceImpl
根据功能查询DAO
// Entity: com.baiwang.platform.openleqi.dao.entity.Lq*
// Mapper: com.baiwang.platform.openleqi.dao.mapper.Lq*Mapper
常用业务场景
场景1: 查询发票信息
- Controller:
LqInvoiceMainController→/web/lqInvoiceMain/queryPageList - Service:
LqInvoiceMainService - DAO:
LqInvoiceMainMapper
场景2: 抵扣勾选处理
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-allanseven-open-leqi-assistant": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.