本技能基于百望乐企数字开放平台项目,专注于帮助开发者快速理解项目架构、定位代码、解答业务问题。
text
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/ # 启动模块
模块ControllerServiceClient说明发票主表LqInvoiceMainController``LqInvoiceMainService``LqInvoiceMainClient全电发票核心数据发票明细LqInvoiceDetailController``LqInvoiceDetailService``LqInvoiceDetailClient发票商品明细发票抵扣LqInvoiceDeductController``LqInvoiceDeductService``LqInvoiceDeductClient增值税抵扣勾选发票作废-LqWarrantPoolService``LqWarrantSyncClient发票作废管理
模块ControllerService说明抵扣勾选LqWithholdDeductController``LqWithholdDeductService勾选用于抵扣退税勾选LqWarrantDeductController``LqWarrantDeductService勾选用于退税不抵扣勾选LqNotdeductInitTaskController``LqNotdeductInitTaskService不抵扣处理农产品抵扣LqFarmInvoiceDeductWeightController``LqFarmInvoiceDeductWeightService农产品加计扣除
模块ControllerService说明实时用票LqSyncController``LqSyncService发票开具下载发票LqDownloadTaskController``LqDownloadTaskService发票下载发票池LqInvoicePoolTaskController``LqInvoicePoolTaskService发票池管理
java
// 发票相关: 搜索 "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
java
// 服务接口: com.baiwang.platform.openleqi.service.Lq*Service
// 服务实现: com.baiwang.platform.openleqi.service.impl.Lq*ServiceImpl
java
// Entity: com.baiwang.platform.openleqi.dao.entity.Lq*
// Mapper: com.baiwang.platform.openleqi.dao.mapper.Lq*Mapper
LqInvoiceMainController → /web/lqInvoiceMain/queryPageListLqInvoiceMainServiceLqInvoiceMainMapperLqWithholdDeductController → 抵扣接口LqWithholdDeductServicededuct() / undoDeduct()LqSyncControllerLqSyncService.syncInvoice()@RequiredArgsConstructor 代替构造函数注入Lq{业务}Controller (例: LqInvoiceMainController)Lq{业务}Service (例: LqInvoiceMainService)Lq{业务} (例: LqInvoiceMain)Lq{业务}Mapper (例: LqInvoiceMainMapper)@Api @ApiOperation 注解BWJsonResultDto 统一返回格式@Validated 进行参数校验com.baiwang.bop:baiwang-bopsdk:3.4.822com.baiwang.basictools:bw-spring-boot-starter-parent-security:2.7.196当用户提问时,按以下顺序响应:
references/project-architecture.md - 详细项目架构说明references/business-flows.md - 业务流程图说明references/api-guide.md - API接口文档索引