Compare commits

...

652 Commits
master ... lets

Author SHA1 Message Date
liuy 3772150497 feat(deletedata): 添加销售订单取消签字和删除功能
- 新增 queryIcGeneralHByCancelSignatureV2 和 querySoSaleByDeletev2 方法
- 实现销售出库单和销售订单的批量取消签字和删除
-优化数据处理逻辑,按日期和单位分组进行批量操作
- 添加定时任务,每10秒重新执行删除操作
2025-05-07 23:59:11 +08:00
liuy 919cc07177 feat(sales): 过滤实入数量为零的销售退货单明细行
- 新增 filterReceivedQtyZero 方法,用于过滤实入数量为 0 的明细行- 在处理销售退货单时,调用该方法过滤掉无效的明细行
- 优化了代码结构,提高了数据处理的准确性
2025-05-06 10:41:56 +08:00
zhengyf 1633bef047 丽知:1、新增OFS调整入库(无源件入库)--->U8C红字其它出库查询自定义档案WYTZRKYSGX,查询客商 2025-05-02 15:07:37 +08:00
zhengyf 3d49266ed3 丽知:1、新增OFS调整入库(无源件入库)--->U8C红字其它出库更新pluginId(); 2025-05-01 00:30:45 +08:00
zhengyf c560fc9940 丽知:1、新增OFS调整入库(无源件入库)--->U8C红字其它出库 2025-04-30 15:18:53 +08:00
zhengyf b4da792282 丽知:1、仅退款修改查询ofs时的状态 2025-04-27 15:09:19 +08:00
zhengyf 62d50105d0 丽知:1、修改公司过滤方法。 2025-04-24 10:48:07 +08:00
zhengyf 4ec96609bf 丽知:1、调拨入库确认单修改按ReceivedAt_end查询 2025-04-23 11:18:02 +08:00
liuy 5cd596595b refactor(lets): 重构公司代码过滤逻辑
- 将硬编码的公司代码过滤条件替换为从数据库动态获取的过滤条件- 优化了多个插件中的公司代码过滤逻辑,提高了代码复用性和可维护性
- 新增 queryBdDefDocByListPk 方法用于获取过滤条件
2025-04-23 09:51:44 +08:00
zhengyf 47e9b289d5 丽知:1、优化仅退款相关sql。2、优化取销售订单交易成功时间。 2025-04-21 14:11:12 +08:00
liuy ed01825501 refactor(sales): 优化无源退货入库处理逻辑
-移除测试用的固定会员 ID
- 调整无源入库单保存逻辑,先保存所有数据再过滤
- 优化无源入库单明细行匹配售后订单明细行的逻辑
- 修改不匹配时的处理方式,避免抛出异常
- 调整实退金额计算逻辑,不匹配时返回 0
- 更新测试代码,启用新的处理逻辑
2025-04-18 15:45:37 +08:00
zhengyf 865922f78b 丽知:1、调拨新增退货标识。 2025-04-17 16:21:07 +08:00
liuy b9e6433671 fix(buildpackage): 修正 U8C API 端口
- 将 U8C API 的端口从 9099 修改为 19099- 此修改解决了 U8C 连接的问题,使得连接成功
2025-04-17 15:00:53 +08:00
zhengyf 3afd0c1095 丽知:1、toc仅退款修改时间,交易成功时间 > 退款完成时间 则取U8C交易成功时间。
2、toc仅退款查找销售订单时,没有交易成功时间的过滤掉。
3、tob、toc仅退款zyx18新增汇总维度。
2025-04-16 16:47:30 +08:00
zhengyf 710588d140 入库确认单新增id字段 2025-04-16 15:07:28 +08:00
zhengyf a93c33eab9 丽知:1、调拨-退库时价格去入库仓库 2025-04-16 15:05:39 +08:00
liuy db6284e56b feat(lets): 添加售后订单批量插入和更新功能
- 在 OnlyAfterSalesBDaoImpl 和 OnlyAfterSalesHDaoImpl 中添加批量插入和更新方法
- 在 IOnlyAfterSalesBDao 和 IOnlyAfterSalesHDao 中添加相应接口- 在 OnlyAfterSalesBEntity 和 OnlyAfterSalesHEntity 中添加业务类型、推送状态等新字段- 更新 OnlyAfterSalesBEntity.xml 映射文件,添加新字段的映射
2025-04-16 14:00:29 +08:00
liuy b5f1ede6b8 feat(purchase): 过滤实发数量为0的采购订单明细行
- 在 ConsignmachiningCinfurmIn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中添加过滤逻辑- 过滤掉实发数量为0的明细行,避免生成无效的采购订单
- 更新数据库密码配置
- 调整测试用例,使用新的采购订单代码
2025-04-10 10:02:11 +08:00
liuy 404b0007b1 refactor: 删除无用注释
删除了代码中的无用注释,提高了代码的可读性和维护性。
2025-04-07 11:07:23 +08:00
liuy 687fa75c65 refactor(sales): 优化被动仓库收据代码并更新测试用例
- 在 PassiveWarehouseReceiptToC 类中添加注释标记- 更新 ProxyPurchaseWarehousOrderTest 测试用例中的订单编号
2025-04-07 10:44:50 +08:00
liuy 08720c627f fix(sales): 优化售后无源入库单生成红字应收单的逻辑
- 增加对合并后金额为 0 的判断,避免传递无效数据到 U8C
- 移除税率计算相关代码,简化逻辑
- 新增 filterForSale 方法,过滤掉售中节点的售后订单- 更新测试用例,使用实际订单编号进行测试
2025-03-28 16:04:56 +08:00
zhengyf 84a04f0fdc 丽知:调拨入库店铺修改 2025-03-24 15:14:05 +08:00
zhengyf 8496de6904 丽知:freplenishflag 销售调拨出库退回使用 2025-03-24 14:45:32 +08:00
zhengyf 0265e59477 丽知:调拨订单新增退货标识,新增部门(002)。 2025-03-24 13:54:24 +08:00
liuy b0f2b4fe11 refactor(sales): 重构 TOC 售后退款流程- 修改插件名称和标签,增加红字销售订单或应收单功能
- 更新业务流程名称,从 "TOC 售后完成" 改为 "TOC 销售退款"
- 优化计算逻辑,支持按实退金额计算
- 新增红字应收单推送接口和相关数据处理方法
- 重构原有的销售订单生成逻辑,适应新的退款流程
2025-03-21 16:53:09 +08:00
zhengyf fc441b4b1f 丽知:调拨订单,区分调拨-退货类型。公司对调,数量负数。 2025-03-21 15:09:31 +08:00
liuy f8bce54427 refactor(lets): 重构委外加工入库逻辑
- 添加加工单位和供应商信息
- 优化采购部门查询逻辑
- 移除不必要的代码注释
-增加供应商编码校验和查询
- 更新相关DTO结构
2025-03-19 12:09:49 +08:00
zhengyf 4dc423f5b1 丽知:调拨订单,同公司内调拨取消单价 2025-03-18 22:25:14 +08:00
liuy 8fca910ddc refactor(purchase): 优化采购入库确认单查询性能
- 新增批量查询 O 采购入库单 和 OFS 采购订单 的方法
- 在查询基本档案中集成批量查询逻辑,减少接口调用次数
- 优化代码结构,提高可读性和维护性
2025-03-18 16:13:43 +08:00
liuy 65b91a4d93 refactor(buildpackage): 移除无源仓库收货 TOB插件中的注释代码
- 删除了两处被注释掉的代码片段
- 恢复了 storeCode 参数的设置,以便正常查询 TOB 店铺的库存信息
2025-03-18 13:45:21 +08:00
liuy a4ad863f13 feat(sales): 添加收发类别字段并优化相关逻辑
- 在 SalesInvoiceHeadDto 中添加 pk_defdoc3 和 vdef3 字段,用于存储收发类别信息- 在多个类中添加收发类别的设置逻辑
- 优化部分代码格式和注释
2025-03-18 13:11:03 +08:00
liuy 7d844fa58a refactor(buildpackage): 更新 U8C 接口地址配置
- 将本地中台地址从 prodOverAll 移到 devOverAll
- 注释掉外网正式 U8C 地址
2025-03-17 19:17:39 +08:00
liuy 5d8c2b64e5 feat(lets): 新增 TOB 无源入库单处理功能- 新增 OrderToBHeaderDtoV2 类用于 TOB 无源入库单的数据传输
- 修改 PassiveWarehouseReceiptToC 类,增加对 TOB 无源入库单的处理逻辑
- 新增 PassiveWarehouseReceiptToB 类用于处理 TOB 无源入库单
- 更新配置文件,添加 TOB无源入库单处理相关的 bean- 新增测试用例,验证 TOB 无源入库单处理功能
2025-03-17 19:01:09 +08:00
liuy 2108f127fb perf(buildpackage): 优化 OFS 接口调用性能
- 在 queryOfsReturnGoods 和 queryOfsPoOrder 方法中添加同步锁,减少接口堵塞
-优化了接口调用逻辑,提高查询效率
- 调整了测试用例中的输入参数
2025-03-17 12:13:58 +08:00
liuy e0f49363db refactor(sales): 优化售后退货处理逻辑
- 在处理售后退货时,增加根据场景类型进行过滤的条件
- 修改实退金额的计算方式,保留 4 位小数以暴露潜在问题
- 更新测试用例,启用 previously commented out 代码
2025-03-17 11:43:22 +08:00
liuy f90d6db61b refactor(sales): 重构被动入库流程
- 修改类名:将 SoSaleReturnPluginInitializerToC 改为 PassiveWarehouseReceiptToC
- 移除未使用的 pushScenarioType 参数
- 修正 QueryOfsSoSaleOutVo 中的字段名:code 改为 receiptCode
- 删除未使用的 REFERENCE_SHOP_LIST 中的空格- 更新相关测试用例
2025-03-14 19:37:28 +08:00
liuy 344de0fb40 test(buildpackage): 更新测试代码并添加新功能
- 修改了ConsignmachiningCinfurmInTest中的测试代码,更新了订单号
- 新增了OfsPassiveorderDetailDaoImpl和OfsPassiveorderHeaderDaoImpl两个DAO实现类
- 新增了IOfsPassiveorderDetailDao和IOfsPassiveorderHeaderDao两个DAO接口
- 新增了OfsPassiveorderDetailDto数据传输对象类
- 新增了OfsPassiveorderDetailEntity实体类
2025-03-14 18:51:46 +08:00
liuy 16c3209043 refactor(sales): 优化无源仓库收货单相关逻辑- 修改了 PassiveWarehouseReceiptToC 类中的多个方法
- 优化了 QueryAdditionUtil 类中的金额计算逻辑
- 删除了部分冗余代码,提高了代码可读性
- 调整了部分变量名称,使其更加准确
2025-03-14 15:03:38 +08:00
liuy a31bcda6c9 refactor(sales): 优化无源仓库收货单转换逻辑- 修复赠品判断逻辑,使用 setScale 方法保留两位小数
- 添加过滤逻辑,去除没有交易成功的无源件明细行- 更新 U8C 接口调用方式,使用 List<Map> 结构传递参数
- 优化 header 信息获取逻辑,提高代码可读性
- 移除不必要的注释和冗余代码,提升代码质量
2025-03-13 19:28:19 +08:00
liuy 7b9083b699 refactor(sales): 重构公司档案对照逻辑
- 注释掉 OfsPassiveorderDetailEntity.xml 中的排序逻辑
- 移除 PassiveWarehouseReceiptToC、SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 中的公司档案对照代码
- 注释掉 QueryU8CEntityUtil 中的 queryBdDefDocByPkDefDocList 方法
- 修改 PassiveWarehouseReceiptToC 中的退款时间设置逻辑,增加空值判断
2025-03-13 17:18:46 +08:00
liuy 3c5c54a5f7 feat(buildpackage): 新增交易时间字段并优化销售订单推送逻辑- 在 OfsPassiveorderDetailEntity 中添加 transactionDate 字段,用于记录交易时间
- 更新OfsPassiveorderDetailEntity.xml,增加 transactionDate 字段的数据库映射
- 修改 SoSaleReturnPluginInitializerToC 中的 filterForSale 方法,增加对 returnNode 的空值检查
- 在 ArapDjzbVO 中添加 def1、def2、def3 和 def16 字段,用于扩展自定义项
- 更新 QueryAdditionUtil,增加 additionalV2 方法,用于处理 TOC 业务的销售订单推送
- 在 PassiveStorageResponse 中添加 refundedAt 字段,用于记录退款完成时间
2025-03-13 16:39:26 +08:00
liuy ed4d8f3e94 fix(sales): 过滤售中状态的售后订单
- 新增 filterForSale 方法,用于过滤售中状态的售后订单
- 在查询售后订单后,调用 filterForSale 方法进行过滤
- 优化了代码结构,提高了可读性和可维护性
2025-03-13 15:06:15 +08:00
liuy 0a5840bfe7 fix(sales): 修复赠品判断逻辑
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中
- 更新赠品判断逻辑,使用 setScale(2, BigDecimal.ROUND_HALF_UP) 进行金额比较- 确保金额为0 时正确识别为赠品
2025-03-12 18:29:59 +08:00
liuy 896dea23be test: 注释掉 PassiveWarehouseReceipt 测试中的两个测试方法
- 在 PassiveWarehouseReceiptTest.java 中注释掉了 startImplementByTradeTime 方法的调用
- 在 PassiveWarehouseReceiptToCTest.java 中注释掉了 startImplementStockByTime 方法的调用
2025-03-12 18:10:33 +08:00
liuy c59059cf17 feat(ofs): 添加无源件订单中台相关实体和 DAO接口
- 新增 OfsPassiveorderDetailEntity 和 OfsPassiveorderHeaderEntity 实体类
- 新增 IOfsPassiveorderDetailDao 和 IOfsPassiveorderHeaderDao DAO 接口
- 新增 OfsPassiveorderDetailDaoImpl 和 OfsPassiveorderHeaderDaoImpl DAO 实现类
2025-03-12 16:48:04 +08:00
liuy a8f79105d1 test(outsourc): 添加委外加工类型采购入库单接口测试
- 在 ConsignmachiningCinfurmIn.java 和 ConsignmachiningIn.java 中添加测试注释
- 确认 O正式环境单据拉取和推送至 U8C 系统的字段完整性
- 与业务方通过电话和微信确认单据信息无误
2025-03-11 17:15:24 +08:00
zhengyf 5937b648b7 丽知:调拨入库确认单新增店铺信息 2025-03-11 14:33:43 +08:00
liuy e5c0bf0933 feat(lets): 新增 O采购入库确认单处理功能
- 新增 ConsignmachiningCinfurmIn 类处理 O 采购入库确认单
- 新增 PurchaseReceiptConfirmationSonDto 类用于 O 采购入库确认单的数据传输
- 修改 ConsignmachiningIn 类,支持 O 采购入库单的处理- 更新应用配置文件,添加O 正式环境的 API 地址
- 新增单元测试用例,验证 O 采购入库确认单处理功能
2025-03-11 14:01:56 +08:00
liuy 61c7a8aaca feat(ttxofs): 新增入库确认单接口并优化错误处理- 新增入库确认单接口,支持查询入库确认信息
-优化错误处理逻辑,适应OFS系统返回的特殊情况
- 添加新接口对应的DTO类和缓存配置
- 注释掉测试代码以避免误用
2025-03-11 11:09:46 +08:00
zhengyf ec21ad025d 丽知:新增调拨入库确认单推送调拨入库单。 2025-03-11 10:56:32 +08:00
zhengyf b01de5e5de 丽知:sku同步修改过滤条件,取自定义项(DAGSGL) 2025-03-11 10:53:30 +08:00
zhengyf 8c3152c61b 丽知:代码拷贝 2025-03-11 10:52:11 +08:00
zhengyf 1524f43904 丽知:测试类更新 2025-03-11 10:51:38 +08:00
liuy ee21e3caee refactor(service): 调整删除数据工具的销售出库单处理逻辑
- 注释掉取消签字销售出库单的方法调用
- 添加销售出库单签字的方法调用
- 更新发送请求的 URL 为本地测试环境
2025-03-09 11:01:43 +08:00
liuy 4ff05bdc2f refactor(service): 调整 U8C 数据删除接口的超时时间
- 将 DeleteU8cDataUtil 类中的 HttpRequest超时时间从 900000000毫秒调整为 3600000 毫秒
- 优化了代码注释,说明了超时时间的调整
2025-03-06 09:52:50 +08:00
liuy 33e273beb5 feat(service): 增加 U8C 销售订单取消签字功能
- 新增取消签字功能,针对 2025-03-04 的销售出库单
- 优化了删除目标 U8C 数据的逻辑,增加了线程安全控制
- 修改了 sendU8C 方法,增加了执行耗时和条数的记录
- 更新了多个 API调用,增加了参数传递
2025-03-04 11:03:05 +08:00
liuy b6da932940 feat(deletedata): 新增销售出库单签字功能
- 新增 queryIcGeneralHBySign 方法查询需要签字的销售出库单
- 实现 saleOutSign 方法对销售出库单进行签字
- 添加相关测试用例
2025-03-01 14:24:07 +08:00
liuy ac8c7ac853 fix(sales): 修复销售退货赠品判断逻辑
- 在 SoSaleReturnPluginInitializerToC 类中,修改了赠品判断逻辑,使用 setScale 方法保留两位小数
- 更新了 u8cOperationFlow 方法,将业务流程名称从 "TOC销售" 改为 "TOC销售退货"
- 在测试类中更新了测试用例的订单号
2025-02-28 16:33:28 +08:00
liuy d01ee3eac3 fix(buildpackage): 修复 TOC 冲发出商品红蓝单据标识错误
- 修改 u8cOperationFlowV2 方法,将红字标识从 N 改为 Y
- 更新销售订单父对象的红字标识设置
- 注释掉销售订单子对象的红字标识设置
- 优化采购订单类型的判断逻辑
- 删除测试代码中的无用注释
2025-02-27 16:49:24 +08:00
zhengyf a9a25f1a8a 丽知:tob、toc仅退款修改过滤条件。 2025-02-27 11:04:44 +08:00
zhengyf 22129dc5af 丽知:tob、toc仅退款修改过滤条件。 2025-02-25 10:31:59 +08:00
zhengyf d36c444c74 丽知:调拨入库修改dbilldate 单据日期 2025-02-24 11:08:11 +08:00
liuy 9ead39ad3f feat(outsourc):增加采购部门字段并优化相关功能
- 在 ConsignmachiningIn 和 ConsignmachiningInReturn 类中添加采购部门相关逻辑- 在 ConsignmachiningInSonDto 和 ReturnOrderHeaderDto 中增加采购部门实体字段
- 在 ConsignmachiningInHeadDto 中添加采购部门 ID 字段
-优化查询采购部门逻辑,确保正确获取采购部门信息
2025-02-21 16:36:25 +08:00
liuy 0cb2c76736 feat(outsourc):增加采购部门字段并优化相关功能
- 在 ConsignmachiningIn 和 ConsignmachiningInReturn 类中添加采购部门相关逻辑- 在 ConsignmachiningInSonDto 和 ReturnOrderHeaderDto 中增加采购部门实体字段
- 在 ConsignmachiningInHeadDto 中添加采购部门 ID 字段
-优化查询采购部门逻辑,确保正确获取采购部门信息
2025-02-21 12:34:16 +08:00
liuy 42375eaa7e refactor(purchase): 移除 ProxyPurchaseWarehousOrder 中的状态筛选
移除了 ProxyPurchaseWarehousOrder 类中 queryOfsSoSaleOutVo 的状态筛选条件。此外,更新了单元测试中的时间范围查询。
2025-02-19 15:27:54 +08:00
zhengyf 2c6f60f92b 丽知:调拨入库修改查询调拨出库单方法 2025-02-19 15:13:38 +08:00
zhengyf e12d4d121a 丽知:调拨入库修改报错信息 2025-02-19 11:18:33 +08:00
zhengyf e72d253308 丽知:调拨订单-调出/调入公司编码为空的问题,直接报错 2025-02-18 10:26:47 +08:00
zhengyf 858975a6bd 丽知:调拨出库子表金额为零时为赠品 2025-02-17 21:27:14 +08:00
liuy ea60c83da6 style(buildpackage): 优化代码格式和结构
- 在 SoSaleOutPluginInitializerToC 类中添加空行,提高代码可读性- 在 QueryAdditionUtil 类中同样添加空行,保持代码格式一致性
2025-02-17 11:43:52 +08:00
liuy 1ad4889068 fix(sales): 修复邮费四舍五入保留两位小数的问题
- 修改了邮费比较逻辑,使用 compareTo 方法替代 >
- 优化了优惠金额的判断条件,确保正确处理各种优惠情况- 在 QueryAdditionUtil 中增加了对四舍五入后为0 的判断,避免推送错误数据
2025-02-17 11:35:41 +08:00
zhengyf 218863d9cb 丽知:调出调入加锁 2025-02-14 16:16:44 +08:00
zhengyf 0c6174b7f4 丽知:修改查询内部转移价的sql,调拨 2025-02-14 08:34:28 +08:00
liuy 748b12b405 feat(buildpackage): 添加 BOM版本并优化退货汇总逻辑- 在 ConsignmachiningInBodyDto 中添加 BOM 版本字段
- 与妮姐确认后设置核销方式为"按 BOM 核销"
-优化 groupSummary 方法,支持按指定维度汇总
- 移除不必要的键值对,提高数据处理效率
- 更新测试用例以适应新的业务逻辑
2025-02-13 18:23:26 +08:00
zhengyf 215997007a 丽知:调拨订单修改单价取数逻辑内部转移价(取bd_produce-》nbzyj) 2025-02-13 10:16:33 +08:00
liuy b2cbf07916 refactor(deletedata): 优化数据删除逻辑和查询效率
- 修改销售发票和销售出库单的相关方法调用
- 优化数据查询 SQL,增加排序条件- 调整数据处理批次大小
- 修正单据编号字段的使用
2025-02-12 09:02:10 +08:00
liuy 674d424e7f refactor(deleteU8cData): 重构删除 U8C 数据逻辑
- 新增 V2 版本的方法,优化数据删除性能- 实现销售订单、销售出库单、销售发票等数据的批量删除
- 优化数据分组逻辑,按日期和公司汇总数据
- 增加日志记录,提高代码可维护性
2025-02-12 09:02:10 +08:00
zhengyf 2436f000e9 丽知:成套件同步、存货档案同步优化空格问题 2025-02-11 14:49:44 +08:00
zhengyf 9c518ac914 丽知:成套件同步、存货档案同步优化空格问题 2025-02-11 14:39:54 +08:00
liuy bc883f613a refactor(deletedata): 重构删除数据工具类
- 新增取消签字、弃审等功能
- 优化查询接口,精确匹配业务类型
- 添加应收单、销售发票等数据的删除和弃审方法
- 更新实体类和XML配置,支持新增功能
2025-02-11 08:59:09 +08:00
liuy 48e7bc9900 perf(sales): 优化销售出库和退货性能
-调整销售出库和退货的批量处理数量,从 800 增加到 1000
- 优化退货处理逻辑,使用 Map 结构提高查询效率
- 移除不必要的注释代码,提高代码可读性
- 更新测试用例,使用更早的订单号进行测试
2025-02-10 10:44:34 +08:00
zhengyf 873355c87c 丽知:调拨订单更新 2025-02-09 12:51:59 +08:00
zhengyf 898c1c16cc 丽知:调拨订单新增期初价格查询 2025-02-09 12:36:50 +08:00
liuy ecc9207aa0 fix(sales): 修复时间参数设置错误
- 将 startTime 和 endTime 的处理逻辑对调,确保开始时间和结束时间正确设置
- 在 SoSaleOutPluginInitializerToC 中修复了时间参数处理错误的问题
- 更新了测试用例,使用正确的订单号进行测试
2025-02-09 00:32:04 +08:00
zhengyf 61de821ebd 丽知:调拨订单新增期初价格查询 2025-02-09 00:07:04 +08:00
liuy 1ffef190ef refactor(sales): 优化销售出库单数据处理逻辑
- 新增代码注释和调试信息,便于排查问题
- 优化数据查询和处理逻辑,提高效率
- 使用 Set 和 List转换,避免重复数据
- 重构部分代码结构,提高可读性
2025-02-08 23:36:54 +08:00
liuy f522db520c refactor(sales): 优化销售出库单匹配逻辑
-将原有的双重循环匹配改为使用 Map 进行优化
- 新增 convertToMap 方法,用于将明细行数据转换为 Map 形式
- 修改测试代码,增加业务类型查询相关代码
2025-02-08 20:57:56 +08:00
zhengyf 4271e8e891 丽知:仅退款优化金额为0的问题。 2025-02-08 00:20:51 +08:00
liuy 9ef45793f7 feat(sales): 过滤没有交易成功的明细行
- 在 SoSaleOutPluginInitializerToB 和 SoSaleOutPluginInitializerToC 类中添加 filterSuccessfulTrade 方法
-该方法用于过滤掉没有交易成功时间的明细行数据
- 在处理 "tran" 场景时调用该方法,以确保只处理交易成功的数据
2025-02-07 20:39:46 +08:00
liuy 7154008bae refactor(sales): 调整订单查询条件和测试时间- 注释掉 ToB 和 ToC 初始化器中的交易成功状态查询条件
- 更新测试用例中的交易时间和库存时间
- 优化测试用例执行顺序
2025-02-07 18:01:10 +08:00
zhengyf 8c3606c5ab 丽知:存货档案同步时,去除ofs中code中的空格 2025-02-06 22:05:20 +08:00
zhengyf 1d74a7aaac 丽知:存货档案同步时,去除ofs中code中的空格 2025-02-06 21:51:05 +08:00
zhengyf e3d9524ed8 丽知:仅退款修改过滤条件 2025-01-23 23:52:52 +08:00
liuy 9a14626441 feat(buildpackage): 采购订单主键字段映射
- 在 ConsignmachiningIn 中添加采购订单主键字段映射到 vdef20
- 在 ConsignmachiningInReturn 中添加来源明细主键和来源表头主键字段映射
- 在 ConsignmachiningInBodyDto 中新增 csourcebillbid 和 csourcebillhid 字段
2025-01-23 11:37:38 +08:00
liuy 6489e58c64 refactor(log): 优化日志输出格式并添加时间判断逻辑- 修改了多个类中的日志输出格式,使用插件名称替代固定文本
- 在 SoSaleReturnPluginInitializerToC 类中添加了时间判断方法
- 更新了多个测试类中的测试数据
2025-01-22 17:47:05 +08:00
liuy 79e17fd46f refactor(outsourc):优化委外入库单创建逻辑- 更新原单主键设置逻辑,使用OFS采购订单主键替代O采购入库单主键- 移除BOM版本号设置,避免因版本号问题导致的错误
- 优化JSON序列化配置,确保空值正确处理
- 调整部分字段注释和命名,提高代码可读性
2025-01-22 17:47:05 +08:00
zhengyf b4f7dd0d2d 丽知:店铺插件优化 2025-01-22 16:36:55 +08:00
zhengyf 5306696062 丽知:店铺日志分割使用# 2025-01-22 14:26:31 +08:00
zhengyf a9a35f4aaf 丽知:优化仅退款店铺取数逻辑 2025-01-22 11:23:41 +08:00
liuy 695c799eb6 refactor(report): 重构报表相关代码
- 修改 TobofsSaleoutDetailedDto 和 TocofsSaleoutDetailedDto 中的属性名称
- 更新 TocofsSaleoutDetailedEntity.xml 中的结果映射
- 删除不必要的注释代码
2025-01-16 14:19:03 +08:00
liuy 660ca7f952 feat(sales): 添加交易成功时间筛选功能
- 在 TocofsSaleoutDetailedEntity 中添加 tradeSuccessAt_start 和 tradeSuccessAt_end 字段
- 更新 XML 文件以支持新的交易成功时间筛选条件
- 修改 SoSaleOutPluginInitializerToC 中的查询逻辑
- 更新 TobofsSaleoutDetailedDto 和服务层 XML 文件中的字段名称
2025-01-16 13:59:18 +08:00
liuy 1ebadb2b57 refactor(sales): 重构销售出库单相关代码
-优化了生成业务日期的逻辑,使用交易成功时间作为业务日期- 调整了主键和业务日期的生成逻辑
- 修改了日志输出内容,使用更准确的时间字段
- 注释掉了不必要的代码片段
- 更新了测试用例中的订单编号
2025-01-15 17:22:59 +08:00
zhengyf 7c7f15152d 丽知:优化仅退款分组间隔符号 2025-01-14 09:40:05 +08:00
liuy 19f01080a6 refactor(purchase): 重构业务日期生成逻辑
- 修改了 ConsignmachiningIn 和 ProxyPurchaseWarehousWarehouse 类中的 createGenerateBusinessDate 方法
- 将 checkInFrom 或 checkInTo 字段替换为 closedAt 字段
-优化了日期解析和格式化的代码结构
- 更新了相关测试用例中的输入参数
2025-01-13 18:19:48 +08:00
liuy e6e7a145bc test: 更新测试用例代码- 修改 ProxyPurchaseWarehousWarehouseTest 中的测试代码,使用新的单号
- 更新 SoSaleReturnPluginInitializerToCTest 中的测试代码,使用新的单号和类型- 在 ProxyPurchaseWarehousWarehouse 中添加空行,改善代码可读性
2025-01-13 18:19:48 +08:00
zhengyf c4458718ed 丽知:仅退款优化日志 2025-01-13 17:23:09 +08:00
zhengyf 84fd0241d3 丽知:仅退款优化区分店铺 2025-01-13 15:30:05 +08:00
liuy c04a1a72bd feat(purchase): 添加收发类别名称字段
- 在 ProxyPurchaseWarehousWarehouse 类中添加收发类别名称主键和名称字段- 在 PurchaseReceiptHeadDto 类中添加 vuserdef3 字段
2025-01-13 15:20:55 +08:00
liuy 7516fa3196 fix(purchase): 修复采购退库和采购入库单生成逻辑- 在 ProxyPurchaseReturn 和 ProxyPurchaseWarehousWarehouse 类中,修正了返回错误明细行的问题
- 将返回固定的第一条明细行改为返回匹配的明细行
- 更新了测试用例中的采购单号
2025-01-13 15:16:17 +08:00
zhengyf a21799fa9b 丽知:仅退款修加锁优化 2025-01-13 14:18:30 +08:00
476474485@qq.com 577e1fe9c0 修改任务集成插件内容查询条件根据插件idlike,调整为= 2025-01-13 10:37:05 +08:00
476474485@qq.com af2959545a 修改任务集成插件内容查询条件根据插件idlike,调整为= 2025-01-13 10:32:27 +08:00
zhengyf 61fea10764 丽知:仅退款修改参考售价==0,没有的报错。 2025-01-12 23:55:43 +08:00
liuy d57b18be5c refactor(purchase): 重构代理采购仓库业务逻辑
- 注释掉原有的固定业务流程和收发类别查询代码
- 根据采购订单类型动态查询对应的 U8C 业务流程和收发类别
- 更新了测试用例中的订单编号
2025-01-12 14:54:55 +08:00
liuy fc1b121bd3 refactor(purchase): 重构代理采购仓库单处理逻辑
-移除不必要的注释代码
- 优化采购订单处理流程
- 新增根据采购订单类型查询U8C业务流程和收发类别的方法
- 调整采购退货和非退货业务的处理逻辑
2025-01-12 14:48:18 +08:00
liuy a23f3cfdae refactor(purchase): 重构采购退货流程
- 修改了 ProxyPurchaseReturn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中的逻辑
- 优化了 OnlyImplementProxyOrderUtil 类的实现,支持多个采购类型
- 新增了 QueryU8CEntityUtil 类中的方法,用于查询 U8C 业务流程和收发类别- 在 PoOrderRerturnSonDto 中添加了 ofsPoOrderData 字段,用于关联 OFS采购订单
- 更新了相关测试用例
2025-01-12 14:48:18 +08:00
zhengyf 46080c7e3b 丽知:过滤0107和0207 无源头件类型 2025-01-12 14:26:02 +08:00
zhengyf 111280c203 丽知:店铺档案优化,仅退款日志展示优化 2025-01-10 10:38:52 +08:00
liuy c527a1b6ca feat(purchase): 添加超现存量时继续保存的参数
- 在 PoOrderParentDto 中添加 isSaveWhenOverStockOnHand 字段- 在采购订单生成过程中设置该参数为 "Y"
- 该功能支持 5.1sp及以上版本
2025-01-09 19:16:02 +08:00
liuy 8bf32a7126 fix(purchase): 修复代理品牌采购退订单只处理代理品牌逻辑
- 查询 OFS 采购订单以确认采购类型
- 更新采退订单查询方法名称
- 修改测试用例中的订单号
2025-01-09 17:47:38 +08:00
liuy 71bd31ba47 refactor(buildpackage): 更新 U8C 自定义项档案-公司对照标识
- 将 U8C 自定义项档案-公司对照 的标识从 "0001A11000000002JNHG" 修改为 "0001A21000000000R4YA"
-此修改针对生产环境配置
2025-01-09 17:14:24 +08:00
zhengyf 08f732f4b7 丽知:店铺档案优化 2025-01-09 17:04:18 +08:00
liuy c15e08f9af feat(buildpackage): 添加来源系统和原单信息字段
- 在 ConsignmachiningInReturn 和 ProxyPurchaseWarehousWarehouse 类中添加来源系统、原单单号和原单主键字段
- 更新 ConsignmachiningInHeadDto 和 PurchaseReceiptHeadDto 数据传输对象以包含新字段
- 修改字段名称以符合 U8C 系统的要求
2025-01-09 11:51:02 +08:00
liuy f4df767e90 refactor(buildpackage): 切换 U8C 和中台地址为正式环境
- 注释掉测试 U8C 地址,使用正式 U8C 地址- 注释掉测试中台地址,使用正式中台地址
2025-01-09 11:51:02 +08:00
liuy 6820ab964b test(lets): 更新测试用例和配置
- 修改 ConsignmachiningInTest 中的测试用例代码
- 更新 application-letstest.yml 中的配置信息
- 调整 OverallConstant 中的 URL 和 API 地址
2025-01-09 11:51:02 +08:00
liuy 3533460e6f refactor(buildpackage): 为关键方法添加同步锁和异常处理- 在 ConsignmachiningIn、ConsignmachiningInReturn、ProxyPurchaseReturn、ProxyPurchaseWarehousOrder、ProxyPurchaseWarehousWarehouse 和 SoSaleReturnPluginInitializerToB 类中,为 getSet、getSetStock 和 getSetTrade 方法添加了 ReentrantLock 同步锁
- 在上述方法中添加了 try-catch 块,用于捕获和记录异常
-这些修改旨在提高系统的稳定性和可靠性,防止并发问题,并确保异常情况得到妥善处理
2025-01-09 11:51:02 +08:00
liuy e568ae8549 refactor(buildpackage): 重构打印OFS单号的方法
- 在多个类中添加 printOfsDocCode 方法,用于打印OFS单号
- 优化原有的 splicingPrintingOrderNumber 方法,提高代码可读性和可维护性
-统一错误日志格式,增加异常信息打印
2025-01-09 11:51:02 +08:00
liuy 41ea6e1f40 refactor(buildpackage): 获取当前时间范围替代计算时间偏移量- 在 ConsignmachiningIn、ConsignmachiningInReturn、ProxyPurchaseReturn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中,将 offsetTimeTime.offsetTime() 替换为 offsetTimeTime.getCurrentDateRange()
- 在 OffsetTimeTime 类中添加 getCurrentDateRange 方法,用于获取当前时间范围- 更新相关测试用例
2025-01-09 11:51:02 +08:00
zhengyf d97fbf77b3 丽知:需要参考售价的店铺修改 2025-01-09 11:34:11 +08:00
zhengyf b40ed31d7f 丽知:仅退款"FANG-Q-L", "XZJJ", "dy-FQL", "pdd-yanxi", "DLTer"新增参考售价 2025-01-09 09:54:14 +08:00
zhengyf d503154d6e 丽知:仅退款"FANG-Q-L", "XZJJ", "dy-FQL", "pdd-yanxi", "DLTer"新增参考售价 2025-01-09 09:40:00 +08:00
zhengyf c0435cf8cf 丽知:调拨订单根据公司查询对应店铺报错修改 2025-01-08 13:36:57 +08:00
zhengyf e760f45182 丽知:tob,toc仅退款修改三个优惠,分到存货 2025-01-05 15:22:26 +08:00
zhengyf 533be7ce57 丽知:ofs店铺同步u8c客商重写修改数据源 2025-01-04 16:31:55 +08:00
zhengyf 23e3ae0854 丽知:ofs店铺同步u8c客商重写 2025-01-04 16:06:57 +08:00
liuy 27ef980ff1 refactor(buildpackage): 添加 OverallConstant 类中 u8c 自定义项档案注释
- 对于 U8C241231 的配置项,添加了不再使用的说明
- 对于存货分类对应收支项目的配置项,详细说明了其背景和被取消的原因
2025-01-01 18:27:19 +08:00
liuy 3af005399a refactor(buildpackage): 更新 U8C 自定义项档案配置
- 修改了 u8c自定义项档案-公司对照 的值
- 添加了注释,解释了某些配置项的特殊情况
- 删除了不再使用的配置项
2025-01-01 18:17:29 +08:00
liuy 12949fdfda refactor(sales): 上线前临时注释销售出库和退货的定时任务
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中- 注释掉了每天凌晨执行的销售出库和退货的处理方法
- 添加了 TODO 注释,计划在 1 号上线后恢复
2025-01-01 16:52:18 +08:00
liuy ad24a5e99e refactor(sales): 重构业务日期生成逻辑
- 修改 createGenerateBusinessDateTran 方法,增加 SonDetailsDto 参数
- 从明细行获取交易成功时间,而非头部
- 更新错误日志,增加明细行主键信息
- 在 implementTran 方法中调用更新后的 createGenerateBusinessDateTran
2024-12-30 13:44:55 +08:00
liuy f5ea373be2 refactor(sales): 优化销售出库单处理逻辑
-为 getSetStock 和 getSetStockTran 方法添加同步锁,防止并发执行
- 移除冗余的 SQL 查询判断逻辑,简化代码结构
- 优化 createSuccessFulTradeDate 方法,使用明细行的交易成功时间
- 修改异常处理,增加日志记录并保留原始逻辑
2024-12-30 13:44:55 +08:00
zhengyf b28c0edbad 丽知:存货分类档案推送逻辑修改,只判断编码。 2024-12-28 16:56:42 +08:00
liuy 40d2b45c88 test: 修改测试用例中的销售退货单号
- 将测试用例中的销售退货单号从 "LETS-RE2024122500002233" 修改为 "LETS-RE2024121500000747"
-此修改可能是为了测试不同的销售退货场景或更新测试数据
2024-12-26 20:03:10 +08:00
zhengyf 9e89baa1ee 丽知:自定义档案,自定义档案列表删除sort字段 2024-12-26 17:43:38 +08:00
liuy 394c7efd7b fix(sales): 过滤无需同步的公司和单据
- 在 SoSaleReturnPluginInitializerToC 类中添加了过滤逻辑,排除不需要同步的公司和单据- 具体改动:
  - 在 test(SoHeaderSearchResponse.SoHeader) 方法中增加了对特定场景下关闭日期为空的单据进行过滤的逻辑
  - 在 test(StockinOrderSearchResponse.StockinOrder) 方法中增加了对入库日期为空的单据进行过滤的逻辑
  - 优化了错误信息提示,使用 storeCode.trim() 替代 storeCode
2024-12-26 17:24:11 +08:00
liuy 227562af02 test(sales): 更新退货单测试用例
- 修改了 startImplementStockByTime 方法的调用时间为 2024-12-23 23:05:34
- 注释掉了另一行测试代码
2024-12-26 16:16:32 +08:00
liuy 13580eac7a refactor(sales): 优化时间处理逻辑
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中,增加了对时间格式的判断和处理- 当时间格式为 yyyy-MM-dd 时,自动补全时分秒,确保时间查询的准确性- 修复了因时间格式不统一导致的查询问题,提高了系统的健壮性和准确性
2024-12-26 16:02:07 +08:00
liuy 159800a716 fix(buildpackage): 修复反向订单查询和日志问题
- 修复了 TocofsReturngoodsDetailedEntity 中 refundedAtEnd 字段的错误映射
- 优化了 SoSaleReturnPluginInitializerToC 中的日志输出
- 移除了不必要的测试代码和 TODO 注释
- 更新了 StockinOrderSearchResponse 类,添加了新的返回地址相关字段
2024-12-26 15:37:40 +08:00
liuy 3e9d43f337 feat(plugin): 新增 TOC退货业务处理功能
- 在 TocofsReturngoodsDetailedEntity 和 TocofsReturngoodsEntity 中添加新的查询条件字段
- 实现根据不同推送场景类型查询和处理 TOC 退货数据的方法
-优化库存同步和交易同步的逻辑,支持多种推送场景
- 新增 queryTocofsReturngoodsDetailed 方法查询底表数据并转换为 StockinOrder 对象
2024-12-26 14:55:49 +08:00
liuy 18867cda59 feat(ofs): 添加修改时间字段并优化查询逻辑
- 在 TocofsReturngoodsEntity 中添加 modified 字段,用于记录修改时间- 在 XML 配置文件中添加 modified 字段的映射和查询条件
- 优化查询逻辑,移除不必要的排序条件
- 更新测试用例中的订单代码
2024-12-26 10:57:54 +08:00
liuy 3043dcc9fa refactor(buildpackage): 优化参数校验错误信息
- 在 SoSaleOutPluginInitializerToC 类中,增强了 pushScenarioType 参数的校验错误信息
- 为 pushScenarioType 参数的校验错误信息添加了参数名,提高了错误信息的可读性和可理解性- 修改了两处相同的代码片段,确保了代码的一致性
2024-12-25 17:49:45 +08:00
liuy 6a65623858 test(sales): 修改售后返回逻辑并更新测试用例
- 在 SoSaleReturnPluginInitializerToC 中添加测试逻辑,将 receivedQty 设置为 0
- 更新 SoSaleReturnPluginInitializerToCTest,使用新的测试代码
- 移除不必要的测试代码和注释
2024-12-25 17:33:57 +08:00
liuy a73560c98e fix(buildpackage): 修正销售出库插件初始化问题
- 更新 TocofsSaleoutDetailedEntity.xml 中的 SQL 插入语句,将 tradeSuccessAt 字段改为 tradesuccessat
- 修改 SoSaleOutPluginInitializerToCTest.java 中的测试用例,更新时间参数和调用的方法
2024-12-25 16:17:22 +08:00
liuy c0df606bcd feat(sales): 更新销售出库接口初始化方法
- 在 TocofsSaleoutDetailedEntity 表中添加 tradeSuccessAt 字段
- 将插入方法改为插入或更新方法,提高数据处理的灵活性- 修改测试方法名称,更准确地反映测试内容
2024-12-25 15:47:08 +08:00
liuy 63bc42e051 feat(buildpackage): 添加 tradeSuccessAt 字段并更新相关映射和查询
- 在 TocofsSaleoutDetailedEntity 中添加 tradeSuccessAt 字段
- 更新 TocofsSaleoutDetailedEntity.xml 中的映射关系和查询条件
- 在 DetailsDto 中添加 tradeSuccessAt、sourceLineNum 和 sourceOrderStatus 字段
2024-12-25 15:23:39 +08:00
liuy 79c126e081 refactor(sales): 调整销售出库查询逻辑并优化数据传输
- 注释掉 TocofsSaleoutEntity.xml 中的排序逻辑
- 在 SoSaleOutPluginInitializerToC 中添加 ID复制操作
- 修改 SoSaleOutPluginInitializerToCTest 中的测试参数
- 在 HeaderDto 中添加新的字段用于存储出库信息
2024-12-25 15:05:08 +08:00
liuy a0a0189332 (ofsfeat): 添加销售出库相关字段并优化批量插入 SQL- 在 TocofsSaleoutDetailedEntity 和 TocofsSaleoutEntity 中添加 id 字段
- 更新批量插入 SQL 语句,使用 list 作为 collection 属性
- 在 DetailsDto 和 HeaderDto 中添加新的字段以支持销售出库相关信息
2024-12-25 14:36:33 +08:00
liuy 8b6c665d4f feat(ofs): 新增批量插入接口并优化实体类
- 在 ITocofsSaleoutDao 和 ITocofsSaleoutDetailedDao 接口中新增了批量插入方法
- 在 TocofsSaleoutDetailedEntity 和 TocofsSaleoutEntity 类中添加了新字段
-优化了 TocofsSaleoutDetailedEntity 的 SQL 映射文件
2024-12-25 13:55:09 +08:00
liuy eb93b202bb refactor(deletedata): 更新删除数据工具以包含新的业务类型- 在 DeleteU8cDataUtilEntity.xml 中添加新的业务类型 '0001A11000000000H1FM'
- 更新 SoSaleReturnPluginInitializerToCTest 中的测试代码
- 调整 DeleteU8cDataUtil 中的逻辑,使用 vreceiptcode 替代 dbilldate
2024-12-23 17:36:13 +08:00
zhengyf 0141ca774f 丽知:调拨修改调出、调入店铺查询逻辑 2024-12-23 16:05:02 +08:00
zhengyf 18bbef3c00 丽知:新增自定义档案列表查询自定义档案 2024-12-23 16:04:43 +08:00
liuy 3502bae753 refactor(service): 优化删除数据查询条件
- 在 DeleteU8cDataUtilEntity.xml 文件中,为 fstatus 字段添加了空值检查
- 仅当 fstatus 不为空且不为''时,才添加相应的查询条件
- 这样可以提高查询的灵活性和效率,避免不必要的条件判断
2024-12-23 15:37:17 +08:00
liuy e00f63cd87 feat(deletedata): 新增销售订单取消审核功能
- 添加 cancelSignatureSoSale 方法实现销售订单取消审核
- 新增 ApproveinfoCancelSignature、JsonRootBeanCancelSignature 和 QueryinfoCancelSignature 类用于处理取消审核请求
- 修改 DeleteSoSaleVo 中的 fstatus 类型从 String 改为 Long
- 更新 querySoSaleByDelete SQL语句,使用参数化查询状态
2024-12-23 15:22:58 +08:00
liuy 124a9d78c9 refactor(deletedata): 优化数据删除逻辑
- 注释掉销售订单的删除操作
- 在 DeleteU8cDataUtil 中添加同步块,确保数据删除操作的线程安全
- 调整 SQL 查询中的 cbiztype 参数格式,统一使用单引号
2024-12-19 17:46:53 +08:00
liuy 5fbe2a3642 refactor(sales): 添加删除U8C历史数据功能
- 在 SoSaleOutPluginInitializerToB 类中添加删除U8C历史数据的方法
- 在 DeleteU8cDataUtil 类中实现删除U8C历史数据的逻辑
-此功能作为临时程序,在特定环境下执行
2024-12-19 17:12:10 +08:00
liuy 17d42022bf refactor(deletedata):调整删除逻辑并优化代码- 修改销售发票、销售出库单和销售订单的删除条件- 移除不必要的代码和注释
- 添加 deleteTarget 方法实现异步删除
2024-12-19 17:03:03 +08:00
liuy 3a08dee5cc refactor(buildpackage): 优化插件执行日志和线程名称
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中:
  - 添加 requestJsonParam 变量以获取请求参数
  - 在创建线程时,将插件名称和请求参数作为线程名称 - 优化日志输出,增加请求参数信息

- 在 DeleteU8cDataUtil 类中: - 更新 JsonRootBean 属性名称,使用驼峰命名法 - 修改 deleteinfo 和 queryinfo 的 getter 和 setter 方法

- 在 DeleteU8cDataUtilTest 类中:
  - 注释掉删除销售发票的测试方法
  - 新增删除销售出库单和销售订单的测试方法
2024-12-19 15:18:54 +08:00
liuy 4b0473e700 feat(deletedata): 新增删除销售订单和销售出库单功能
- 新增 DeleteIcGeneralHVo 和 DeleteSoSaleVo 类用于查询销售出库单和销售订单
- 在 DeleteU8cDataUtilDao 中添加 queryIcGeneralHByDelete 和 querySoSaleByDelete 方法
- 在 DeleteU8cDataUtil 中实现 deleteSoSale 和 deleteIcGeneralH 方法
- 优化 deleteSoSaleinvoice 方法,使用日志记录条数
- 重构 sendU8C 方法,增加 URL 参数
2024-12-19 11:27:35 +08:00
liuy 8cfd0f2378 feat(deletedata): 新增删除U8C数据功能
- 新增 DeleteU8cDataUtil 类实现删除U8C数据的功能- 添加 DeleteU8cDataUtilDao 接口和实现类,用于查询需要删除的数据
- 新增 DeleteU8cDataUtilEntity 类作为删除数据的实体类- 添加 JsonRootBean、Deleteinfo 和 Queryinfo 类作为数据传输对象
- 在 SoSaleOutPluginInitializerToCTest 和 SoSaleReturnPluginInitializerToCTest 中添加测试代码
- 新增 DeleteU8cDataUtilTest 类进行删除功能的单元测试
2024-12-18 20:19:50 +08:00
zhengyf bbabc87ebb 丽知:1、tob、toc仅退款表头新增ofs售后订单号 2024-12-18 18:48:49 +08:00
zhengyf 2660cf7bcb 丽知:1、调拨出库单推送报错新增公司信息 2024-12-18 18:47:53 +08:00
liuy 46ffb9840c refactor(buildpackage): 重构公司代码替换逻辑
- 在多个插件中统一使用 replaceCompanyCode替换 companyCode
- 优化公司代码替换的查询逻辑,减少冗余代码
- 调整错误信息提示,使用替换后的公司代码
- 移除不必要的注释代码
2024-12-18 11:36:48 +08:00
liuy cb95ad98a8 refactor(buildpackage): 移除 BdDefdocEntity 初始化中不必要的 setDr 方法调用
移除了多个文件中初始化 BdDefdocEntity 对象时不必要的 setDr(0) 方法调用。这些冗余代码不影响功能,去掉后可提高代码清晰度。

受影响的主要文件包括:- SoSaleOutPluginInitializerToB.java
- SoSaleReturnPluginInitializerToB.java
- QueryU8CEntityUtil.java
- TocOrderBasicArchivesCacheUtil.java- TocReturnBasicArchivesCacheUtil.java
2024-12-18 11:00:47 +08:00
zhengyf 3fc7aca98e 丽知:1、调拨出库单推送报错新增公司信息 2024-12-17 18:11:24 +08:00
liuy 6452cba461 refactor(sales): 注释掉发送订单到 U8C 的代码
在 SoSaleOutPluginInitializerToC 类中,注释掉了两处发送订单到 U8C 的代码。
这可能是为了暂时禁用与 U8C 系统的交互,或者是为了调试其他功能。
2024-12-17 16:56:25 +08:00
zhengyf 71c45900f2 丽知:1、sku主档同步优化单引号造成的sql截断 2024-12-16 10:59:32 +08:00
zhengyf 509599aa1c 丽知:1、sku主档同步优化单引号造成的sql截断 2024-12-16 10:45:11 +08:00
liuy a3b5105729 refactor(buildpackage): 移除公司代码替换逻辑
- 删除了多个文件中的公司代码替换逻辑- 直接使用原始公司代码进行查询和匹配
- 移除了不必要的注释和冗余代码
2024-12-15 13:42:59 +08:00
zhengyf c06610b90c 丽知:1、toc/tob仅退款修改日期取值问题(23:59:59取不到) 2024-12-14 15:15:19 +08:00
zhengyf 9d6966498c 丽知:1、组装单,自动生成其他出入库,自动签字修改签字时间为其他出入库单据日期。 2024-12-14 11:13:57 +08:00
liuy db32f85f31 fix(buildpackage): 修复公司代码过滤逻辑
- 在多个插件中,将公司代码过滤条件改为使用 trim() 方法去除前后空格
- 涉及到的插件包括:
  - ConsignmachiningIn
  - ProxyPurchaseReturn
  - ProxyPurchaseWarehousOrder
  - ProxyPurchaseWarehousWarehouse
  - SoSaleOutPluginInitializerToB
  - SoSaleOutPluginInitializerToC  - SoSaleReturnPluginInitializerToB
  - SoSaleReturnPluginInitializerToC
- 通过使用 trim() 方法,确保公司代码比较时不会因为前后空格导致不匹配问题
2024-12-13 14:47:30 +08:00
liuy 4ffb40feb6 feat(buildpackage): 更新店铺列表和测试用例
- 在 BalanceUnitPriceUtil 中添加新的店铺代码 XZJJ
- 在 ShopTobOrToCUtil 中注释掉设置 dr 字段的代码
- 更新 SoSaleOutPluginInitializerToCTest 中的测试用例时间
- 调整 SoSaleReturnPluginInitializerToBTest 和 SoSaleReturnPluginInitializerToCTest 中的测试用例代码和时间
2024-12-13 14:37:53 +08:00
liuy b976728253 refactor(sales): 暂存 U8C 接口返回值
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中
- 注释掉处理 U8C 接口返回值的代码
- 使用"暂存"作为销售订单编号和主键值
- 更新状态为"S",表示暂存状态
- 保留原有的日志记录和异常处理逻辑
2024-12-05 18:44:12 +08:00
liuy c1ecc8c06d feat(buildpackage): 添加公司代码过滤功能
- 在 ProfilesActiveConstant 中添加 FILTER_COMPANY 常量,用于定义需要过滤的公司代码- 在多个插件类中实现数据过滤逻辑,移除符合条件的公司代码对应的记录
- 优化数据处理流程,提高系统性能
2024-12-05 17:18:43 +08:00
liuy b274609d9e refactor(sales): 重构销售订单插件初始化逻辑
-移除冗余代码和注释掉的方法
- 使用 QueryAdditionUtil 类替代重复的查询逻辑- 优化了平台运费、优惠等的处理逻辑
2024-12-05 16:39:02 +08:00
zhengyf 4a489719fd 丽知:调整出入,组装、调拨、Tob、c仅退款 过滤"NMNS"\"YNS"\"HJ"公司 2024-12-05 15:22:50 +08:00
zhengyf 6a3947fe88 丽知:公司三对一自定义档案查询主键修改 2024-12-05 11:42:01 +08:00
liuy 9c8d9d7364 refactor(buildpackage): 修改 U8C 中台地址端口
- 将 U8C 中台地址的端口从 9999 改为 8081
- 此修改旨在解决生产环境中的端口冲突问题
2024-12-04 14:59:52 +08:00
liuy a93f4bd41c refactor(sales): 优化 TOC 出库日志输出并调整销售订单优惠金额计算逻辑- 修改日志输出格式,增加 TOC 出库前缀- 注释测试代码段
- 优化销售订单优惠金额计算,使用负值处理
-调整测试方法中的参数
2024-12-04 14:57:50 +08:00
liuy 7b238a8d75 test(sales): 更新 O 销售出库单逻辑和测试数据
- 修改 OverallConstant 中的 u8c_url 地址
- 更新 SoSaleOutPluginInitializerToC 中的优惠金额计算逻辑
- 调整 OfsOrderSalePostageFeeAllocationUtil 中的运费分配逻辑
- 修改测试类 SoSaleOutPluginInitializerToCTest 中的测试用例
2024-12-04 13:44:31 +08:00
liuy 4e474ac940 feat(entity): 增加存货基本档案和存货管理档案的批量查询功能
- 在 BdInvbasdocEntity 和 BdInvmandocEntity 中添加批量查询相关的字段
- 在对应的 XML 文件中添加批量查询的 SQL 语句
-优化查询条件,支持多参数查询
2024-12-03 18:23:57 +08:00
liuy d8eda38c49 refactor(buildpackage): 更新 U8C 接口地址
-启用本地测试地址
- 注释掉生产环境地址
- 删除多余的测试地址
2024-11-30 17:34:28 +08:00
liuy 7975339e85 fix(sales): 修复海外店铺税率显示问题
- 在 SoSaleOutPluginInitializerToB 和 SoSaleReturnPluginInitializerToB 中添加逻辑,当税率为 0 时直接设置为 "0"
- 修改销售发票体 DTO 中的税率设置逻辑,取自销售订单的税率
- 优化了税率计算和显示的逻辑,确保海外店铺的税率正确显示为 0
2024-11-30 17:34:28 +08:00
liuy 6b7c4aabaf refactor(sales): 重构销售出库单金额计算逻辑
- 移除不必要的变量和注释
- 优化赠品判断逻辑
- 调整金额计算方式,直接使用 totalPayAmount- 删除未使用的代码片段
- 更新注释以反映新的逻辑
2024-11-30 17:34:28 +08:00
zhengyf 1759ecd7ea 丽知:钉钉报表查询优化 2024-11-30 16:58:42 +08:00
zhengyf 21b504da5d 丽知:仅退款测试类 2024-11-30 14:35:24 +08:00
zhengyf 7686e3e496 丽知:钉钉报表优化 2024-11-30 14:35:07 +08:00
zhengyf baad38a4c1 Merge remote-tracking branch 'origin/lets' into lets 2024-11-30 14:25:13 +08:00
zhengyf c713bc095b 丽知:钉钉补推报错提示修改 2024-11-29 23:41:37 +08:00
liuy a97d7332ff refactor(sales): 优化销售退货单的金额计算逻辑
- 新增检查店铺功能,根据店铺类型决定是否取结存价- 修改含税单价计算方式,增加对不同情况的目标金额判断- 优化计算公式的处理,提高代码可读性
-调整测试代码中的实施类型参数
2024-11-29 14:27:53 +08:00
liuy 040ccda2fd feat(sales): 使用参考售价替代结存价和采购价
- 在 SoSaleOutPluginInitializerToB 和 SoSaleReturnPluginInitializerToB 类中,修改了 getFloorPrice 方法
- 新增 getRefsaleprice 方法,用于获取参考售价- 计算公式中增加了取参考售价的逻辑
- 移除了取结存价和采购价的相关代码
2024-11-29 11:23:40 +08:00
zhengyf fa91fcc0a3 丽知:钉钉补推报错提示修改 2024-11-29 10:42:20 +08:00
liuy 3980ec0570 test(sales): 更新销售退货接口测试
- 修改 SoSaleReturnPluginInitializerToC 中的测试代码,更新订单编号
- 调整 SoSaleOutPluginInitializerToCTest 中的测试参数,从 "stock" 改为 "tran"
- 更新 SoSaleReturnPluginInitializerToCTest 中的测试订单编号
2024-11-29 10:23:58 +08:00
zhengyf 9e75ac9a1a 丽知:钉钉补推修改 2024-11-29 09:42:01 +08:00
zhengyf a96866431d Merge remote-tracking branch 'origin/lets' into lets 2024-11-29 08:44:56 +08:00
liuy a978699069 refactor(sales): 重构销售出库和售后入库逻辑
- 优化了销售出库和售后入库的计算逻辑
- 添加了对参考售价和实收数量的非空校验
- 重构了 groupMergeDetailedRows 方法,移除了未使用的参数
- 新增了 getRefsaleprice 方法,用于获取参考售价
- 优化了计算公式的拼接逻辑
2024-11-28 17:54:09 +08:00
zhengyf b4faeaadd0 丽知:钉钉回调修改 2024-11-28 17:43:31 +08:00
liuy 4c0d0058f7 refactor(sales): 重构销售出库单单价计算逻辑
- 移除了未使用的代码片段- 优化了 groupMergeDetailedRows 方法的参数列表
- 新增 getRefsaleprice 方法用于获取参考售价
- 调整了单价计算逻辑,支持取参考售价和实付金额两种方式
2024-11-28 16:49:37 +08:00
liuy 472964e254 feat(report): 添加计算应收和计算公式字段
- 在 TOBOFSReturnGoodsDetailedDto、TOBOFSaleoutDetailedDto 和 TOCOFSReturnGoodsDetailedDto 中添加计算应收和计算公式字段
- 在 TOCOFSReturnGoodsDetailedDto 中添加平台优惠、支付优惠、达人优惠和商家优惠字段
- 更新数据库实体 XML 文件,添加对应字段的映射
2024-11-28 11:16:01 +08:00
liuy 5fe5caa851 fix(sales): 修复销售退换单红冲导致库存增加的问题
- 修改了 SoSaleReturnPluginInitializerToB 类中的逻辑,正确处理退货金额
- 更新了测试用例,使用新的订单号进行测试
- 注释掉了不必要的测试代码,提高了代码可读性
2024-11-28 11:01:07 +08:00
liuy c08f3de0f8 test(sales): 更新销售出库插件初始化器测试用例- 修改 SoSaleOutPluginInitializerToBTest 中的测试参数,使用新的订单号和处理类型
- 更新 SoSaleOutPluginInitializerToCTest 中的测试时间范围
2024-11-28 10:38:26 +08:00
zhengyf 23a12591c9 丽知:钉钉回调修改 2024-11-27 17:24:07 +08:00
zhengyf b547bcf1c7 丽知:1、20241127:toc\tob仅退款没有sku编码的过滤 2024-11-27 17:23:58 +08:00
zhengyf 4d41480853 丽知:1、钉钉拒审修改 2024-11-27 16:24:55 +08:00
liuy 7b35c0d20d refactor(sales): 修改销售退货单的处理方式
- 将 startImplementByCode 方法的第二个参数从 "stock" 修改为 "tran"
- 这个修改可能会影响销售退货单的处理流程或逻辑
2024-11-27 11:02:39 +08:00
zhengyf 1dd50f8229 丽知:1、修改BeanName 2024-11-27 10:57:13 +08:00
liuy 686500addd refactor(sales): 更新退货订单处理逻辑
- 修改退货订单详情中的商家优惠字段注释
- 优化退货订单计算公式字符串拼接
- 更新测试用例中的时间参数
- 移除无用的代码注释
2024-11-27 10:46:36 +08:00
zhengyf b2d5c41966 丽知:1、钉钉回调优化。2、钉钉日志记录优化 2024-11-26 17:40:13 +08:00
zhengyf b67c8cbe23 丽知:1、新增钉钉日志记录插件 2024-11-26 17:39:48 +08:00
zhengyf a1298d42d5 丽知:1、钉钉回调日志记录优化 2024-11-26 11:45:44 +08:00
zhengyf 65333dceb6 丽知:1、钉钉回调拒绝,状态N->R 2024-11-25 15:28:04 +08:00
zhengyf 914b5b18fc 丽知:1、新增钉钉报表 2024-11-25 15:27:00 +08:00
zhengyf 3e6239f0a3 丽知:1、调整入库,组装入库取关单时间作为单据日期。2、调整入库,组装入库,调整出库,没有出入库类别得报错。 2024-11-25 14:41:35 +08:00
zhengyf 996986f90d 丽知:u8c推送钉钉优化 2024-11-22 16:54:10 +08:00
zhengyf 232415e75b 丽知:u8c推送钉钉优化 2024-11-22 11:19:57 +08:00
zhengyf 0164edabdc 丽知:u8c推送钉钉优化 2024-11-22 10:02:42 +08:00
zhengyf 014afb4200 丽知:钉钉回调空指针修改 2024-11-22 09:30:16 +08:00
zhengyf f327c4181f 丽知:钉钉回调修改 2024-11-22 09:10:09 +08:00
zhengyf caa0b9f37c 丽知:新增u8c实体:arap_djzb 2024-11-21 13:37:17 +08:00
zhengyf b17dca577b 丽知:仅退款,区分tob、toc下游单号新增公司编码,便于查找单据 2024-11-21 08:57:30 +08:00
zhengyf a5dd7d10a7 丽知:仅退款区分tob、toc 2024-11-20 17:48:48 +08:00
liuy 56a6ecb615 refactor(sales): 恢复 TOC 销售出库和销售退货功能
- 在 SoSaleOutPluginInitializerToC 类中,取消对 startImplementTranByTime 方法的注释,恢复销售出库功能
- 在 SoSaleReturnPluginInitializerToB 类中,取消对 startImplementByStockTime 和 startImplementByTradeTime 方法的注释,恢复销售退货功能
2024-11-20 17:26:35 +08:00
liuy 314751d6fa refactor(buildpackage): 调整数智中台相关配置并注释测试接口
- 移除了多余的空行
- 添加了数智中台的 appId、publicKey 和 secretKey 配置- 注释掉了测试用的 u8c_url 配置
2024-11-20 17:24:31 +08:00
zhengyf 28be3efaa5 丽知:钉钉回调、推送日志更新 2024-11-20 17:23:54 +08:00
liuy 942897faa6 feat(plugin): 新增 TOC退货计算公式及优惠金额保存功能
- 在 TocofsReturngoodsDetailedEntity 中添加计算应收、计算公式等字段
- 修改批量插入或更新 SQL,支持新字段- 优化销售出库插件初始化器,增加计算公式和优惠金额保存逻辑
- 更新测试用例,验证新功能
2024-11-20 17:04:38 +08:00
zhengyf 643a4df394 丽知:仅退款新增退款时间 2024-11-20 14:09:37 +08:00
liuy 94e32ffa12 feat(plugin): 新增计算公式字段并优化相关功能
- 在 TocofsReturngoodsDetailedEntity 和 DetailsDto 中添加计算公式字段
- 修改相关方法以支持计算公式存储和传递
- 优化批量插入或更新操作,支持新字段- 调整分页查询大小
2024-11-20 13:42:06 +08:00
zhengyf c48f9fa4bb 丽知:修改仅退款时间 2024-11-20 10:52:14 +08:00
liuy 6d3a132177 fix(buildpackage): 更新 U8C 自定义项档案公司对照代码- 将 U8C 自定义项档案公司对照代码从 "0001A11000000000WNVT" 修改为 "0001A11000000006Q0W1"
- 更新了测试代码中的方法调用和参数
-移除了部分注释代码
2024-11-19 10:54:25 +08:00
liuy ffe2c6cbf6 buildprofile: 切换生产环境配置
- 将 ProfilesActiveConstant 中的 LETS_PROFILES_ACTIVE从 "dev" 修改为 "prod"
- 在 application.yml 中将 profiles.active 从 "letsprod" 修改为 "lets"
2024-11-15 10:35:33 +08:00
liuy 6698315c90 refactor(sales): 暂时注释掉 TOC 销售和退货的相关代码
- 在 SoSaleOutPluginInitializerToC 中注释掉了销售出库的代码
- 在 SoSaleReturnPluginInitializerToB 和 SoSaleReturnPluginInitializerToC 中注释掉了销售退货的代码
- 添加了 TODO 注释,表示这些代码是暂时被注释掉的,可能会在将来重新启用
2024-11-14 18:44:25 +08:00
liuy 7a1a4c630f feat(sales): 新增目标应收字段并优化销售出库处理逻辑
- 在 TocofsSaleoutDetailedEntity 和 DetailsDto 中新增目标应收字段
- 优化销售出库插件初始化器中的金额计算逻辑
- 调整批量插入/更新操作的批次大小- 在测试类中更新相关测试用例
2024-11-14 18:27:05 +08:00
liuy 7e7a3631bf feat(report): 添加应收相关字段- 在 TocofsSaleoutDetailedDto 中添加计算应收、计算公式、平台优惠、支付优惠、达人优惠、商家优惠等应收相关字段
- 在 TocofsSaleoutDetailedEntity.xml 中添加对应字段的映射
2024-11-14 17:12:27 +08:00
liuy 33d688f118 refactor(sales): 优化退货商品初始化逻辑
- 移除了不必要的条件判断,简化了代码结构
- 注释掉了部分测试代码,准备后续添加新的测试用例
2024-11-14 16:02:30 +08:00
liuy 1e45f53378 feat(buildpackage): 更新销售出库单计算逻辑
- 修改实付金额计算方式,采用应收金额/请求数量*实发数量的逻辑
- 增加计算应收和计算公式字段,保存到销售出库单明细行- 保存销售订单明细行对应的优惠金额到销售出库单明细行
- 更新数据库表结构,增加相关字段
- 优化代码结构,提高可读性和可维护性
2024-11-14 15:31:21 +08:00
zhengyf 324077a941 丽知:ofs供应商同步修改 2024-11-13 11:08:17 +08:00
zhengyf b2a4188c1b 丽知:仅退款价格取值修改 2024-11-12 16:26:39 +08:00
zhengyf 3e0abdab6e 丽知:仅退款客商取值逻辑修改。 2024-11-11 21:43:44 +08:00
zhengyf 1a01a66203 丽知:供应商同步修改。 2024-11-11 17:24:08 +08:00
zhengyf bc7556e1ee Merge remote-tracking branch 'origin/lets' into lets 2024-11-11 16:42:47 +08:00
zhengyf b836578981 丽知:供应商同步修改。 2024-11-11 16:42:34 +08:00
liuy 9dc6100538 feat(plugin): 添加销售出库和售后入库单号打印功能
- 在 SoSaleOutPluginInitializerToB 和 SoSaleReturnPluginInitializerToB 类中添加了 splicingPrintingOrderNumber 方法
- 该方法用于打印销售出库和售后入库单号
- 在查询库存和确认收入时调用该方法记录日志
- 优化了测试用例,注释掉了部分测试代码
2024-11-11 16:42:18 +08:00
liuy 194afebd4a refactor(sales): 重构销售出库查询逻辑
- 移除了未使用的 CalculateDateVo 和 dateStr 相关代码
-优化了查询条件设置,直接使用 startTime 和 endTime 参数
-调整了查询方法参数,提高了代码可读性
- 注释掉了部分测试代码,增加了正式运行时的日志输出
2024-11-11 16:42:18 +08:00
zhengyf 3a95074487 丽知:供应商同步修改。 2024-11-11 16:35:32 +08:00
zhengyf fa48a7f682 丽知:1、供应商同步修改。 2024-11-11 15:20:35 +08:00
zhengyf 4fff5ef07d 丽知:1、客商自动分配优化 2024-11-08 17:17:58 +08:00
zhengyf 56d88b2102 丽知:1、新增客商查询方法。
2、仅退款修改客商取数逻辑
2024-11-08 16:53:42 +08:00
zhengyf de751c32e1 丽知:钉钉回调优化,防止重复回调 2024-11-08 16:25:53 +08:00
zhengyf 2fdd86ef4f 丽知:客商分配新增客商属性 0:客户,1:供应商,2:客商 2024-11-08 16:24:34 +08:00
zhengyf 4d2ce94298 丽知:钉钉回调修改 2024-11-08 15:07:02 +08:00
zhengyf 82e17eb7ac 丽知:202411081502:妮妮姐:供应商是GG 2024-11-08 15:06:31 +08:00
zhengyf 88213dcf95 Merge remote-tracking branch 'origin/lets' into lets 2024-11-08 15:06:17 +08:00
liuy d7d6bc7ce0 feat(report): 为 TOB 和 TOC 销售出库明细 DTO 添加新字段
- 在 TobofsSaleoutDetailedDto 和 TocofsSaleoutDetailedDto 中添加 businessDate 和 successfulTradeDate 字段- 在 TocofsSaleoutDetailedEntity.xml 中添加对应的数据库映射
- 新增字段用于表示库存出库完成时间和交易成功时间
2024-11-08 11:44:17 +08:00
zhengyf 99c8b3e9d2 丽知:钉钉审批拒绝回调修改 2024-11-08 11:29:36 +08:00
liuy 63840f7e5a refactor(sales): 调整退货查询接口参数
- 在 TOB 和 TOC 退货查询中添加或移除状态参数- 更新测试用例中的输入数据
- 优化代码结构,提高可读性和可维护性
2024-11-08 10:16:52 +08:00
zhengyf 3897ea1ab9 丽知:钉钉回调修改 2024-11-08 10:11:06 +08:00
zhengyf 9c1cca9eaa 丽知:调拨出库价格取数逻辑修改 2024-11-08 10:10:47 +08:00
zhengyf 5ec6a10725 丽知:调拨出入库修改单日日期 2024-11-07 17:03:56 +08:00
zhengyf 0722014555 Merge remote-tracking branch 'origin/lets' into lets 2024-11-07 15:34:45 +08:00
zhengyf ef20113e77 丽知:其他出库明细过滤数量0 2024-11-07 15:34:28 +08:00
liuy 6e5bf89940 fix(sales): 修复售后退款金额计算逻辑
- 移除了不必要的注释代码
- 优化了实退金额的计算方式,使用含税单价乘以实退数量
- 增加了对实退数量为0的校验
- 调整了优惠金额的处理逻辑
-优化了日志输出信息,提高可读性
2024-11-07 15:32:54 +08:00
liuy 2f67e791df refactor(sales): 优化 TOC 出库和退货相关代码
- 修正了 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 中的变量命名
- 更新了退货入库单总金额的校验提示信息
- 修改了测试用例中的出库单和退货单编号
2024-11-07 15:32:54 +08:00
liuy 9bb677bf79 fix(sales): 修复销售出库单实付金额计算逻辑- 移除了测试代码片段- 添加了实付金额的计算逻辑,根据应收金额、请求数量和实发数量进行计算
- 增加了对请求数量和实发数量的非零校验
-优化了实付金额的精度处理,使用 BigDecimal 进行精确计算
2024-11-07 15:32:54 +08:00
zhengyf 78bacc9833 丽知:其他出库明细过滤数量0 2024-11-07 14:40:16 +08:00
zhengyf 449c7d6afd 丽知:付款单新增apicode修改 2024-11-07 13:37:54 +08:00
zhengyf d2bf7dc0cd 丽知:下游单号新增公司编码便于查询 2024-11-07 11:43:20 +08:00
zhengyf 3d861fd4da 丽知:出入库、组装修改:修改时间作为单据日期 2024-11-07 10:21:16 +08:00
liuy 08b74914be fix(sales): 修复 ToC 销售出库单实付金额相关问题
- 添加测试用的 TODO 注释
- 修正应收金额的计算逻辑
- 更新错误提示信息
- 调整优惠金额的赋值逻辑- 更新测试用例中的订单编号
2024-11-06 16:27:56 +08:00
zhengyf 6e21435828 丽知:1、调整出库查询限流200. 2024-11-06 15:28:56 +08:00
zhengyf b00af47593 Merge remote-tracking branch 'origin/lets' into lets 2024-11-06 15:28:10 +08:00
zhengyf a9a81244ac 丽知:1、钉钉回调修改。 2024-11-06 15:27:49 +08:00
zhengyf bf527532d0 丽知:1、调整入库修改:20241106妮妮姐私聊:可以改成实收是0你就不传这条明细 明细里就不传这个 2024-11-06 15:26:55 +08:00
liuy 6fd08960e4 fix(buildpackage): 更新 U8C 自定义项档案公司对照值并调整测试用例
- 更新 U8C 自定义项档案公司对照值为 "0001A11000000000WNVT"
-调整销售出库插件初始化器测试用例,使用新的单据号
- 移除模糊查询客户测试,增加查询单据测试
2024-11-06 14:51:36 +08:00
liuy 715ac072db refactor(sales): 优化客商管理档案匹配逻辑
- 在 SoSaleOutPluginInitializerToB 和 SoSaleReturnPluginInitializerToB 类中
- 更新了客商管理档案查询失败时的错误信息,增加了客商名称和公司名称
- 修改了测试用例中的订单号
2024-11-06 13:31:36 +08:00
zhengyf 962e43791a 丽知:1、钉钉附件下载,u8c附件上传。2、付款单新增。3、钉钉日志修改。4、钉钉修掉完善。 2024-11-05 20:53:10 +08:00
liuy 2fd90e74af refactor(buildpackage): 优化委外加工入库异常提示信息
- 修改了 ConsignmachiningIn 类中的错误提示信息,使其更加具体和友好
- 更新了测试用例中的订单编号和时间范围
2024-11-05 15:29:42 +08:00
liuy d282ed1f6a refactor(purchase): 优化采购退货、采购订单和采购入库单的错误提示信息
- 修改了 ProxyPurchaseReturn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中的错误提示信息
- 新的错误提示信息更加具体,包含了客商名称和公司名称
- 优化了错误提示的逻辑,分别针对无法找到客商管理档案和存在多个客商管理档案的情况
- 更新了测试用例中的订单编号
2024-11-05 14:48:03 +08:00
liuy 36c5da2cf5 fix(service): 修复导出 Excel 时未捕获异常的问题- 在查询数据时添加了异常捕获处理,避免因数据库查询异常导致的系统错误
- 对 TOC 销售、TOB 销售、TOC 退货和 TOB 退货四种业务类型分别进行了异常处理
- 在异常发生时记录日志,返回空列表,确保系统稳定性
2024-11-05 14:35:05 +08:00
liuy f39fdb7761 test(purchase): 修改采购入库单测试时间和更新销售出库详细信息 DTO 类型
- 修改了 ProxyPurchaseWarehousOrderTest 类中的测试时间范围
- 更新了 TocofsSaleoutDetailedEntity.xml 中的 resultMap 类型
2024-11-05 14:25:20 +08:00
liuy 36904aa9c8 refactor(report): 调整 TocofsSaleoutDetailed 相关属性命名
- 将 newsystemnumber4 和 newsystemprimary4 的属性名分别改为 newsystemnumber3 和 newsystemprimary3
- 修正 businesstype 属性的列名映射,从 businessDate 改为 businessType
2024-11-05 11:12:58 +08:00
liuy 170ba5ac72 refactor(sales): 恢复 TOC 销售数据推送
- 启用之前被注释掉的 TOC 销售库存同步和销售确认收入推送功能
- 移除了 TODO 注释,正式恢复数据推送操作
2024-11-05 10:19:50 +08:00
liuy 34d46299a5 feat(report): 添加销售报表导出功能
- 在 application-lets.yml 和 application-letsprod.yml 中添加报告相关配置
- 修改 TocofsSaleoutServiceImpl 中的导出逻辑,支持从配置文件读取模板路径
- 新增公共文件下载方法,用于处理导出文件下载
- 优化测试用例中的代码示例
2024-11-05 10:05:14 +08:00
zhengyf c01074d8e3 丽知:新增httpclinet 2024-11-04 17:28:02 +08:00
liuy edbde2edb1 refactor(sales): 暂停 TOC 销售库存和交易推送
- 注释掉 SoSaleOutPluginInitializerToC 类中的库存和交易推送代码
- 新增 TOCOFS 退货查询相关接口和 DTO 类
- 优化 TocofsReturngoodsDetailedDaoImpl 类,实现新的查询方法
2024-11-02 17:32:45 +08:00
liuy 96a34e8319 buildpackage: 恢复日志文件生成
- 移除了 WARN_FILE 和 ERROR_FILE 日志文件生成的注释
- 保留了 ALL_FILE 日志文件生成的注释
2024-11-02 15:14:00 +08:00
liuy 879b05d2ac feat(sales): 重构销售退货单优惠金额计算逻辑
-移除不必要的日志输出
- 优化实退金额计算方法,考虑各种优惠类型
- 新增累加优惠金额功能,用于后续传给U8C
- 在RerturnGoodsOrderSearchDetails中添加平台优惠、商家优惠、达人优惠和支付优惠字段
2024-11-02 15:12:50 +08:00
liuy 74b9e1314b refactor(sales): 优化销售出库单生成逻辑
-调整了单据合并和档案查询的执行顺序,提高处理效率
- 禁用了 MyBatis 缓存,避免数据不一致问题
- 更新了应用配置,激活 lets 环境
- 移除了测试代码中的硬编码部分,提高了代码可读性
2024-11-02 09:46:49 +08:00
liuy 064e28a456 feat(sales): 扩展内部指令类型并更新配置
- 在 SoSaleOutPluginInitializerToB 和 SoSaleOutPluginInitializerToC 类中扩展了内部指令类型,增加了 NEIBULINGYONG, INPURCHASE 和 HUOFAN- 更新了 application.yml 文件,将 profiles.active 从 lets 改为 letsprod
- 调整了测试类中的测试用例执行时间
2024-11-02 09:38:00 +08:00
zhengyf f978125637 丽知:仅退款优化 2024-11-01 23:13:47 +08:00
zhengyf 36f0c4d239 丽知:钉钉更新 2024-11-01 18:50:15 +08:00
zhengyf bd3b677e90 丽知:钉钉文件上传优化 2024-11-01 13:46:43 +08:00
zhengyf b04277e53a 丽知:组装单拆单 2024-11-01 13:46:33 +08:00
zhengyf 0519a067f0 丽知:钉钉回调 2024-11-01 09:45:31 +08:00
zhengyf 2643dd64d1 丽知:钉钉回调 2024-11-01 08:45:56 +08:00
liuy 224ab57805 refactor(sales): 重构销售出库单优惠金额计算逻辑- 修改了优惠金额的计算方式,将实付金额与各种优惠金额分开处理
- 优化了代码结构,提高了可读性和可维护性
- 调整了部分变量类型,以适应新的计算逻辑
- 移除了不必要的注释和测试代码
2024-10-31 18:40:40 +08:00
zhengyf 3c1b94091a 丽知:存货管理档案分配新增采购策略 2024-10-31 18:23:06 +08:00
zhengyf c12bcee0a5 丽知:修改公司三对一 2024-10-31 17:42:32 +08:00
zhengyf b093e80342 丽知:钉钉回调 2024-10-31 17:33:45 +08:00
zhengyf 6e4f1757e0 丽知:店铺HH,供应商BB 2024-10-31 17:33:31 +08:00
zhengyf 8558421247 丽知:钉钉回调优化 2024-10-31 16:08:43 +08:00
liuy 27b3318324 refactor(buildpackage): 重构查询 U8C 客商档案逻辑
- 移除重复的查询逻辑,使用统一的模糊查询方法
- 优化错误处理,提高代码可读性和维护性
- 在 SoSaleOutPluginInitializerToC 中添加 dimension 参数,用于精确查询
2024-10-31 16:07:13 +08:00
liuy 382154edcf feat(BalanceUnitPriceUtil): 更新缓存映射并调整测试日期
- 在 BalanceUnitPriceUtil 类中的 cacheShopMap 中添加了新的映射项
- 修改了 SoSaleOutPluginInitializerToBTest测试类中的测试日期
2024-10-31 11:56:39 +08:00
liuy 01222942a4 fix(sales): 修复 ToB 销售出库初始化报错问题
- 在 SoSaleOutPluginInitializerToB 类中,添加了对 splitDateAndPush 方法的异常捕获处理
- 优化了错误日志的输出,提高了异常处理的健壮性
- 在 SoSaleOutPluginInitializerToC 类中,添加了注释以提高代码可读性
- 在测试类 SoSaleOutPluginInitializerToBTest 中,更新了测试用例以覆盖新的异常处理逻辑
2024-10-31 10:38:34 +08:00
liuy ba44b5a4ef refactor(sales): 重构销售出库报表导出逻辑
- 新增 sceneType 参数区分库存和交易场景
- 更新 queryBasicArchivesStock 方法以支持不同场景的处理逻辑
- 新增 TOB 和 TOC 销售报表导出的 DTO 类
- 扩展 TocofsSaleoutDetailedDao 接口,添加新的查询方法
- 优化错误日志处理逻辑,根据场景类型选择不同的处理方式
2024-10-31 10:38:34 +08:00
zhengyf 4bdbe61e0e 丽知:配置钉钉回调 2024-10-30 22:04:18 +08:00
zhengyf a51094efe8 丽知:委外采购(付款单)->采购付款申请(新)、代理采购(付款单)->采购付款申请(店群专用)调拨单内部交易(付款单)->特殊业务处理(新)。对接钉钉。 2024-10-30 16:26:59 +08:00
liuy b6d160cfc6 提交公司档案对照的代码逻辑,涉及TOB、TOC对应的业务 2024-10-29 17:16:34 +08:00
liuy ed21d4ce9d refactor(sales): 重构销售出库和销售退货初始化逻辑- 在 SoSaleOutPluginInitializerToB 和 SoSaleReturnPluginInitializerToB 类中添加 replaceCompanyCode变量
- 使用 queryU8CEntityUtil.queryBdDefDocByPkDefDocList 方法获取替换后的公司代码
- 更新 BdCorpEntity 查询条件,使用替换后的公司代码
- 修改错误信息提示,使用替换后的公司代码
2024-10-29 15:17:44 +08:00
liuy cbaefcc1fb refactor(purchase): 重构采购公司编码匹配逻辑
- 在 ProxyPurchaseReturn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中添加 QueryU8CEntityUtil 的自动注入
- 使用 queryU8CEntityUtil.queryBdDefDocByPkDefDocList 方法替换原有的公司编码匹配逻辑
- 优化了公司编码的查询和验证过程,提高了代码的可维护性和扩展性
- 修改了 application.yml 中的 profiles.active 配置,从 letsprod 改为 lets
- 更新了测试类中的测试用例,调整了实施时间和订单编号
2024-10-29 15:05:46 +08:00
liuy 7e89ad620d fix(outsourc): 修复红字委外入库单生成逻辑
- 更新 SQL 查询语句,使用 CONCAT 替代 concat 函数
- 添加公司代码替换逻辑,确保正确匹配公司档案
- 修改插件名称和标签,使其更加准确
- 更新测试用例,使用新的订单编号
2024-10-29 15:05:46 +08:00
zhengyf bcd96ec28c 丽知:组装修改。 2024-10-29 14:01:28 +08:00
zhengyf 577977e8c0 丽知:仅退款修改 2024-10-29 13:45:58 +08:00
zhengyf 7d0c15e11a 丽知:客商自动分配修改 2024-10-29 11:27:57 +08:00
liuy e29b0647f9 refactor(buildpackage): 优化公司代码转换逻辑和模糊查询
- 在 OverallConstant 中添加了 "u8c自定义项档案-公司对照" 配置项
- 修改了 BdCubasdocEntity 中的 def1 字段查询方式,改为模糊查询
- 更新了 ConsignmachiningIn 中的公司代码转换逻辑
- 优化了 QueryU8CEntityUtil 中的 queryBdDefDocByPkDefDocList 方法
2024-10-29 10:45:29 +08:00
liuy fd8d287b95 refactor(sales): 优化档案查询中的库存处理逻辑
- 新增 entityInsertOrUpdateBatchStock1V2 方法,用于更新出库状态的日志(适合档案转换部分的日志处理)
- 在 SoSaleOutPluginInitializerToC 中实现 updateFailOrSuccessTocofsSaleoutDetailedArchiveInquiryV2 方法,用于批量修改成功或失败状态
- 更新相关 XML 文件,添加新的 SQL 语句
- 修改测试用例,注释掉部分代码并添加新的测试场景
2024-10-28 16:57:49 +08:00
liuy 251930ad8f refactor(sales): 优化销售和退货流程的并发控制
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中添加了 ReentrantLock- 为 getSetStock 和 getSetTran 方法添加了并发控制逻辑
- 增加了异常捕获和日志记录,提高了系统的健壮性
2024-10-28 14:56:38 +08:00
zhengyf 329e9f01ea 丽知:仅退款修改 2024-10-28 14:16:09 +08:00
liuy c48968af55 perf(webapp): 优化日志记录和性能监控
- 修改 SoSaleOutPluginInitializerToC 类,增加额外的 ReentrantLock 实例
- 更新 logback-spring.xml,注释掉部分日志 appender 引用
- 在 EntranceServiceImpl 中添加方法执行时间记录,以监控性能
2024-10-28 14:14:24 +08:00
zhengyf de245d4ec3 丽知:仅退款修改 2024-10-28 13:33:33 +08:00
liuy d12b204b9d refactor(log): 调整日志记录策略并优化相关代码
- 在多个插件的 executeBusiness 方法中添加触发调用的日志记录
- 注释掉部分冗余的日志记录代码,以提高性能
- 修改 logback-spring.xml 配置,暂时移除 ALL_FILE 日志输出
2024-10-28 11:48:43 +08:00
liuy 14a21b3168 refactor(webapp): 优化代码格式和日志输出
-调整代码缩进和空格,提高可读性
- 优化日志输出,移除冗余信息
- 统一异常处理方式
2024-10-28 11:09:53 +08:00
zhengyf c1786b7cb8 丽知:新增 委外采购(付款单)->采购付款申请(新) 钉钉审批实例 2024-10-28 00:34:49 +08:00
liuy 6b58abc666 refactor(sales): 重构销售出库和销售退货插件的时间处理逻辑
- 将按小时分割时间的逻辑改为直接使用整天的时间范围
- 优化了 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中的代码
- 注释掉了原有的按小时循环的代码,简化了逻辑
- 在测试类中添加了 executeBusiness 方法的调用,用于后续的接口测试
2024-10-27 19:23:57 +08:00
liuy ceac1d668a perf(sales): 优化销售订单处理性能
- 移除不必要的日志记录,减少日志对性能的影响
- 注释掉部分未使用的代码,提高代码可读性
- 优化部门匹配逻辑,提高处理效率
- 移除冗余的检查逻辑,简化代码结构
2024-10-27 17:04:45 +08:00
zhengyf 6d246b79ae 丽知:新增钉钉审批实例 2024-10-27 17:03:29 +08:00
zhengyf f0d76ddf6d 丽知:钉钉配置文件 2024-10-26 15:34:48 +08:00
liuy ba115da9bb perf(buildpackage): 优化数据处理逻辑和性能
- 调整了数据过滤和保存的顺序,先过滤再保存,提高效率
- 使用流式处理和并发插入数据,提升性能
-修复了一些潜在的空指针异常问题
- 优化了日志输出,增加了耗时记录
2024-10-26 15:28:10 +08:00
liuy 4c89f1f88e perf(sales): 调整订单处理批次大小
- 将 SoSaleOutPluginInitializerToC 中主表和明细表的批次大小从 200 调整为 500
- 将 SoSaleReturnPluginInitializerToC 中主表和明细表的批次大小从 800调整为 500
2024-10-26 15:28:10 +08:00
zhengyf 08e755342e 丽知:丽知生产环境 2024-10-26 15:21:31 +08:00
zhengyf 6bf73a3c9d 丽知:对接钉钉 2024-10-26 15:20:32 +08:00
zhengyf f5a880243b 丽知:新增等待时间,防止并发 2024-10-26 15:16:54 +08:00
zhengyf fb2e87ac07 丽知:修改公司对应 2024-10-26 15:16:21 +08:00
zhengyf 6417c9c1fd 丽知:新增公司三对一方法 2024-10-26 14:15:09 +08:00
liuy 29a17362b2 refactor(sales): 优化售后订单查询逻辑
- 去除无效的售后订单号,避免不必要的查询
- 优化批量查询逻辑,提高查询效率
-修复可能的空指针异常,提升代码稳定性
2024-10-26 13:36:24 +08:00
zhengyf f7210e574d 丽知:组装单优化,存货分配加休眠时间避免并发问题 2024-10-25 23:19:44 +08:00
zhengyf bb11543592 丽知:写日志加锁 2024-10-25 16:45:37 +08:00
liuy 6bbfc57c45 buildprofile: 修改活动配置文件为 lets
- 将 application.yml 中的 active 配置项从 letsprod 改为 lets
-此修改旨在选择不同的环境配置,可能影响应用程序的运行行为
2024-10-25 15:52:00 +08:00
liuy eede992405 refactor(buildpackage): 调整数据库连接池配置并优化数据同步功能
- 修改了多个环境配置文件中的数据库连接池参数- 优化了销售出库数据同步功能,增加了按时间查询和批量处理逻辑
- 调整了日志级别和文件保存路径等配置
2024-10-25 15:44:44 +08:00
zhengyf d6e01d5810 丽知:sku封存插件优化 2024-10-25 14:44:46 +08:00
liuy 5942ccab20 fix(sales): 修复销售订单和退货订单的金额计算逻辑- 优化了税率计算方法,确保精度准确
- 修复了邮费金额计算的逻辑错误- 优化了优惠金额分摊的处理逻辑
- 调整了测试代码中的参数
2024-10-24 19:09:16 +08:00
liuy 68e1e47828 feat(sales): 计算平台运费并添加到销售订单
- 新增平台运费计算逻辑,累加偏远地区邮费
- 查询平台运费对应的存货基本档案和管理档案
- 计算邮费的无税金额、含税金额和税额
- 创建并添加平台运费的销售订单明细行- 优化了销售订单推送流程,支持邮费分摊
2024-10-24 16:53:47 +08:00
zhengyf 18d64962b5 丽知:仅退款修改 2024-10-24 13:59:06 +08:00
zhengyf 12eb70a5c5 丽知:仅退款修改 2024-10-24 13:40:56 +08:00
zhengyf 4c1ac41ecc 丽知:成套件插件优化 2024-10-24 11:58:00 +08:00
zhengyf 2b7d33441c 丽知:成套件插件优化 2024-10-24 11:35:42 +08:00
zhengyf 90b6ec01ba 丽知:钉钉上传文件。 2024-10-24 11:35:31 +08:00
zhengyf 4598e64e8b 丽知:仅退款根据店铺区分tob toc 2024-10-23 17:43:28 +08:00
zhengyf 99354e5968 丽知:其他出入库成功后,目标系统单据号+新增公司编码 2024-10-23 16:38:40 +08:00
zhengyf eb45fadcef 丽知:ofs正式环境信息修改 2024-10-23 14:33:33 +08:00
liuy 017ea3ee82 fix(buildpackage): 修复字符串空值和前后空格问题
- 在多个地方添加了对字符串空值的校验,避免NullPointerException- 使用trim()方法去除字符串前后空格,提高数据匹配准确性- 优化了部分代码结构,增加了可读性和健壮性
2024-10-22 20:09:50 +08:00
zhengyf 907eefe710 丽知:sku同步限制去除空格 2024-10-22 20:03:22 +08:00
zhengyf c54ea5347a 丽知:sku同步限制去除空格 2024-10-22 20:02:56 +08:00
zhengyf 45aff8f6d4 丽知:新调整,仅退款(取售中,售后) 2024-10-22 19:54:50 +08:00
zhengyf c51f59b8ca 丽知:新增:u8c对接钉钉 2024-10-22 18:16:53 +08:00
liuy 4426946bdb fix(sales): 修复销售出库和退货单中 ID拼接错误
- 在 SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToC 类中  为 ID 拼接添加单引号,确保 SQL 查询的准确性
- 更新 SoSaleReturnPluginInitializerToCTest 中的测试方法,使用时间范围
  替代之前的单个订单代码进行测试
2024-10-22 18:12:01 +08:00
liuy 1f0f0b25a3 refactor(sales): 优化销售出库和退货相关代码
- 移除 SoSaleOutPluginInitializerToB 中的未使用的 printCode 方法
- 优化 SoSaleReturnPluginInitializerToC 中的代码格式
- 更新 SoSaleOutPluginInitializerToBTest 中的测试方法,使用按库存时间查询替代按代码查询
2024-10-22 18:12:01 +08:00
zhengyf 8e3d80ce62 丽知:调整出入库加锁 2024-10-22 18:11:49 +08:00
zhengyf 6bd57fb3fc 丽知:SKU主档同步:分类,没有存货分类的时候,默认“YD001”,可能是虚拟组套 2024-10-22 17:03:51 +08:00
liuy 4b0a11ae18 perf(sales): 优化销售订单处理批次大小并修复相关问题- 将销售订单处理的批次大小从 800调整为 200,以提高处理效率
- 修复了引用订单代码为空时可能导致的空指针异常
- 注释掉了日志记录优惠金额分摊结果的代码,以减少不必要的日志输出
- 更新了测试代码,使用新的订单代码进行测试
2024-10-22 15:09:20 +08:00
liuy 14ec5bfa68 refactor(sales): 重构销售订单查询逻辑
- 移除不必要的列表分割操作
- 优化去重逻辑,使用 Set集合
- 将销售订单转换为 Map 集合,提高查询效率
- 简化代码结构,提高可读性和维护性
2024-10-22 15:09:20 +08:00
zhengyf ee5d86e78d 丽知:删除多余打印代码 2024-10-22 15:07:16 +08:00
zhengyf 4362528c5c 丽知:修改中台转发地址127.0.0.1:8081 2024-10-22 14:41:15 +08:00
liuy 0ec6f9e2fa refactor(lets): 更新 U8C API URL 并优化代码格式
- 将 OverallConstant 类中的测试 U8C URL 修改为正式 U8C URL
- 在 SoSaleOutPluginInitializerToC 类中添加空行,提高代码可读性
2024-10-22 11:23:42 +08:00
liuy 64ce827656 feat(sales): 优化 TOC 退货性能并添加结存价功能
- 使用 Map 优化性能,替换原有的循环查找逻辑
- 添加结存价和采购价初始化功能
- 根据店铺选择性地使用结存价或采购价计算退货金额
- 优化线程处理,提高数据插入效率
- 调整批量查询逻辑,减少数据库访问次数
2024-10-22 10:55:07 +08:00
liuy 428ddef112 fix(buildpackage): 修复生产环境 URL 配置并优化数据处理
- 将开发环境 URL 更改为生产环境 URL
- 移除测试用的硬编码数据- 优化字符串处理,增加 trim() 方法去除前后空格
- 调整数据查询逻辑,提高数据准确性
2024-10-22 10:55:07 +08:00
zhengyf 3fa33ece28 丽知:修改u8c正式环境外部系统密码 2024-10-22 10:53:50 +08:00
liuy 24218ce79e refactor(buildpackage): 重构查询逻辑并优化数据处理
-将 IaPeriodaccountEntity 中的 BigDecimal 字段改为 String 类型- 优化了 SoSaleOutPluginInitializerToB、SoSaleOutPluginInitializerToC 和 SoSaleReturnPluginInitializerToB 中的结存金额处理逻辑
- 重构了 TocOrderBasicArchivesCacheUtil 中的查询方法,提高了查询效率- 新增 BalanceUnitPriceUtilTest 测试类
2024-10-21 20:31:10 +08:00
liuy 429c160501 refactor(lets): 重构获取结存价和采购价逻辑- 修改了 IaPeriodaccountEntity 和 PoOrderBEntity 的相关字段类型
- 优化了 getFloorPrice 方法的实现,支持从 map 中获取结存价和采购价
- 新增了 initAllBalancePricePurchasePrice 方法初始化结存价和采购价
- 调整了 SoSaleOutPluginInitializerToC 中的逻辑,支持新的结存价和采购价获取方式- 修复了一些潜在的空指针异常问题
2024-10-21 17:58:14 +08:00
liuy 29e1467c96 refactor: 更新 U8C API 接口地址
- 将 U8C API 接口地址从测试环境的 9099 端口修改为正式环境的 8088端口
- 此修改影响到与 U8C 系统交互的所有相关功能
2024-10-20 16:17:51 +08:00
liuy 283872320e feat(buildpackage): 用 def1 字段代替 custcode 字段进行查询
- 在 BdCubasdocEntity 和 BdCumandocEntity 中添加 def1s 字段用于查询
- 更新 XML 文件中的 SQL 查询条件,使用 def1 替代 custcode
- 修改缓存工具类和插件初始化器中的相关逻辑,使用 def1 替代 custcode
- 优化测试方法,使用订单代码进行查询
2024-10-20 15:39:37 +08:00
liuy 1979075bcb 优化数据处理性能和批处理大小
- 增加单次查询的数量限制,减少数据库查询次数
- 使用多线程处理数据插入,提高处理速度
-优化数据结构,使用Map替代List以减少循环遍历
-调整批处理大小以适应更大的数据量
2024-10-18 20:24:19 +08:00
liuy 7c0daa89a7 增强插件执行的健壮性
在多个插件的executeBusiness方法中添加了try-catch结构,以捕获和记录异常。这样可以避免因未处理的异常而导致的程序崩溃,提高了代码的健壮性。
2024-10-18 14:55:40 +08:00
liuy bb7ef33c9d 扩展销售订单查询类型并更新API配置
- 在SoSaleOutPluginInitializerToB和SoSaleOutPluginInitializerToC中,将内部指令类型从"SALES"扩展为"SALES,EXCHANGE,REISSUE",以包含更多的销售订单类型
- 更新application-lets.yml中的letsofs配置,替换为正式环境的URL、appKey和secret
- 在测试类中调整订单代码查询示例,更新为新的测试订单代码
2024-10-18 14:41:10 +08:00
liuy 3bb8865e4a 1. 注释掉 IA_PERIODACCOUNT 表的更新和删除操作相关代码。
2. 新增 letsofs 配置项到 application-lets.yml 和 application-letsprod.yml 文件中。
3. 在 OfsOrderAfterSalesAmountAllocationUtilTest 中添加 OfsUnifiedService 的测试方法。
4. 在 OfsUnifiedServiceImpl 中注入 letsofs 相关配置项,并在 unified 方法中使用这些配置。
5. 新增OfsUnifiedServiceImplTest 类用于测试 unified 方法。
2024-10-18 11:44:38 +08:00
liuy 4f9932f15c 优化销售出库和退货流程,增加结存价和采购价判断逻辑
- 在销售出库和退货流程中,增加对特定店铺的判断,如果为指定店铺,则取结存价
- 如果没有结存价,则查询采购价作为备用
- 优化了价格计算逻辑,确保在各种情况下都能正确计算含税单价
- 新增BalanceUnitPriceUtil工具类,用于查询结存价和采购价- 在IaPeriodaccountEntity中添加了nabmny字段,用于存储结存金额
- 在PoOrderBEntity中添加了nordernum字段,用于计算采购总价
2024-10-18 11:31:35 +08:00
liuy 498a0da6ce 新增接口和实现类以查询存货结存价和最新采购价- 添加 IIaPeriodaccountDao接口,用于查询存货结存价
- 实现 IaPeriodaccountDaoImpl 类,实现上述接口
- 在 IPoOrderBDao 接口新增查询最新采购价的方法
- 在 PoOrderBDaoImpl 类中实现新方法
- 创建 IaPeriodaccountEntity 实体类,用于处理存货会计期间数据
2024-10-17 17:01:29 +08:00
liuy 992e143bbc 增强销售出库和退货插件中的业务日期生成逻辑
- 在销售出库和退货插件中,增加获取订单编码的逻辑- 优化业务日期生成方法,加入订单编码信息到日志和异常信息中
- 提高代码健壮性,增加空值检查和异常处理
- 重构部分代码,提高可读性和维护性
2024-10-15 11:55:36 +08:00
liuy 035e0829ab 优化销售退货插件中的日期字段校验和异常信息
- 修改了SoSaleReturnPluginInitializerToB和SoSaleReturnPluginInitializerToC类中的日期校验逻辑
- 优化了异常信息的表述,使其更加清晰和准确
- 新增了TestSfExpress类,用于测试顺丰云打印功能(注:实际代码中此测试类已删除,此处为占位内容)
2024-10-15 10:43:42 +08:00
liuy bbba76de05 修复OFS售后入库单优惠金额计算问题
- 在SoSaleReturnPluginInitializerToC类中添加累加优惠金额的方法
- 修改GoodsRertunSonDetailsDto类,增加优惠金额字段
- 在OfsOrderAfterSalesAmountAllocationUtil类中移除测试代码
-优化OfsOrderSaleAmountAllocationUtil类中的测试代码
2024-10-11 15:34:23 +08:00
liuy b3d244f415 添加OFS销售订单优惠金额分摊计算
引入新的OFS售后订单金额分摊工具,并在处理售后订单时,增加一步计算OFS销售订单优惠金额分摊到明细行的逻辑。
2024-10-11 10:10:10 +08:00
liuy 215f1b0fa1 优化OFS售后订单金额分摊逻辑
- 新增批量分摊方法batchTocSalesAmountAllocation- 优化分摊比例计算逻辑,支持商品零售价为0时不参与分摊
- 增加分摊结果记录和打印方法printAmountOfMoneyNum
-重构calculatePercentage方法,支持售后订单明细分摊比例计算
- 新增测试类OfsOrderAfterSalesAmountAllocationUtilTest,增加多种测试场景
2024-10-10 17:31:21 +08:00
liuy 4b3f3c8437 优化销售订单优惠金额分摊和推送逻辑
- 完善了优惠金额分摊逻辑,确保分摊后的金额保留两位小数- 在推送销售订单到U8C时,增加了对优惠金额的处理,确保金额为0时不推送
- 优化了代码结构,增加了测试和日志记录功能
2024-10-10 10:51:26 +08:00
liuy 7b154fc238 优化销售订单优惠金额分摊逻辑
- 新增OFS销售订单优惠金额分摊到明细行的功能
- 在销售出库单生成U8C销售订单时,携带优惠金额
- 优化OFS销售订单金额分摊逻辑,支持各类优惠金额的分摊
- 新增测试用例,验证优惠金额分摊的正确性
2024-10-09 16:13:37 +08:00
liuy 467120fa5e 优化OFS销售出库单处理逻辑
- 移除了不必要的注释代码,提高了代码的可读性
- 优化了OFS销售订单和销售出库单的关联逻辑
- 改进了店铺编码的处理方式,增加了去重逻辑
- 调整了部门信息的获取逻辑,提供了默认值处理
- 优化了存货和客商档案的查询逻辑
2024-10-08 16:16:24 +08:00
zhengyf 772e07467d 丽知:仅退款日期修改 2024-10-08 09:12:11 +08:00
zhengyf 63335cf4f7 丽知:prod环境修改中台地址 2024-10-08 09:08:43 +08:00
liuy 9b4f4c434c 新增销售出库和退货单据的红字标识
在销售出库和退货单据中添加红字标识自定义项,区分正常单据和红字单据。新增代码包括在销售出库和退货单据的初始化方法中设置红字标识,并在销售发票头部DTO中添加相关字段。同时,在常量类OverallConstant中新增红字标识的键值对。
2024-09-30 17:55:00 +08:00
476474485@qq.com f9d7040287 Merge remote-tracking branch 'origin/lets' into lets 2024-09-29 15:55:22 +08:00
476474485@qq.com 10e65c0d50 解决定时任务失败后无法重试错误 2024-09-29 15:54:54 +08:00
liuy a72eecf748 取消传递内部指令类型字段
根据与O的确认,不再通过查询取消内部指令类型字段。注释掉相关代码行,避免对销售退货流程产生影响。

LETS客户端代码保留不变,并移除之前与此字段相关的公司代码设置。

销售退货插件初始化流程中,保留状态设置和分页配置,以符合更新后的查询参数。
2024-09-29 11:47:41 +08:00
liuy e807d334fc 同步方法修改以修复推送锁定问题
对`SoSaleOutPluginInitializerToB`和`SoSaleReturnPluginInitializerToB`中的方法进行同步修改,以解决在推送数据到U8C系统时潜在的并发问题。现在方法在执行数据推送及验证存在性之前会进行同步锁定,以防止多线程环境下的数据冲突。

同时,在`SoSaleOutPluginInitializerToBTest`中对测试代码进行了注释调整,以反映代码变更后的测试情况。

此次更改确保了在并发环境下,数据推送和验证操作的原子性,从而提高了系统稳定性和数据一致性。
2024-09-29 11:39:07 +08:00
zhengyf 55b1df7d3c 丽知:格式化代码 2024-09-29 11:08:22 +08:00
zhengyf 60e56be25d 丽知:修改仅退款插件。,按公司+店铺+部门+单据日期+sku汇总 2024-09-29 10:42:42 +08:00
zhengyf 1ae43fe1b0 丽知:修改仅退款插件。 2024-09-27 15:55:26 +08:00
liuy 3f3cf2aded 移除不必要的收支项目查询
移除了在SO销售和退货流程中不必要的收支项目查询,以优化性能和避免不必要的网络调用。之前,代码会查询BdInvcl和BdCostsubj实体,即使这些实体在当前的业务逻辑中并不需要。此更改简化了流程,移除了这些冗余查询,没有影响现有的功能。
2024-09-26 10:37:13 +08:00
liuy 34097c86b1 异常处理:为销售和退货同步方法添加try-catch块
为销售和退货同步方法(startImplement...)添加try-catch块,以处理可能的异常并记录错误。改进了方法
的健壮性,确保在遇到异常时能够优雅地处理,避免程序崩溃。
2024-09-25 18:27:11 +08:00
zhengyf 683593724d 丽知:修改仅退款插件。 2024-09-25 18:14:24 +08:00
zhengyf 975511582e 丽知:修改仅退款插件。 2024-09-25 16:26:48 +08:00
liuy 4feba7099f 代码重构:增强代码可读性和维护性
重构QuartzJobFactory类以提高代码清晰度和可维护性。调整代码格式,优化if条件语句,并精简方法参数对齐。通过这些改进,增强了代码的可读性和逻辑流程。此外,确保代码注释详细,提升文档质量。
2024-09-25 16:03:30 +08:00
liuy 955e840eb2 返回值优化:多个插件执行成功时返回统一成功消息
更改内容:
- 在多个插件初始化器中修改executeBusiness方法的返回值为BaseResult.getSuccessMessageEntity("插件执行成功")
-参与修改的插件包括:CustdocAutoAllotPluginInitializer, ShopPluginInitializer, SupplierPluginInitializer等

影响:
- 优化了插件执行成功的反馈机制,统一了返回的成功消息格式
2024-09-25 15:42:40 +08:00
zhengyf fa895c85e7 丽知:新增仅退款插件。 2024-09-25 14:42:23 +08:00
liuy 23aa38c58f 数据类型修改和多线程优化
- 实体类中整型字段改为字符串类型,以适配特定的数据库操作需求。
- 在数据映射文件中更新字段类型,保持与修改后的实体类一致。
- 重构executeBusiness方法,使用多线程异步执行业务逻辑,优化性能。
2024-09-25 13:16:43 +08:00
liuy 6c4ddb00a5 refactor(lets-plugin): 优化查询明细信息的同步机制
在查询IntegrationTaskLivingDetailsEntity时,引入同步锁以保证线程安全。重构相关代码,提升可读性与性能。
另外,修正了一些可能的NullPointerException问题。
2024-09-24 14:41:40 +08:00
liuy 9d4447ae7a 日志优化与测试用例时间参数化
- 扩展日志信息,使其包含插件名称、O接口返回行数及时间范围。
- 将现有测试代码中的硬编码时间替换为参数,以便于灵活测试。
- 通过这些改动,提高了日志的可读性,并使测试用例更加通用。
2024-09-24 14:11:05 +08:00
liuy b7139d7c1d ### commit message
#### 1. 和郭哥讨论之后给出的解决方案:先把这几行注释掉,处理定时器调用查询失败的我哪天
2024-09-24 13:09:58 +08:00
liuy e142ad212b Merge branch 'dev' of http://ufidahz.com.cn:9015/root/kangarooDataCenterV3 into lets
 Conflicts:
	buildpackage/src/main/java/com/hzya/frame/plugin/mdmDistribute/plugin/MdmModulePluginInitializer.java
2024-09-24 11:58:30 +08:00
liuy 9f6484c617 ```添加同步以防止查询日志明细时的潜在竞态条件
在`queryIntegrationTaskLivingDetails`方法中引入同步,以防止在查询日志明细时出现潜在的竞态条件问题。这确保了在多线程环境中访问共享资源时的数据一致性。
```
2024-09-24 11:54:17 +08:00
liuy abf1c5eaf4 ```更改时间参数确保库存和销售退货插件的正确行为库存和销售退货插件中的时间筛选参数已更新,以反映业务流程的最新需求。在`ConsignmachiningInReturn`中,发货时间(`shipAt`)现在用于查询,而非完成时间(`closedAt`)。而在`SoSaleReturnPluginInitializerToC`中,创建时间(`created`)的筛选已被关闭时间(`closedAt`)取代。这些更改确保插件现在使用的查询参数与业务逻辑保持一致。
```
2024-09-24 10:12:23 +08:00
liuy 21fd2283b2 ```修复外部加工入库和退货流程中的BOM版本号赋值问题
解决了外部加工入库和退货单据处理中BOM版本号未正确设置的问题。此更改确保了版本号与提供的BOM版本列表中的第一个元素匹配。
```
2024-09-24 10:01:51 +08:00
zhengyf afc265c4a3 丽知:修改插件执行返回结果 2024-09-24 09:59:48 +08:00
liuy ea24166934 代码重构和性能改进
-移除BOM版本在ConsignmachiningIn的设置
- 添加版本号设置为ConsignmachiningInBodyDto
- 移除未使用的BdInvmandocEntity查询
- 重构getBomVersion方法以获取最新的BOM版本
- 新增查询基础档案方法用于获取存货基本信息
- 重构ProxyPurchaseReturn和ProxyPurchaseWarehousOrder中关于赠品的判断逻辑
- 修改PoOrderChildrenDto中blargess字段类型为Boolean
- 同步处理SaveOrUpdateBusinessLogUtil中的日志保存或更新操作
- 调整数据库连接池配置以提高性能- 更新application-letsprod.yml中的数据库连接超时设置
2024-09-23 18:28:03 +08:00
liuy 01b144d4f7 文档更新和代码清理
- 文档中增加了关于字符串、字节和void数据类型的信息,完善了NumPy文档的常规介绍部分。- 解决了由于SQL查询中参数顺序错误导致的用户创建操作失败的问题,现在UUID可以正确分配给新用户记录。
-调整了EntityClass中的重新加载机制,以遵循`flush`参数,防止在刷新时刷新新实体。
- 代码库中进行了各种清理,包括使代码与规范一致、注释更新和移除未使用代码。
2024-09-23 15:31:46 +08:00
zhengyf f9ec24a772 丽知:修改 2024-09-23 14:22:41 +08:00
zhengyf 15e6019b06 丽知:新增仅退款插件。 2024-09-23 14:22:34 +08:00
liuy ca121aad33 refactor(buildpackage): 移除硬编码并更新报表查询
- 移除销售和退货插件初始化器中的硬编码字符串,使用新的标识符替换。
- 在报表实体类中添加新的查询字段,扩展报表查询功能。
- 更新报表详细实体类,包含额外的查询参数。
- 调整查询方法以支持新的查询参数,增强报表的筛选能力。

销售出库和退货报表的相关代码调整,旨在提高代码可维护性和查询灵活性。
2024-09-23 14:15:27 +08:00
liuy f99eace325 文档更新和异常处理优化
- 在QueryOfsSoSaleOutVo类中添加审核时间字段,优化销售订单查询逻辑。
- 统一 logger.error 输出格式,在ConsignmachiningIn、ConsignmachiningInReturn、ProxyPurchaseReturn、ProxyPurchaseWarehousOrder 和 ProxyPurchaseWarehousWarehouse 类中修正异常记录方法名称。
- 在SoSaleOutPluginInitializerToB类中增加同步方法的参数校验,并优化日志记录和异常处理。
- 在SoSaleOutPluginInitializerToC类中进行类似的日志和异常处理优化。
- 以上修改增强了代码的健壮性和可读性,同时提高了系统的错误处理能力。
2024-09-23 11:41:52 +08:00
liuy 66f63ec31e 优惠金额分摊功能实现在OFS销售和售后订单中
实现了OFS销售和售后订单的优惠金额分摊功能。此功能通过计算每个订单明细行的分摊比例,对平台、商家、达人、支付等优惠类型进行分摊。已更新相关的DTO类以包含分摊比例和分摊金额字段,并进行了测试以确保所有场景的正确性。

Closes <ISSUE_NUMBER_OR_URL>
2024-09-22 15:46:14 +08:00
liuy e913c13163 数据访问层和业务层接口与实现新增
服务模块中新增了多个数据访问对象(DAO)和业务服务(Service)的接口及其实现类。这些类提供了对OFS售后入库单、OFS出库单及其明细表的数据操作支持,包括实体类定义、数据库访问层和业务逻辑层的框架结构。此次更新为报告系统的库存管理相关功能奠定了基础。

- 新增`TocofsReturngoodsDaoImpl`、`TocofsReturngoodsDetailedDaoImpl`、`TocofsSaleoutDaoImpl`和`TocofsSaleoutDetailedDaoImpl`实现了对应的数据库访问逻辑。- 定义了`ITocofsReturngoodsDao`、`ITocofsReturngoodsDetailedDao`、`ITocofsSaleoutDao`和`ITocofsSaleoutDetailedDao`接口,声明了数据访问的基本操作方法。
- 创建了`TocofsReturngoodsEntity`、`TocofsReturngoodsDetailedEntity`、`TocofsSaleoutEntity`和`TocofsSaleoutDetailedEntity`实体类,对应数据库中的相关表结构。
- 实现了`TocofsReturngoodsServiceImpl`、`TocofsReturngoodsDetailedServiceImpl`、`TocofsSaleoutDetailedServiceImpl`服务层接口的默认服务逻辑。

此次提交是库存管理模块开发的第一步,后续将基于这些基础组件实现具体的业务逻辑和功能接口。
2024-09-21 17:35:20 +08:00
username c5182abbff 插件管理增加插件类型 2024-09-21 11:55:58 +08:00
sx e408a90049 Merge remote-tracking branch 'origin/lets' into lets 2024-09-21 11:48:54 +08:00
sx d1b2edcb09 更改日志源系统编码 2024-09-21 11:48:28 +08:00
liuy 336b898b19 ```禁用状态和店铺代码查询参数以解决ToC销售插件问题
在ToC销售插件初始化器中,已注释掉查询参数中对状态和店铺代码的设置,以解决不必要的查询限制问题。更新测试用例以反映这些更改,并重命名测试方法以符合新的实施策略。

更改包括:
- 注释掉`SoSaleOutPluginInitializerToC`中的状态和店铺代码设置
- 更新`SoSaleOutPluginInitializerToCTest`中的测试用例,以使用新的实施策略
- 重命名测试方法以清晰地描述其目的和行为
```
2024-09-21 10:33:06 +08:00
liuy 07bec9ac4b 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-21 10:01:27 +08:00
sx e0aad444b1 更改日志源系统编码 2024-09-20 18:41:25 +08:00
zhengyf 32d5f2a99e 丽知:统一修改空指针问题 2024-09-20 17:55:05 +08:00
zhengyf 82eafde06d 丽知:新增ofs仅退款推送u8c红字应收 2024-09-20 17:23:16 +08:00
zhengyf 83dd53c1ab 丽知:调拨出库修改 2024-09-20 17:22:45 +08:00
zhengyf 7030655a59 丽知:其他出入库修改,调拨出库修改 2024-09-20 16:35:21 +08:00
liuy d661158240 文档添加关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现在包含了关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-20 14:24:03 +08:00
sx 6ffd5b765a 更改日志源系统编码 2024-09-20 14:02:58 +08:00
zhengyf 28a5450f54 丽知:成套件修改 2024-09-20 14:00:23 +08:00
zhengyf 8ec6f45fad 丽知:成套件修改 2024-09-20 13:55:03 +08:00
zhengyf 1cd261c334 丽知:自动分配优化 2024-09-20 13:39:18 +08:00
zhengyf 813a65d8a6 丽知:调整入库优化 2024-09-20 13:34:08 +08:00
zhengyf 49877ff096 丽知:调整入库优化 2024-09-20 13:16:32 +08:00
zhengyf 9f24716b8e 丽知:调整入库优化 2024-09-20 12:25:14 +08:00
zhengyf 117b4cff1a 丽知:修改日志方法 2024-09-20 12:24:59 +08:00
zhengyf 6591b5c65c 丽知:修改日志方法 2024-09-20 12:24:36 +08:00
liuy f1726ba000 code differences:```
--- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/outsourc/ConsignmachiningIn.java	(revision a9ec45f38a1e0a6d3a10f89902f59e79bf9db4e9)
+++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/outsourc/ConsignmachiningIn.java
@@ -765,19 +765,19 @@
* @author liuyang
*/
private String createGenerateBusinessDateV2(StockinOrderSearchResponse.StockinOrder.StockinH header) {
- if (header != null) {
-            String shipAt = header.getShipAt();
+        if (header != null && header.getClosedAt() != null) {
+            String closedAt = header.getClosedAt();
String businessFormat = null;
try {
- Date dbill = DateUtil.parse(shipAt);
+                Date dbill = DateUtil.parse(closedAt);
businessFormat = DateUtil.format(dbill, "yyyy-MM-dd");
} catch (Exception e) {
logger.error("业务日期生成失败", e);
}
return businessFormat;
} else {
- logger.error("生成业务日期失败,或者shipAt为空! json:{}", JSON.toJSON(header));
-            Assert.state(false, "生成业务日期失败,或者shipAt为空! json:{}", JSON.toJSON(header));
+            logger.error("closedAt为空! json:{}", JSON.toJSON(header));
+            Assert.state(false, "closedAt为空! json:{}", JSON.toJSON(header));
return null;
}
}

--- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/outsourc/ConsignmachiningInReturn.java(revision a9ec45f38a1e0a6d3a10f89902f59e79bf9db4e9)+++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/outsourc/ConsignmachiningInReturn.java
@@ -840,8 +840,8 @@
}
return businessFormat;} else {
-            logger.error("生成采退出库日期失败,或者shipAt为空! json:{}", JSON.toJSON(returnOrderHeaderDto));
- Assert.state(false, "生成采退出库日期失败,或者shipAt为空! json:{}", JSON.toJSON(returnOrderHeaderDto));
+            logger.error("shipAt为空! json:{}", JSON.toJSON(returnOrderHeaderDto));
+ Assert.state(false, "shipAt为空! json:{}", JSON.toJSON(returnOrderHeaderDto));
return null;
}
}--- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseReturn.java(revision a9ec45f38a1e0a6d3a10f89902f59e79bf9db4e9)+++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseReturn.java@@ -734,8 +734,8 @@
}
return businessFormat;
} else {
- logger.error("生成采退出库日期失败,或者shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));
-            Assert.state(false, "生成采退出库日期失败,或者shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));
+ logger.error("shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));
+            Assert.state(false, "shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));
return null;
}
}

--- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousWarehouse.java	(revision a9ec45f38a1e0a6d3a10f89902f59e79bf9db4e9)
+++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousWarehouse.java
@@ -231,8 +231,7 @@
queryOfsSoSaleOutVo.setPageSize(50L);
queryOfsSoSaleOutVo.setCode(code);
queryOfsSoSaleOutVo.setInternalInstructionType("PURCHASE");
- //TODO 测试
-// queryOfsSoSaleOutVo.setStatus(900L);
+ queryOfsSoSaleOutVo.setStatus(900L);
ofsStandardUtil.queryOfsReturnGoods(queryOfsSoSaleOutVo, returnGoodHeaderDetailsDataDtoArrayList, 1L, "ofs.receipt.search");logger.info("数据返回行数:{}", returnGoodHeaderDetailsDataDtoArrayList.size());
if (returnGoodHeaderDetailsDataDtoArrayList.size() > 0) {
@@ -766,8 +765,8 @@* @author liuyang
*/private String createGenerateBusinessDate(PoOrderSonDto poOrderSonDto) {
-        if (poOrderSonDto != null && poOrderSonDto.getCheckInTo() != null) {
-            String checkInTo = poOrderSonDto.getCheckInTo();
+        if (poOrderSonDto != null && poOrderSonDto.getClosedAt() != null) {+            String checkInTo = poOrderSonDto.getClosedAt();
String businessFormat = null;
try {
Date dbill = DateUtil.parse(checkInTo);
@@ -777,8 +776,8 @@}
return businessFormat;
} else {-            logger.error("生成采购订单入库日期失败,或者shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));
-            Assert.state(false, "生成采购订单入库日期失败,或者shipAt为空! json:{}", JSON.toJSON(poOrderSonDto));+            logger.error("closedAt为空! json:{}", JSON.toJSON(poOrderSonDto));
+            Assert.state(false, "closedAt为空! json:{}", JSON.toJSON(poOrderSonDto));return null;
}
}

--- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java	(revision a9ec45f38a1e0a6d3a10f89902f59e79bf9db4e9)
+++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java
@@ -854,20 +854,20 @@
* @author liuyang
*/
private String createGenerateBusinessDate(OrderToBHeaderDto orderOutTobHeaderDto) {-        if (orderOutTobHeaderDto != null && orderOutTobHeaderDto.getHeader() != null && orderOutTobHeaderDto.getHeader().getCheckInFrom() != null) {
+        if (orderOutTobHeaderDto != null && orderOutTobHeaderDto.getHeader() != null && orderOutTobHeaderDto.getHeader().getClosedAt() != null) {
StockinOrderSearchResponse.StockinOrder.StockinH header = orderOutTobHeaderDto.getHeader();-            String checkInFrom = header.getCheckInFrom();
+            String closedAt = header.getClosedAt();String businessFormat = null;
try {-                Date dbill = DateUtil.parse(checkInFrom);
+                Date dbill = DateUtil.parse(closedAt);
businessFormat = DateUtil.format(dbill, "yyyy-MM-dd");} catch (Exception e) {
logger.error("业务日期生成失败", e);
}
return businessFormat;
} else {
-            logger.error("生成出库日期失败,或者checkInFrom为空! json:{}", JSON.toJSON(orderOutTobHeaderDto));
- Assert.state(false, "生成出库日期失败,或者checkInFrom为空! json:{}", JSON.toJSON(orderOutTobHeaderDto));
+            logger.error("生成出库日期失败,或者closedAt为空! json:{}", JSON.toJSON(orderOutTobHeaderDto));
+            Assert.state(false, "生成出库日期失败,或者closedAt为空! json:{}", JSON.toJSON(orderOutTobHeaderDto));
return null;
}
}
@@ -1610,8 +1610,8 @@
tocofsReturngoodsDetailedEntity.setMaintableid(returnGoodSearchHeaderDto.getId());
}
//业务
2024-09-20 11:49:38 +08:00
liuy 85bbbddb92 修正了采购入库单生成接口,确保与最新业务逻辑一致。本次修改涉及多个类与方法的更新,具体包括调整采购订单的生成逻辑、修正入库单明细行的计算方式、以及更新相关DTO类。此外,还增加了对U8C采购订单的查询以确保数据匹配。
BREAKING CHANGE: 接口`sendU8CPoOrder`方法签名已更改,从`PoOrderHeadBodyDto`返回类型更改为`PoOrderResultDto`。调用此方法的代码需要处理新的返回类型。
2024-09-20 11:47:47 +08:00
zhengyf 152ef67839 丽知:存其他出入库修改 2024-09-20 11:35:48 +08:00
zhengyf 41a7af78c0 丽知:存货自动分类修改 2024-09-20 11:21:59 +08:00
zhengyf 34b7dd3430 丽知:如插入日志报错,请立刻回滚上一版!!! 2024-09-20 11:21:45 +08:00
zhengyf a5a7b112cc 丽知:如插入日志报错,请立刻回滚上一版!!! 2024-09-20 11:05:56 +08:00
zhengyf 04e68d846b 丽知:如插入日志报错,请立刻回滚上一版!!! 2024-09-20 09:47:27 +08:00
zhengyf 541deea48f 丽知:中台日志查询修改 2024-09-19 16:12:26 +08:00
zhengyf 1894f9a15f 丽知:中台日志查询修改 2024-09-19 16:11:07 +08:00
liuy bab87f833d 数据库查询和日志优化,修复采购流程问题
- 优化数据库查询逻辑,采用更高效的条件查询方式。
- 修复采购流程中的供应商编码映射问题,确保与U8C系统的客商档案匹配。- 更新业务流程名称,以反映正确的采购流程。
- 日志记录中添加更多上下文信息,方便调试和跟踪。
2024-09-19 15:29:32 +08:00
liuy c850f9a226 ```添加支持解析 '被动' 选项以关闭的代码注释
添加了代码注释以支持解析 'passive' 选项,该选项被关闭。此更改确保代码文档准确反映了 'passive' 选项如何处理。
```
2024-09-19 15:29:32 +08:00
zhengyf 1cd86d7ff4 丽知:其他出入库自动审核 2024-09-19 11:41:45 +08:00
zhengyf e2cd4b8743 丽知:存货基本档案封存,解封修改 2024-09-19 10:26:40 +08:00
zhengyf f32ae06d12 丽知:新增其他出入库自动签字 2024-09-18 20:29:39 +08:00
liuy 42ef86c389 数据库查询和缓存初始化优化- 修正了BdCubasdocEntity和BdTaxitemsEntity中的数据库查询逻辑,以提高查询效率。
- 在TocReturnBasicArchivesCacheUtil中重构了缓存初始化方法,以支持参数化查询并减少数据库负担。
- 调整了SoSaleReturnPluginInitializerToC中测试代码,以验证新的缓存初始化逻辑。此更改通过优化数据库查询和改进缓存策略,提高了系统的整体性能和可靠性。
2024-09-18 18:40:34 +08:00
liuy 04843e5952 移除测试代码并修复销售退货插件初始化方法
在`SoSaleReturnPluginInitializerToB`类中,测试代码被错误地包含在内,这在生产环境中是不适当的。此次提交移除了注释掉的测试代码,并确保`queryOfsSoSaleOutVo.setStoreCode(tobShop);`正确地用作生产代码的一部分。
2024-09-18 16:50:00 +08:00
liuy 2137a6bca6 ```解决销售退货初始化器中的异常和测试调整
- 注释掉导致长度异常的代码行,避免pk_defxxx长度不足的问题。- 调整测试代码,移除硬编码的测试值,以防止测试对实际业务流程的影响。
- 修复公司代码和会员ID的硬编码测试逻辑,确保在实际使用时不预设固定值。
```
2024-09-18 16:38:29 +08:00
username 03cb995c58 查询需要的应用方法,写到sysWarningInterface的dao层中 2024-09-18 16:07:33 +08:00
zhengyf a1c7912e3f 丽知:存货基本档案修改 2024-09-18 15:08:07 +08:00
liuy cb0235cb01 Merge remote-tracking branch 'origin/lets' into lets 2024-09-18 14:59:55 +08:00
liuy 781c646d85 数据库交互优化及代码清理
- 优化数据库批量插入或更新逻辑,使用`list`代替`entities`集合属性。
- 在`SoSaleOutPluginInitializerToB`和`SoSaleOutPluginInitializerToC`中,改进数据行状态检查逻辑,提高代码可读性及性能。
- 移除不必要的`if`条件检查,使代码更加简洁有效。
- 更新`TocofsReturngoodsDetailedDaoImpl`及`ITocofsReturngoodsDetailedDao`接口,添加V2版本方法以支持新的批量操作。
- 在XML配置中添加新的批量插入或更新语句,对应新添加的V2版本方法。
2024-09-18 14:59:27 +08:00
username 8ed7373134 消息模版被引用过,就无法删除
停用消息模版时,同步停用对应预警设置
推送消息时,校验预警设置中消息模版启用状态
预警设置启用时,校验该配置中对应消息模版是否启用
2024-09-18 14:15:19 +08:00
zhengyf 8e90c9edb7 丽知:修改 2024-09-18 11:36:54 +08:00
username b038b7e0c2 跨域报错、zt:url使用 2024-09-18 10:53:02 +08:00
liuy b16d708566 数据库插入和更新批处理及列表处理优化
- 修改了数据库批处理插入或更新逻辑,将集合属性名从`entities`更改为`list`,以确保代码一致性和清晰性。
- 在多个XML配置文件中进行了调整,包括`toco fs_returngoods_detailed`和`toco fs_returngoods`实体的处理。
- 精简了SoSaleOut和SoSaleReturn插件初始化器中的列表处理逻辑,移除了不必要的空列表检查,提高了代码的简洁性和可读性。- 通过这些调整,优化了代码结构,减少了潜在的逻辑错误,并提高了整体代码质量。
2024-09-18 10:50:16 +08:00
username 0b13fc0432 Merge branch 'dev' of http://ufidahz.com.cn:9015/root/kangarooDataCenterV3 into dev 2024-09-18 10:37:44 +08:00
username 7409f90e2f 推送消息url改动,消息推送几个查询关联表sql语句补充sts=‘Y’ 2024-09-18 10:37:36 +08:00
liuy 1743875471 新功能:实现OFS采购入库单生成U8C委外加工入库功能
开发了一个新的插件,用于将OFS采购入库单转换并推送到U8C系统中作为委外加工入库单。该功能包括查询OFS采购入库单、匹配U8C委外订单及其明细、查询存货档案,并将数据推送至U8C接口。实现了多线程处理以提高效率,并包含详细的日志记录和异常处理机制。
2024-09-18 10:17:01 +08:00
476474485@qq.com 98efa0a7c9 解决移动端跨域问题 2024-09-14 17:15:52 +08:00
liuy f8289104cd 新增查询方法queryBdInvbasdocByPkInvmandocV3,优化BdInvbasdocEntity查询逻辑。 2024-09-14 16:44:35 +08:00
username 55d5d4399d 消息日志、消息模版、预警设置、消息单次/定时推送 2024-09-14 15:50:13 +08:00
liuy 16650807f4 refactor(buildpackage): 更新TocofsReturngoods实体类和数据访问层
- 重构TocofsReturngoods和TocofsReturngoodsDetailed实体类,以符合最新项目需求。
- 更新数据访问层方法,以支持批量插入或更新操作。
- 重命名字段并添加新字段以增加功能和数据一致性。
- 删除过时的列表插入方法,以避免未来的错误和混淆。
2024-09-14 11:15:52 +08:00
liuy faa88f0683 Merge remote-tracking branch 'origin/lets' into lets 2024-09-14 10:01:42 +08:00
zhengyf 93a68ed5b6 丽知:调拨修改 2024-09-13 17:58:01 +08:00
zhengyf 74ac490c8b 丽知:调拨修改 2024-09-13 16:18:40 +08:00
zhengyf eb91bc1e68 丽知:新增其他出入库(ZZ)自动审核 2024-09-13 16:18:19 +08:00
zhengyf bda973b091 丽知:新增其他出入库(ZZ)自动审核 2024-09-13 16:18:14 +08:00
zhengyf ac802e693f 丽知:新增其他出入库(ZZ)自动审核 2024-09-13 16:17:34 +08:00
zhengyf b1baa823bf 丽知:测试类修改 2024-09-13 14:00:52 +08:00
zhengyf 5f762ea504 丽知:新增u8c查询方法 2024-09-13 14:00:27 +08:00
zhengyf 20c11900ea 丽知:组装修改 2024-09-13 13:59:54 +08:00
liuy c736fd2b40 Merge remote-tracking branch 'origin/lets' into lets 2024-09-13 13:31:39 +08:00
sx 9a978a2f7b 添加同步方法 2024-09-13 11:26:42 +08:00
liuy a321983610 commit message:```
优化销售订单匹配与异常处理

在销售订单匹配流程中,启用更有效的订单查询逻辑,并对异常情况进行增强处理。移除不必要的注释,并清理可能导致主键长度异常的代码。此外,引入新的时间参数验证步骤,以确保处理时间范围的有效性。
```
2024-09-13 10:55:08 +08:00
lvleigang 97a4f62a8d 修改主数据规则查询 2024-09-13 09:48:32 +08:00
liuy 0b3e56af0a Merge remote-tracking branch 'origin/lets' into lets 2024-09-12 14:00:52 +08:00
zhengyf 0feefe2a4d 丽知:组装修改 2024-09-12 14:00:26 +08:00
zhengyf a8c40684e5 Merge remote-tracking branch 'origin/lets' into lets 2024-09-12 13:59:36 +08:00
liuy d6c492979a refactor(sales): 优化销售出库插件初始化逻辑
- 重构`startImplementByCode`方法,引入`sceneType`参数支持不同业务场景。
- 直接在`SoSaleOutPluginInitializerToB`中使用新的`getSetStock`和`getSetStockTran`方法,根据`sceneType`区分库存和转运场景。- 移除未使用的`findMatchingOfsOrder`方法,清理代码。
- 测试代码中添加了对新方法的调用示例,但实际测试逻辑未展开。

计划将`sceneType`参数传递到相关方法中,以支持后续的业务逻辑区分。
2024-09-12 13:49:24 +08:00
liuy 668c85eb0b 数据库交互优化及代码注释调整
- 优化了TocofsSaleoutDetailedEntity的批量插入或更新逻辑,通过移除冗余字段减少了数据库负担。
- 移除了SoSaleOutPluginInitializerToB中计划任务的重复执行逻辑,避免了潜在的性能问题。
- 通过添加注释,澄清了代码中的一些关键部分,改善了可读性和可维护性。
- 修复了可能的数据一致性问题,确保在执行与库存相关的操作时,数据的准确性和一致性得到保证。
2024-09-12 13:04:56 +08:00
liuy 454f634dac 代码调整和功能优化
-优化U8C自定义项档案主键的管理,实现通过OverallConstant获取平台和店铺主键。- 在查询存货管理档案时,增加发货公司名称作为查询参数,提高查询准确性。
- 扩展queryInventoryMan方法,使其支持额外的查询参数。
- 在测试类SoSaleOutPluginInitializerToBTest中更新测试代码,适配最新的实现变化。
2024-09-12 12:01:59 +08:00
zhengyf 26e7023674 丽知:成套件插件修改 2024-09-11 17:40:57 +08:00
zhengyf 87e1c530fd 丽知:调整出修改 2024-09-11 17:23:50 +08:00
zhengyf 366ccb7812 丽知:update 2024-09-11 17:23:33 +08:00
zhengyf 3000fecb14 丽知:成套件插件修改。 2024-09-11 17:17:10 +08:00
liuy e1fa2074c3 配置更新和优化,以及操作员ID的参数化
更新了系统配置以优化性能并确保安全。操作员ID现通过OverallConstant类配置,并在包括ConsignmachiningIn、ConsignmachiningInReturn、ProxyPurchaseReturn、ProxyPurchaseWarehous和SoSaleOutPluginInitializerToB在内的多个模块中实现了参数化。
2024-09-11 16:55:57 +08:00
zhengyf 512fa7c888 丽知:修改密码 2024-09-11 15:59:49 +08:00
liuy f475b78a0f 文档更新关于字符串、字节和void数据类型的说明
在NumPy文档中,常规介绍部分现已包括关于字符串、字节和void数据类型的信息,以及现有的数值类型。
2024-09-11 15:20:41 +08:00
liuy aa4cf58e69 refactor(buildpackage): 优化OFS订单同步逻辑与收发类别映射
- 重构销售退货插件初始化类,删除无效代码行。
- 引入收发类别实体以支持不同业务类型。- 在U8C销售退货插件中集成店铺档案和收发类别。
- 更新档案缓存工具以包含收发类别初始化。
- 扩展售后订单工具以支持批量查询OFS售后订单。
- 优化OFS订单同步流程,包括匹配售后和销售订单。
- 为 GoodsRertunSonDetailsDto 添加店铺和收发类别属性。

以上改动旨在提升订单处理效率及扩展系统对多样订单类型的适配能力。
2024-09-11 14:54:05 +08:00
liuy 68bd9861f9 Merge branch 'dev' of http://ufidahz.com.cn:9015/root/kangarooDataCenterV3 into lets
 Conflicts:
	buildpackage/src/main/java/com/hzya/frame/plugin/cbs8/service/impl/CbsPluginServiceImpl.java
	buildpackage/src/main/java/com/hzya/frame/plugin/mdmDistribute/plugin/MdmModulePluginInitializer.java
	buildpackage/src/main/resources/application-local.yml
	buildpackage/src/test/java/com/hzya/frame/temButtom.java
	pom.xml
2024-09-11 10:42:58 +08:00
liuy 0dc07ea558 提交业务代码,拉取dev分支 2024-09-10 19:18:34 +08:00
zhengyf 138a9f6c6d 丽知:新增组装单 2024-09-10 17:04:44 +08:00
zhengyf 2e3098e1e3 丽知:update 2024-09-10 16:01:33 +08:00
zhengyf bcffc0fa5f 丽知:新增ofs调整入库(组装)推送u8c组装单。 2024-09-10 16:01:24 +08:00
zhengyf 72db1447fe 丽知:新增查询公布公司方法。 2024-09-10 15:46:33 +08:00
zhengyf 69ebe25d37 丽知:存货基本档案自动分配修改 2024-09-10 15:46:19 +08:00
zhengyf 87b7cca320 丽知:新增ofs实物组套同步u8c成套件 2024-09-10 15:45:46 +08:00
zhengyf 1bbcea9586 丽知:调整出入库排除组装类型 2024-09-10 15:44:47 +08:00
liuy c03dd59dcd Merge remote-tracking branch 'origin/lets' into lets 2024-09-10 15:02:36 +08:00
liuy 3860651162 优化TOC、TOB的日志存储 2024-09-10 15:02:08 +08:00
sx c681c5cba3 更改为中台接口 2024-09-10 10:58:31 +08:00
zhengyf 1f0cf3c232 丽知:调拨修改。 2024-09-09 18:11:45 +08:00
zhengyf 44676ead52 丽知:u8c实体查询工具类修改 2024-09-09 18:11:12 +08:00
zhengyf 01a7b2a473 丽知:修改存货基本档案新增、封存。 2024-09-09 18:10:38 +08:00
liuy 149b43bdd0 进一步优化方法入口的多场景判断 2024-09-09 15:10:07 +08:00
liuy 4083c58dda 优化TOC业务流程代码 2024-09-09 13:38:20 +08:00
liuy 4d2e275cd8 Merge remote-tracking branch 'origin/lets' into lets 2024-09-09 11:15:03 +08:00
zhengyf 4a164bab0c 丽知:修改客商解基本档案新增接口 2024-09-09 10:01:58 +08:00
liuy 9b0d023cb4 Merge remote-tracking branch 'origin/lets' into lets 2024-09-06 16:39:11 +08:00
zhengyf f0d1c19139 丽知:存货自动分配修改 2024-09-06 14:49:12 +08:00
zhengyf e53b5cab55 丽知:修改为请求中台编码 2024-09-06 14:48:29 +08:00
liuy 706500f34f Merge remote-tracking branch 'origin/lets' into lets 2024-09-06 10:12:26 +08:00
zhengyf 6d321d3537 丽知:修改报错信息截断方法 2024-09-06 09:55:33 +08:00
liuy 45bcbbf2e9 优化TOC日志推送功能 2024-09-05 12:06:51 +08:00
zhengyf 962e40ff3b 丽知:新增存货基本档案封存 2024-09-04 17:20:41 +08:00
liuy c4c7beff18 优化日志功能集成 2024-09-04 10:08:46 +08:00
liuy b9498d3984 Merge remote-tracking branch 'origin/lets' into lets 2024-09-03 17:16:01 +08:00
liuy d0a0a10568 提交日志业务流程优化 2024-09-03 17:07:17 +08:00
liuy 9c110e5b8c 优化插件业务流程代码 2024-09-03 16:31:28 +08:00
zhengyf 235d5cb1e9 丽知:存货基本档案默认成套件为true 2024-09-03 16:25:27 +08:00
zhengyf 6ffaffa70d 丽知:调拨订单完善 2024-09-03 15:48:22 +08:00
liuy 7afe431e35 Merge remote-tracking branch 'origin/lets' into lets 2024-09-03 12:53:25 +08:00
sx c3d24fc79e 日志打印更改 2024-09-03 11:17:58 +08:00
liuy 480cefba68 优化插件性能 2024-09-03 10:42:07 +08:00
liuy 3cad1b92db Merge remote-tracking branch 'origin/lets' into lets 2024-08-31 15:31:46 +08:00
liuy b943da698c 优化TOB业务的重新验证逻辑 2024-08-31 15:31:23 +08:00
zhengyf cec55fa94d 丽知:调拨出入库单,调整出入库单查询ofs单据方法优化。 2024-08-30 16:40:44 +08:00
zhengyf dbd3f4940e 丽知:新增sku主档推送 2024-08-30 16:06:56 +08:00
liuy 91e6db987c 优化委外业务流程、调整红字销售发票 2024-08-30 14:55:36 +08:00
liuy e89ce86954 优化TOB销售发票的业务流程 2024-08-29 18:19:04 +08:00
zhengyf 130bacee77 丽知:xixi 2024-08-29 13:18:58 +08:00
zhengyf a15db7ae8a 丽知:其他出入库子表xml修改 2024-08-29 12:17:19 +08:00
zhengyf 644e1cadbb 丽知:其他出入库子表xml修改 2024-08-29 12:14:08 +08:00
liuy 80e2274991 优化TOB、TOC业务流程,确认收入部分功能开发 2024-08-28 18:09:40 +08:00
zhengyf 0586cc4174 丽知:调拨出入库修改。 2024-08-27 15:55:14 +08:00
zhengyf 6627fa7254 Merge remote-tracking branch 'origin/lets' into lets 2024-08-27 15:54:45 +08:00
liuy 8e6cceb2c8 Merge remote-tracking branch 'origin/lets' into lets 2024-08-27 15:40:38 +08:00
liuy e8b79e4074 提交委外流程、采购流程优化、删除与项目无关的代码 2024-08-27 15:40:25 +08:00
zhengyf 0a79dc6c91 丽知:存货分类修改 2024-08-27 13:33:55 +08:00
zhengyf 0d81aa63d7 丽知:调整出入库修改。(出入库类别) 2024-08-27 13:30:07 +08:00
liuy e1f5db92ed 优化采购、委外代码逻辑 2024-08-26 14:45:04 +08:00
liuy 4020327d96 Merge remote-tracking branch 'origin/lets' into lets
# Conflicts:
#	service/src/main/java/com/hzya/frame/ttxofs/basics/ApiDtoCacheMap.java
2024-08-25 16:50:15 +08:00
zhengyf b169b6bcb8 丽知:新增调整单。 2024-08-24 23:16:04 +08:00
zhengyf ca95709867 丽知:存货分类修改 2024-08-24 23:15:52 +08:00
liuy 3fa179edf0 优化采购业务流程 2024-08-23 14:14:33 +08:00
liuy fe98676f44 优化TOB业务流程 2024-08-23 14:14:09 +08:00
sx 685157ee4c 新增自定义档案 2024-08-23 09:15:43 +08:00
sx 33335195dd Merge remote-tracking branch 'origin/lets' into lets 2024-08-23 09:00:15 +08:00
liuy bb2686a38a Merge remote-tracking branch 'origin/lets' into lets 2024-08-22 18:00:05 +08:00
liuy 18f1335aa5 提交采购业务流程 2024-08-22 17:58:46 +08:00
zhengyf cbfe81e75a 丽知:调拨出入库修改。 2024-08-22 17:32:15 +08:00
zhengyf 142aa5fa2d 丽知:调拨出入库修改。 2024-08-22 17:29:02 +08:00
liuy 571aefd6c5 提交TOC、TOB业务优化 2024-08-22 14:03:29 +08:00
liuy 6041289293 Merge remote-tracking branch 'origin/lets' into lets 2024-08-22 10:12:19 +08:00
zhengyf 00c664d20d 丽知:调拨出入库修改。 2024-08-21 18:12:57 +08:00
liuy f95efa8b86 提交采购业务优化流程 2024-08-21 14:32:32 +08:00
sx af2fc7195b 新增自定义档案 2024-08-21 11:19:08 +08:00
liuy 6a08847659 Merge remote-tracking branch 'origin/lets' into lets 2024-08-21 00:09:04 +08:00
liuy e292217bed 提交代理品牌采购业务逻辑 2024-08-21 00:08:52 +08:00
zhengyf d166ca87b4 丽知:ofs的sku查询接口测试 2024-08-20 21:58:46 +08:00
zhengyf f3fd73bf8e 丽知:调拨出入库流程 2024-08-20 21:58:14 +08:00
sx 209bb100b0 Merge remote-tracking branch 'origin/lets' into lets 2024-08-20 14:49:55 +08:00
sx 83102fc1ef 客商编码自定义项1 2024-08-20 14:49:29 +08:00
liuy d7f0d1dddc 提交TOB、TOC优化流程 2024-08-19 23:29:47 +08:00
liuy 629965f2a1 Merge remote-tracking branch 'origin/lets' into lets 2024-08-19 23:13:54 +08:00
liuy 39a5fd31aa Merge remote-tracking branch 'origin/lets' into lets 2024-08-19 19:08:22 +08:00
zhengyf 46add53677 丽知:修改:中台转发http 2024-08-19 18:48:43 +08:00
zhengyf a7a30efd9e 丽知:修改:存货档案自动分配修改 2024-08-19 18:48:22 +08:00
zhengyf 49198c1bef 丽知:新增ofs调拨出库单推送u8c调拨订单(流程自动出库) 2024-08-19 18:43:58 +08:00
sx cfb5eef150 供应商->客商 2024-08-19 17:15:30 +08:00
liuy d827760a5c 提交TOB退货优化 2024-08-19 14:55:15 +08:00
liuy 3a36ac3550 Merge remote-tracking branch 'origin/lets' into lets 2024-08-19 10:40:30 +08:00
sx 6effaf0f2e spring-lets-plugin.xml更新 2024-08-19 10:39:46 +08:00
liuy eaebb9c90c Merge remote-tracking branch 'origin/lets' into lets 2024-08-19 10:35:14 +08:00
sx 7729f13895 test更新 2024-08-19 10:31:05 +08:00
liuy f2f63867ba Merge remote-tracking branch 'origin/lets' into lets 2024-08-19 10:15:48 +08:00
sx d37e3d4b6f Merge remote-tracking branch 'origin/lets' into lets 2024-08-16 17:37:12 +08:00
zhengyf bc3c3508fa 丽知:新增中台转发根据apicode的推送方法 2024-08-16 16:35:42 +08:00
zhengyf 2707259d5b 丽知:调整入库,调整出库修改 2024-08-16 16:34:47 +08:00
liuy a984bb1ce2 提交代码 2024-08-16 16:27:22 +08:00
liuy a58eeba470 Merge remote-tracking branch 'origin/lets' into lets
# Conflicts:
#	buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/adjust/AdjustInPluginInitializer.java
2024-08-16 15:02:44 +08:00
liuy 1f296c2ed5 优化代码流程 2024-08-16 14:59:54 +08:00
zhengyf ca6e3dc0a0 丽知:sku查询,sku分类查询修改 2024-08-16 11:57:11 +08:00
zhengyf 9b88f5dbd1 丽知:sku类名修改 2024-08-16 11:56:43 +08:00
zhengyf 800e8779cd 丽知:ofs出库单请求\响应类修改 2024-08-16 11:56:19 +08:00
zhengyf b490c2e239 丽知:调整出库完善. 2024-08-16 11:55:24 +08:00
sx 6ee242d2a6 更新客商同步 2024-08-16 10:26:34 +08:00
sx 821c26bc3a 更新客商同步 2024-08-16 09:44:16 +08:00
sx db2b5b2b15 Merge remote-tracking branch 'origin/lets' into lets 2024-08-16 09:19:43 +08:00
sx 5200655f93 更改日志 2024-08-16 09:19:24 +08:00
zhengyf 059e95de67 丽知:调拨出入库,调整出入库接口修改。 2024-08-15 18:09:45 +08:00
liuy aeeee1335b 优化TOC、TOB代码逻辑 2024-08-15 16:52:25 +08:00
liuy bfb2049fe8 Merge remote-tracking branch 'origin/lets' into lets 2024-08-15 16:04:00 +08:00
liuy f2c08a520e 提交core 2024-08-15 16:03:22 +08:00
zhengyf d69e1709eb 丽知:OFS新接口调整 2024-08-15 15:33:58 +08:00
sx 4d6f96bb62 xml更改 2024-08-14 12:08:09 +08:00
sx 31a90feed7 新增客商基本,管理Dto 2024-08-14 11:43:23 +08:00
sx 8b647a51f1 Merge remote-tracking branch 'origin/lets' into lets
# Conflicts:
#	buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleOutPluginInitializerToB.java
#	buildpackage/src/main/resources/cfgHome/plugin/lets/spring/spring-sowow-plugin.xml
2024-08-14 11:38:44 +08:00
sx 171d8bbede 新增客商基本,管理dto 2024-08-14 11:36:30 +08:00
sx acddea8a58 新增客商基本,管理dto 2024-08-14 11:34:47 +08:00
zhengyf 181ca8d7d8 丽知:OFS调整入库单推送U8C其他入库单调整。 2024-08-14 11:17:52 +08:00
sx 761ad617a4 新增客商基本,管理dto 2024-08-14 11:11:43 +08:00
liuy a80fea45ed 提交TOB业务优化流程 2024-08-13 18:21:50 +08:00
zhengyf d5af8daf77 丽知:OFS调整入库单推送U8C其他入库单调整。 2024-08-13 17:53:25 +08:00
zhengyf 09ec6759dc 丽知:新增OFS调整入库单推送U8C其他入库单。 2024-08-13 16:43:20 +08:00
sx eac2ca9b44 店铺,供应商 2024-08-13 13:58:08 +08:00
sx 0f86bbf9da 店铺,供应商同步到u8c客商 2024-08-13 10:10:52 +08:00
sx 17af2e3a73 店铺,供应商同步到u8c客商 2024-08-13 10:03:50 +08:00
sx b997373f1f 店铺,供应商同步到u8c客商 2024-08-13 09:55:08 +08:00
sx 834ab523b3 店铺,供应商同步到u8c客商 2024-08-13 09:38:32 +08:00
zhengyf a8a6843f98 丽知:调拨订单新增。 2024-08-12 18:51:54 +08:00
liuy 31c1ab8a77 Merge remote-tracking branch 'origin/lets' into lets
# Conflicts:
#	service/src/main/java/com/hzya/frame/ttxofs/basics/ApiDtoCacheMap.java
2024-08-09 22:41:23 +08:00
liuy 6374eb91a8 调整TOC报错逻辑 2024-08-09 22:38:29 +08:00
zhengyf 8e78c268d0 丽知:新增调拨订单,调拨入库单。 2024-08-09 18:48:11 +08:00
liuy 27b03a6628 "代码更新:确保在flush=false时,重新加载时不会刷新新实体。此修复遵循指定的`flush`参数,以前新实体实例无论`flush`设置如何都会被刷新。现在,EntityClass中的重新加载机制将根据`flush`参数决定是否刷新新实体。 2024-08-09 10:01:03 +08:00
liuy 210eebc4e5 提交TOC流程修改 2024-08-09 09:45:25 +08:00
zhengyf 14fa78f169 丽知:新增存货基本档案自动分配全公司插件 2024-08-08 18:21:42 +08:00
liuy dd75e2cecc 提交本地代码 2024-08-08 16:00:16 +08:00
liuy 913889998e 提交TOC代码到本地 2024-08-08 09:52:22 +08:00
liuy 30d5c9a4af Merge remote-tracking branch 'origin/lets' into lets 2024-08-08 09:50:28 +08:00
zhengyf 72d28c2201 丽知:存货分类接口 2024-08-07 17:51:24 +08:00
zhengyf fe0587f4c2 丽知:新增存货基本档案接口 2024-08-07 14:38:30 +08:00
zhengyf f9f333169f 丽知:货品分类,货品档案 2024-08-07 14:36:07 +08:00
zhengyf 06d9000c40 丽知:新增推送u8c工具类(pk/code)。 2024-08-07 14:35:36 +08:00
liuy 8a407b0802 Merge remote-tracking branch 'origin/lets' into lets 2024-08-05 11:37:30 +08:00
zhengyf 83e3f2ba30 丽知:转utf-8 2024-08-05 11:36:59 +08:00
liuy e6ab78d198 Merge remote-tracking branch 'origin/lets' into lets 2024-08-05 10:18:18 +08:00
zhengyf 77b1b87970 丽知:新增存货档案分类 2024-08-02 20:24:52 +08:00
liuy 5c177ef645 提交修改 2024-08-02 18:17:31 +08:00
liuy 2e183532d6 提交util代码 2024-08-02 18:16:54 +08:00
liuy 4464c67e83 提交保存mysql低表代码 2024-08-02 18:16:30 +08:00
liuy 0be04bb37f 提交core 2024-08-01 17:24:23 +08:00
liuy e51790064e 提交common 2024-08-01 17:22:26 +08:00
liuy 1df32d2ff3 提交到本地仓库 2024-08-01 17:21:55 +08:00
liuy 704c985bca 测试提交lets分支 2024-07-29 11:11:47 +08:00
734 changed files with 166624 additions and 4839 deletions

5
.gitignore vendored
View File

@ -49,10 +49,13 @@ $RECYCLE.BIN/
*.msix
*.msm
*.msp
*.iml
# Windows shortcuts
*.lnk
./idea/
/.idea/
/log/
/file/
/buildpackage/src/main/resources/banner.txt
/webapp/target/
/service/target/

View File

@ -99,6 +99,18 @@
<profile.active>yc</profile.active>
</properties>
</profile>
<profile>
<id>lets</id> <!--丽知-->
<properties>
<profile.active>lets</profile.active>
</properties>
</profile>
<profile>
<id>letsprod</id> <!--丽知prod-->
<properties>
<profile.active>letsprod</profile.active>
</properties>
</profile>
</profiles>
<build>
<finalName>kangarooDataCenterV3</finalName>

View File

@ -6,7 +6,7 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
/***
* @Content:War启动类 继承SpringBootServletInitializer 初始化servlet 环境
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2022-11-29 14:27
* @Date 2022-11-29 14:27
* @Param
* @return
**/

View File

@ -1,15 +0,0 @@
package com.hzya.frame.plugin.a8bill.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.a8bill.entity.PayBillEntity;
/**
* 组织档案(mdm_org: table)表数据库访问层
*
* @author makejava
* @since 2024-06-07 18:30:04
*/
public interface IPayBillDao extends IBaseDao<PayBillEntity, String> {
}

View File

@ -1,16 +0,0 @@
package com.hzya.frame.plugin.a8bill.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.a8bill.dao.IPayBillDao;
import com.hzya.frame.plugin.a8bill.entity.PayBillEntity;
/**
* 组织档案(MdmOrg)表数据库访问层
*
* @author makejava
* @since 2024-06-07 18:30:04
*/
public class PayBillDaoImpl extends MybatisGenericDao<PayBillEntity, String> implements IPayBillDao {
}

View File

@ -1,14 +0,0 @@
package com.hzya.frame.plugin.a8bill.entity;
import com.hzya.frame.web.entity.BaseEntity;
/**
* 付款单
*
* @author makejava
* @since 2024-06-07 18:30:04
*/
public class PayBillEntity extends BaseEntity {
}

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hzya.frame.plugin.a8bill.dao.impl.PayBillDaoImpl">
<resultMap id="get-PayBillEntity-result" type="com.hzya.frame.plugin.a8bill.entity.PayBillEntity" >
<result property="id" column="id" jdbcType="VARCHAR"/>
</resultMap>
<!-- 查询的字段-->
<sql id = "PayBillEntity_Base_Column_List">
id
</sql>
</mapper>

View File

@ -1,63 +0,0 @@
package com.hzya.frame.plugin.a8bill.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.seeyon.paybill.service.IPayBillService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* 付款单(PayBill)表服务接口
*
* @author makejava
* @since 2024-06-07 18:30:05
*/
public class PayBillPluginInitializer extends PluginBaseEntity{
Logger logger = LoggerFactory.getLogger(PayBillPluginInitializer.class);
@Autowired
private IPayBillService payBillService;
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
@Override
public String getPluginId() {
return "PayBillPlugin";
}
@Override
public String getPluginName() {
return "PayBillPlugin插件";
}
@Override
public String getPluginLabel() {
return "PayBillPlugin";
}
@Override
public String getPluginType() {
return "1";
}
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) {
try {
logger.info("======开始执行付款单据信息同步========");
return payBillService.sendEngineerPayBillToBip(requestJson);
}catch (Exception e){
logger.info("======执行付款单据同步失败:{}========",e.getMessage());
e.printStackTrace();
}
return null;
}
}

View File

@ -1,63 +0,0 @@
package com.hzya.frame.plugin.a8bill.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.seeyon.paybill.service.IPayBillService;
import com.hzya.frame.seeyon.recbill.service.IRecBillService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* 收款单(RecBill)表服务接口
*
* @author makejava
* @since 2024-06-07 18:30:05
*/
public class RecBillPluginInitializer extends PluginBaseEntity{
Logger logger = LoggerFactory.getLogger(RecBillPluginInitializer.class);
@Autowired
private IRecBillService recBillService;
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
@Override
public String getPluginId() {
return "RecBillPluginInitializer";
}
@Override
public String getPluginName() {
return "RecBillPluginInitializer插件";
}
@Override
public String getPluginLabel() {
return "RecBillPluginInitializer";
}
@Override
public String getPluginType() {
return "1";
}
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) {
try {
logger.info("======开始执行收款单据信息同步========");
return recBillService.sendRecBillToBip(requestJson);
}catch (Exception e){
logger.info("======执行收款单据同步失败:{}========",e.getMessage());
e.printStackTrace();
}
return null;
}
}

View File

@ -1,13 +0,0 @@
package com.hzya.frame.plugin.a8bill.service;
import com.hzya.frame.basedao.service.IBaseService;
import com.hzya.frame.plugin.a8bill.entity.PayBillEntity;
/**
* 付款单
*
* @author makejava
* @since 2024-06-07 18:30:05
*/
public interface IPayBillService extends IBaseService<PayBillEntity, String>{
}

View File

@ -1,22 +0,0 @@
package com.hzya.frame.plugin.a8bill.service.impl;
import com.hzya.frame.basedao.service.impl.BaseService;
import com.hzya.frame.plugin.a8bill.entity.PayBillEntity;
import com.hzya.frame.plugin.a8bill.service.IPayBillService;
/**
* private IMdmOrgDao mdmOrgDao;
*
* @Autowired
* public void setMdmOrgDao(IMdmOrgDao dao) {
* this.mdmOrgDao = dao;
* this.dao = dao;
* }
*
* @author makejava
* @since 2024-06-07 18:30:05
*/
public class PayBillServiceImpl extends BaseService<PayBillEntity, String> implements IPayBillService {
}

View File

@ -1,114 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.cbs8.dto.req.AgentPayResultRequestDTO;
import com.hzya.frame.cbs8.dto.res.AgentPayQueryDTO;
import com.hzya.frame.cbs8.dto.res.AgentPayResultResDTO;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.checkerframework.checker.units.qual.A;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* @Description
* @Author xiangerlin
* @Date 2024/6/18 17:22
**/
public class AgentPayResultPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(AgentPayResultPluginInitializer.class);
@Autowired
private ICbsPluginService cbsPluginService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8AgentPayResultPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8代发代扣详情查询插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8代发代扣详情查询插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
//1查询代发代扣交易未完成代
//2调用cbs接口
AgentPayResultRequestDTO agentPayResultRequestDTO = new AgentPayResultRequestDTO();
agentPayResultRequestDTO.setBusNum("PA00034224062600011");
AgentPayResultResDTO agentPayResultResDTO = cbsPluginService.agentPayResult(agentPayResultRequestDTO);
//记录日志
return null;
}
}

View File

@ -1,101 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Description 电子回单定时任务
* @Author xiangerlin
* @Date 2024/6/17 14:03
**/
public class ElecBillPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(getClass());
@Autowired
private ICbsPluginService cbsPluginService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8ElecBillPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8电子回单插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8电子回单插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
cbsPluginService.elecBillUpload(requestJson);
return null;
}
}

View File

@ -1,116 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.cbs8.dto.res.PayResponseDTO;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.seeyon.cbs8.entity.AgentPaymentDetailEntity;
import com.hzya.frame.seeyon.cbs8.entity.AgentPaymentEntity;
import com.hzya.frame.seeyon.cbs8.service.IAgentPaymentService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* @Description
* @Author xiangerlin
* @Date 2024/6/18 14:03
**/
public class PayApplyAgentPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(PayApplyAgentPluginInitializer.class);
@Autowired
private ICbsPluginService cbsPluginService;
@Autowired
private IAgentPaymentService agentPaymentService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8PayApplyAgentPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8代发代扣插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8代发代扣插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
//1查询代支付的
AgentPaymentEntity agentPaymentEntity = new AgentPaymentEntity();
agentPaymentEntity.setOaId("4442823497745714629");
cbsPluginService.applyAgentPay(agentPaymentEntity);
return null;
}
}

View File

@ -1,112 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.seeyon.cbs8.entity.PaymentEntity;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Description 经办支付申请
* @Author xiangerlin
* @Date 2024/6/7 13:42
**/
public class PayApplyPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(PayApplyPluginInitializer.class);
@Autowired
private ICbsPluginService cbsPluginService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8PayApplyPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8支付申请插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8支付申请插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
PaymentEntity paymentEntity = null;
if (null != requestJson){
requestJson.remove("jsonStr");
paymentEntity = JSONObject.parseObject(requestJson.toString(),PaymentEntity.class);
}
if (null == paymentEntity)
paymentEntity = new PaymentEntity();
//支付申请
paymentEntity.setOaId("8475071606892874568");
cbsPluginService.applyPay(paymentEntity);
return null;
}
}

View File

@ -1,110 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.seeyon.cbs8.entity.CbsLogEntity;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @Description 查询支付结果
* @Author xiangerlin
* @Date 2024/6/14 16:24
**/
public class PayResultPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(PayResultPluginInitializer.class);
@Autowired
private ICbsPluginService cbsPluginService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8PayResultPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8支付结果查询插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8支付结果查询插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
CbsLogEntity cbsLogEntity = null;
if (null != requestJson){
requestJson.remove("jsonStr");
cbsLogEntity = JSONObject.parseObject(requestJson.toString(),CbsLogEntity.class);
}
if (null == cbsLogEntity){
cbsLogEntity = new CbsLogEntity();
}
cbsPluginService.queryResult(cbsLogEntity);
return null;
}
}

View File

@ -1,126 +0,0 @@
package com.hzya.frame.plugin.cbs8.plugin;
import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.base.PluginBaseEntity;
import com.hzya.frame.cbs8.dto.req.TransactionDetailReqDTO;
import com.hzya.frame.cbs8.dto.res.TransactionDetailDTO;
import com.hzya.frame.cbs8.util.CBSUtil;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.web.entity.JsonResultEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* @Description 交易明细查询
* @Author xiangerlin
* @Date 2024/6/17 16:03
**/
public class TransactionDetailPluginInitializer extends PluginBaseEntity {
Logger logger = LoggerFactory.getLogger(getClass());
@Autowired
private ICbsPluginService cbsPluginService;
/***
* 插件初始化方法
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 10:48
* @Param []
* @return void
**/
@Override
public void initialize() {
logger.info(getPluginLabel() + "執行初始化方法initialize()");
}
/****
* 插件销毁方法
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public void destroy() {
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
}
/****
* 插件的ID
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginId() {
return "CBS8TransactionDetailQueryPlugin";
}
/****
* 插件的名称
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginName() {
return "cbs8交易明细查询插件";
}
/****
* 插件的显示值
* @author 👻👻👻👻👻👻👻👻 gjh
* @date 2023-08-02 10:48
* @return void
**/
@Override
public String getPluginLabel() {
return "cbs8交易明细查询插件";
}
/***
* 插件类型 1场景插件
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-02 14:01
* @Param []
* @return java.lang.String
**/
@Override
public String getPluginType() {
return "1";
}
/***
* 执行业务代码
* @Author 👻👻👻👻👻👻👻👻 gjh
* @Date 2023-08-07 11:20
* @param requestJson 执行业务代码的参数
* @return void
**/
@Override
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
TransactionDetailReqDTO transactionDetailReqDTO = null;
if (null != requestJson){
requestJson.remove("jsonStr");
transactionDetailReqDTO = JSONObject.parseObject(requestJson.toString(),TransactionDetailReqDTO.class);
}
if (null == transactionDetailReqDTO){
transactionDetailReqDTO = new TransactionDetailReqDTO();
}
transactionDetailReqDTO.setCurrentPage(CBSUtil.DEFAULT_CURRENT_PAGE);
transactionDetailReqDTO.setPageSize(CBSUtil.DEFAULT_PAGE_SIZE);
transactionDetailReqDTO.setStartDate(DateUtil.today());
transactionDetailReqDTO.setEndDate(DateUtil.today());
transactionDetailReqDTO.setDateType("0");
transactionDetailReqDTO.setLoanType("2");
//1查询交易明细
List<TransactionDetailDTO> transactionDetailList = cbsPluginService.queryTransactionDetail(transactionDetailReqDTO);
//保存交易明细到OA底表
cbsPluginService.saveTransactionDetail(transactionDetailList);
return new JsonResultEntity("成功",true,transactionDetailList);
//return null;
}
}

View File

@ -1,76 +0,0 @@
package com.hzya.frame.plugin.cbs8.service;
import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.cbs8.dto.req.AgentPayResultRequestDTO;
import com.hzya.frame.cbs8.dto.req.TransactionDetailReqDTO;
import com.hzya.frame.cbs8.dto.res.AgentPayResultResDTO;
import com.hzya.frame.cbs8.dto.res.PayResponseDTO;
import com.hzya.frame.cbs8.dto.res.TransactionDetailDTO;
import com.hzya.frame.seeyon.cbs8.entity.AgentPaymentDetailEntity;
import com.hzya.frame.seeyon.cbs8.entity.AgentPaymentEntity;
import com.hzya.frame.seeyon.cbs8.entity.CbsLogEntity;
import com.hzya.frame.seeyon.cbs8.entity.PaymentEntity;
import java.util.List;
/**
* @Description
* @Author xiangerlin
* @Date 2024/6/17 08:46
**/
public interface ICbsPluginService {
/**
* 支付申请
* @param entity
*/
void applyPay(PaymentEntity entity)throws Exception;
/**
* 保存支付申请日志
* @param entity
* @throws Exception
*/
void savePayLog(PaymentEntity entity,PayResponseDTO payResponseDTO)throws Exception;
/**
* 查询支付申请的交易结果
* @param cbsLogEntity
* @throws Exception
*/
void queryResult(CbsLogEntity cbsLogEntity)throws Exception;
/**
* 电子回单查询 并上传OA
* @param requestJson
* @throws Exception
*/
void elecBillUpload(JSONObject requestJson)throws Exception;
/**
* 查询交易明细
* transactionDetailReqDTO.currentPage transactionDetailReqDTO.pageSize 必填
* @param transactionDetailReqDTO
*/
List<TransactionDetailDTO> queryTransactionDetail(TransactionDetailReqDTO transactionDetailReqDTO);
/**
* 代发代扣 支付申请
* @param paymentEntity
*/
void applyAgentPay(AgentPaymentEntity paymentEntity);
/**
* 代发代扣 结果详情查询
* @param agentPayResultRequestDTO
* @return
*/
AgentPayResultResDTO agentPayResult(AgentPayResultRequestDTO agentPayResultRequestDTO);
/**
* 保存交易明细到OA底表
* @param transactionDetailList
*/
void saveTransactionDetail(List<TransactionDetailDTO> transactionDetailList);
}

View File

@ -1,513 +0,0 @@
package com.hzya.frame.plugin.cbs8.service.impl;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.io.FileUtil;
import cn.hutool.core.map.MapBuilder;
import cn.hutool.core.util.NumberUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.http.HttpRequest;
import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.hzya.frame.cbs8.dto.req.*;
import com.hzya.frame.cbs8.dto.res.*;
import com.hzya.frame.cbs8.service.ICbs8Service;
import com.hzya.frame.cbs8.util.CBSUtil;
import com.hzya.frame.cbs8.util.CurrencyEnum;
import com.hzya.frame.cbs8.util.PayState;
import com.hzya.frame.plugin.cbs8.service.ICbsPluginService;
import com.hzya.frame.seeyon.cap4.form.dto.*;
import com.hzya.frame.seeyon.cbs8.entity.*;
import com.hzya.frame.seeyon.cbs8.service.*;
import com.hzya.frame.seeyon.entity.CtpAttachmentEntity;
import com.hzya.frame.seeyon.entity.CtpFileEntity;
import com.hzya.frame.seeyon.service.ICtpAttachmentService;
import com.hzya.frame.seeyon.util.RestUtil;
import com.hzya.frame.uuid.UUIDLong;
import com.hzya.frame.web.exception.BaseSystemException;
import org.apache.commons.collections.CollectionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
/**
* @Description
* @Author xiangerlin
* @Date 2024/6/17 08:46
**/
public class CbsPluginServiceImpl implements ICbsPluginService {
Logger logger = LoggerFactory.getLogger(CbsPluginServiceImpl.class);
@Autowired
private ICbs8Service cbs8Service;
@Autowired
private IPaymentService paymentService;
@Autowired
private ICbsLogService cbsLogService;
@Autowired
private ICtpAttachmentService ctpAttachmentService;
@Autowired
private ITransactionDetailService transactionDetailService;
@Autowired
private IAgentPaymentService agentPaymentService;
@Autowired
private IAgentPaymentDetailService agentPaymentDetailService;
@Autowired
private RestUtil restUtil;
@Value("${cbs8.elec_path:}")
private String elec_path;
@Value("${OA.data_source_code:}")
private String oa_data_source_code;
/**
* 支付申请
*
* @param paymentEntity
*/
@Override
public void applyPay(PaymentEntity paymentEntity) throws Exception{
//查询待支付的列表
if (null == paymentEntity){
paymentEntity = new PaymentEntity();
}
paymentEntity.setDataSourceCode(oa_data_source_code);
List<PaymentEntity> paymentList = paymentService.queryUnpaid(paymentEntity);
/* List<PaymentEntity> paymentList = new ArrayList<>();
paymentEntity.setReferenceNum("CL202406140001");
paymentEntity.setPayAccount("655905707410000");
paymentEntity.setPayBankName("");
paymentEntity.setAmount("99");
paymentEntity.setRevAccount("123456778");
paymentEntity.setRevBankName("中国工商银行总行清算中心");
paymentEntity.setRevBankType("ICB");
paymentEntity.setRevAccountName("测试账户");
paymentEntity.setCnapsCode("102100099996");
paymentEntity.setPurpose("测试用途");
paymentEntity.setBusType("202");
paymentEntity.setCurrency("10");
paymentEntity.setPurpose("测试用途");
paymentList.add(paymentEntity);*/
if (CollectionUtils.isNotEmpty(paymentList)){
for (PaymentEntity pay : paymentList) {
//调用支付申请接口
PayResponseDTO payResponseDTO = cbs8Service.payApply(pay);
boolean successed = payResponseDTO.getSuccessed();
if (successed){
pay.setPayResult(PayState.p.getValue());
}else {
pay.setPayResult("推送失败");
}
//4更新OA表单
pay.setDataSourceCode(oa_data_source_code);
pay.setApplyCode(payResponseDTO.getBusNum());
paymentService.updatePayState(pay);
//5记录操作日志
savePayLog(pay,payResponseDTO);
}
}
}
/**
* 保存支付申请日志
*
* @param entity
* @throws Exception
*/
@Override
public void savePayLog(PaymentEntity entity,PayResponseDTO payResponseDTO) throws Exception {
//4. 保存日志
CbsLogEntity cbsLogEntity = new CbsLogEntity();
cbsLogEntity.setTitle(entity.getTitle());
cbsLogEntity.setPay_company(entity.getPayCompany());
cbsLogEntity.setPayee(entity.getRevAccountName());
cbsLogEntity.setAmount(entity.getAmount());
cbsLogEntity.setOa_id(entity.getOaId());
cbsLogEntity.setBill_code(Convert.toStr(entity.getReferenceNumNew(),entity.getReferenceNum()));
cbsLogEntity.setTab_name_ch(entity.getBillName());
cbsLogEntity.setTab_name_en(entity.getTableName());
Boolean successed = payResponseDTO.getSuccessed();
if (successed){
cbsLogEntity.setPay_state(PayState.p.getValue());
cbsLogEntity.setApply_state(PayState.two.getValue());
cbsLogEntity.setCbs_apply_code(payResponseDTO.getBusNum());
cbsLogEntity.setSuccessed("true");
entity.setPayResult(PayState.p.getValue());
}else {
cbsLogEntity.setPay_state("推送失败");
cbsLogEntity.setMessage(payResponseDTO.getErrorMsg());
cbsLogEntity.setSuccessed("false");
entity.setPayResult("推送失败");
}
cbsLogService.saveLog(cbsLogEntity);
}
/**
* 查询支付申请的交易结果
*
* @param cbsLogEntity
* @throws Exception
*/
@Override
public void queryResult(CbsLogEntity cbsLogEntity) throws Exception {
if (null == cbsLogEntity){
cbsLogEntity = new CbsLogEntity();
}
cbsLogEntity.setDataSourceCode(oa_data_source_code);
// 1查询支付中的日志
List<CbsLogEntity> inPayList = cbsLogService.queryInPayment(cbsLogEntity);
if (CollectionUtils.isNotEmpty(inPayList)){
for (CbsLogEntity entity : inPayList) {
try {
List<PayResultResDTO> payResultResList = cbs8Service.queryPayResult(new PayResultRequestDTO(entity.getBill_code()));
if (CollectionUtils.isNotEmpty(payResultResList)){
PayResultResDTO payResultResDTO = payResultResList.get(0);
//支付申请状态
String status = payResultResDTO.getStatus();
//支付状态
String pay_status = payResultResDTO.getPayStatus();
//不等于支付中的时候 更新支付状态
if (!PayState.p.getType().equals(pay_status)){
//如果支付状态为空保存支付申请状态如果支付状态不为空则保存支付状态
PaymentEntity paymentEntity = new PaymentEntity();
paymentEntity.setOaId(entity.getOa_id());
paymentEntity.setApplyCode(entity.getCbs_apply_code());
paymentEntity.setDataSourceCode(oa_data_source_code);
List<PaymentEntity> paymentList = paymentService.query(paymentEntity);
if (CollectionUtils.isNotEmpty(paymentList)){
paymentEntity = paymentList.get(0);
if (StrUtil.isEmpty(pay_status)) {
//支付申请状态 支付状态和支付申请状态用一个
paymentEntity.setPayResult(PayState.payStateGetValue(status));
} else {
//支付状态 支付状态和支付申请状态用一个
paymentEntity.setPayResult(PayState.payStateGetValue(pay_status));
}
if (StrUtil.isNotEmpty(pay_status) && pay_status.equals(PayState.g.getType())) {
//支付时间
paymentEntity.setPayDate(CBSUtil.convertTimestampToString(payResultResDTO.getPayDate()));
}
//更新视图单据状态
paymentEntity.setDataSourceCode(oa_data_source_code);
paymentService.updatePayState(paymentEntity);
//更新日志表状态
entity.setPay_state(paymentEntity.getPayResult());
entity.setApply_state(PayState.payStateGetValue(status));
entity.setDataSourceCode(oa_data_source_code);
cbsLogService.updateLog(entity);
}
}
}
}catch (Exception e){
e.printStackTrace();
logger.error("查询交易结果出错",e);
}
}
}
}
/**
* 电子回单查询 并上传OA
*
* @param requestJson
* @throws Exception
*/
@Override
public void elecBillUpload(JSONObject requestJson) throws Exception {
//查询支付成功 没有电子回单的数据
PaymentEntity paymentEntity = new PaymentEntity();
// List<PaymentEntity> paymentList = paymentService.queryElecIsNull(paymentEntity);
paymentEntity.setPayDate("2024-06-20");
paymentEntity.setReferenceNum("41");
List<PaymentEntity> paymentList = Arrays.asList(paymentEntity);
if (CollectionUtils.isNotEmpty(paymentList)) {
for (PaymentEntity pay : paymentList) {
try {
String payDate = DateUtil.format(DateUtil.parse(pay.getPayDate()), "yyyy-MM-dd");
//查询cbs电子回单
List<ElecResponseDTO> elecResList = cbs8Service.queryElecBill(new ElecRequestDTO(payDate,DateUtil.today(),pay.getReferenceNum()));
if (CollectionUtils.isNotEmpty(elecResList)){
ElecResponseDTO elecResponseDTO = elecResList.get(0);
String bucketFileUrl = elecResponseDTO.getBucketFileUrl();
String bucketFileName = elecResponseDTO.getBucketFileName();
//上传电子回单到OA
HttpUtil.downloadFile(bucketFileUrl, FileUtil.file(elec_path));//附件下载
String pdfUrl = elec_path + bucketFileName;
File file = new File(pdfUrl);
if (file.exists()) {
CtpFileEntity cpFileEntity = new CtpFileEntity();
cpFileEntity.setFile(file);
cpFileEntity.setDataSourceCode(oa_data_source_code);
JSONObject jsonObjectUpload = restUtil.fileUpload(file,"8000240005");
String file_url = jsonObjectUpload.getString("fileUrl");
if (null != jsonObjectUpload && StrUtil.isNotEmpty(file_url)) {
String sub_reference = String.valueOf(UUIDLong.longUUID());
pay.setReceipt(sub_reference);
//更新表单的电子回单值
paymentService.updateElec(pay);
//保存附件关系
CtpAttachmentEntity ctpAttachmentEntity = new CtpAttachmentEntity();
ctpAttachmentEntity.setFile_url(file_url);
ctpAttachmentService.saveAttachment(file_url, pay.getSummaryId(), sub_reference);
}
//删除本地临时文件
file.delete();
}
}
}catch (Exception e){
logger.error("电子回单查询出错",e);
}
}
}
}
/**
* 查询交易明细
* transactionDetailReqDTO.currentPage transactionDetailReqDTO.pageSize 必填
* @param transactionDetailReqDTO
*/
@Override
public List<TransactionDetailDTO> queryTransactionDetail(TransactionDetailReqDTO transactionDetailReqDTO) {
boolean hasNextPage = true;//是否有下一页
int currentPage = transactionDetailReqDTO.getCurrentPage();
int pageSize = transactionDetailReqDTO.getPageSize();
if (currentPage == 0){
currentPage = CBSUtil.DEFAULT_CURRENT_PAGE;//页码
}
if (pageSize == 0){
pageSize = CBSUtil.DEFAULT_PAGE_SIZE;//每页条数
transactionDetailReqDTO.setPageSize(pageSize);
}
List<TransactionDetailDTO> resultList = new ArrayList<>();
do{
transactionDetailReqDTO.setCurrentPage(currentPage);//页码
currentPage++;//页码自增
hasNextPage = false;//保护功能防止出现死循环
CbsResDataDTO dataDTO = cbs8Service.queryTransactionDetail(transactionDetailReqDTO);
if (null != dataDTO){
hasNextPage = dataDTO.getHasNextPage();
List<TransactionDetailDTO> transactionDetailDTOList = CBSUtil.convertJsonArrayToList(dataDTO.getList(), TransactionDetailDTO.class);
resultList.addAll(transactionDetailDTOList);
}
}while (hasNextPage);
return resultList;
}
/**
* 代发代扣 支付申请
*
* @param paymentEntity
*/
@Override
public void applyAgentPay(AgentPaymentEntity paymentEntity) {
try {
if (null != paymentEntity ){
paymentEntity.setDataSourceCode(oa_data_source_code);
List<AgentPaymentEntity> agentPaymentList = agentPaymentService.queryUnpaid(paymentEntity);
if (CollectionUtils.isNotEmpty(agentPaymentList)){
for (AgentPaymentEntity agentPay : agentPaymentList) {
AgentPaymentDetailEntity detailEntity = new AgentPaymentDetailEntity();
detailEntity.setFormmainId(agentPay.getOaId());
detailEntity.setDataSourceCode(oa_data_source_code);
List<AgentPaymentDetailEntity> agentPaymentDetailList = agentPaymentService.queryDetails(detailEntity);
if (CollectionUtils.isNotEmpty(agentPaymentDetailList)){
PaymentApplySubmitReqDTO paymentApplySubmitReqDTO = BeanUtil.copyProperties(agentPay,PaymentApplySubmitReqDTO.class);
List<PaymentApplyAgentDTO> paymentApplyAgentList = new ArrayList<>();
for (AgentPaymentDetailEntity detail : agentPaymentDetailList) {
PaymentApplyAgentDTO detailDTO = BeanUtil.copyProperties(detail,PaymentApplyAgentDTO.class);
paymentApplyAgentList.add(detailDTO);
}
//招行这里要传203
paymentApplySubmitReqDTO.setBankExtend5("203");
PayResponseDTO payResponseDTO = cbs8Service.agentPayApply(paymentApplySubmitReqDTO,paymentApplyAgentList);
if (null != payResponseDTO){
Boolean successed = payResponseDTO.getSuccessed();
AgentPaymentEntity pay = new AgentPaymentEntity();
pay.setOaId(paymentEntity.getOaId());
pay.setDataSourceCode(oa_data_source_code);
if (successed){
//更新申请单号到OA
pay.setApplyCode(payResponseDTO.getBusNum());
pay.setPayResult("审批中");
}else {
pay.setPayResult(payResponseDTO.getErrorMsg());
}
agentPaymentService.updateResult(pay);
System.out.println(JSONObject.toJSONString(payResponseDTO));
}
}
}
}
}else {
throw new BaseSystemException("参数不能为空");
}
}catch (Exception e){
logger.error("代发代扣出错:{}",e);
}
}
/**
* 代发代扣 结果详情查询
*
* @param agentPayResultRequestDTO
* @return
*/
@Override
public AgentPayResultResDTO agentPayResult(AgentPayResultRequestDTO agentPayResultRequestDTO) {
try {
if (null != agentPayResultRequestDTO && StrUtil.isNotEmpty(agentPayResultRequestDTO.getBusNum())){
AgentPayResultResDTO agentPayResultResDTO = cbs8Service.agentPayResult(agentPayResultRequestDTO);
//更新OA表单
String busNum = agentPayResultResDTO.getBusNum();
if (StringUtils.isNotEmpty(busNum)){
AgentPaymentEntity agentPaymentEntity = new AgentPaymentEntity();
agentPaymentEntity.setApplyCode(busNum);
agentPaymentEntity.setDataSourceCode(oa_data_source_code);
AgentPaymentEntity entity = agentPaymentService.queryByApplyCode(agentPaymentEntity);
String pay_status = agentPayResultResDTO.getPayStatus();
String status = agentPayResultResDTO.getStatus();
if (null != entity){
AgentPaymentEntity result = new AgentPaymentEntity();
result.setOaId(entity.getOaId());
result.setDataSourceCode(oa_data_source_code);
//更新主表
if (StrUtil.isEmpty(pay_status)) {
result.setPayResult(PayState.payStateGetValue(status));//支付申请状态 支付状态和支付申请状态用一个
} else {
result.setPayResult(PayState.payStateGetValue(pay_status));//支付状态 支付状态和支付申请状态用一个
}
agentPaymentService.updateResult(result);
//更新明细表
List<AgentPayQueryDTO> agentDetails = agentPayResultResDTO.getAgentDetails();
for (AgentPayQueryDTO d : agentDetails) {
AgentPaymentDetailEntity detail = new AgentPaymentDetailEntity();
detail.setFormmainId(entity.getOaId());
detail.setDtlAmount(d.getDtlAmount());
detail.setDtlCnapsCode(d.getDtlCnapsCode());
detail.setDtlRevName(d.getDtlRevName());
detail.setDtlSeqNum(Integer.valueOf(d.getDtlSeqNum()));
detail.setPayResult(PayState.payStateGetValue(d.getDtlStatus()));
detail.setPayDate(CBSUtil.convertTimestampToString(d.getDtlPayTime()));
detail.setDataSourceCode(oa_data_source_code);
agentPaymentDetailService.updatePayResult(detail);
}
}
}
return agentPayResultResDTO;
}
}catch (Exception e){
logger.error("代发代扣详情结果查询出错{}",e);
}
return null;
}
/**
* 保存交易明细到OA底表
*
* @param transactionlList
*/
@Override
public void saveTransactionDetail(List<TransactionDetailDTO> transactionlList) {
if (CollectionUtils.isNotEmpty(transactionlList)){
//过滤已经保存过的数据
//收款档案表的数据
TransactionDetailEntity transactionDetailEntity = new TransactionDetailEntity();
transactionDetailEntity.setBankTransactionDate(DateUtil.lastWeek().toDateStr());
transactionDetailEntity.setDataSourceCode(oa_data_source_code);
List<TransactionDetailEntity> transactionDetailList = transactionDetailService.querySerialNumber(transactionDetailEntity);
//过滤已经保存的数据
if (CollectionUtils.isNotEmpty(transactionDetailList)){
//过滤transactionlList 去除已经存在transactionDetailList中的数据条件为transactionSerialNumber相等
if (CollectionUtils.isNotEmpty(transactionlList)){
transactionlList = transactionlList.stream()
.filter(item -> transactionDetailList.stream()
.noneMatch(detailItem -> item.getTransactionSerialNumber().equals(detailItem.getTransactionSerialNumber())))
.collect(Collectors.toList());
}
}
if (CollectionUtils.isNotEmpty(transactionlList)){
//保存到OA底表
for (TransactionDetailDTO dto : transactionlList) {
TransactionDetailEntity transactionDetail = new TransactionDetailEntity();
BeanUtil.copyProperties(dto,transactionDetail);
transactionDetail.setCurrency(CurrencyEnum.getChineseNameByCode(dto.getCurrency()));
if (NumberUtil.isNumber(dto.getBankTransactionDate())){//如果是时间戳 转换成日期字符串
transactionDetail.setBankTransactionDate(CBSUtil.convertTimestampToString(dto.getBankTransactionDate()));
}
transactionDetailService.restSave(transactionDetail);
}
}
}
}
//这个方法没用用的是8.0批量保存方式我没有测试
private void saveTransactionDetailTemp(List<TransactionDetailDTO> transactionDetailList) {
if (CollectionUtils.isNotEmpty(transactionDetailList)){
//过滤已经保存过的数据
for (TransactionDetailDTO dto : transactionDetailList) {
List<FormDataDTO> dataList = new ArrayList<>();
FormDTO formDTO = new FormDTO();
formDTO.setFormCode("formmain_0233");
formDTO.setLoginName("yonyou");
formDTO.setRightId("6603635988997229999.-8611088937958683581");
String field0001=dto.getAccountNo();//我方银行账号
String field0002=dto.getAccountName();//我方户名
String field0003=dto.getOpenBank();//我方开户行
String field0004=dto.getBankType();//我方银行类型
String field0005=dto.getTransactionSerialNumber();//交易流水号
String field0006=dto.getBankTransactionDate();//交易日期
String field0007=dto.getBankSerialNumber();//银行流水号
String field0008=dto.getCurrency();//币种
String field0009=dto.getIncurredAmount();//收款金额
String field0010=dto.getPurpose();//用途
String field0011=dto.getDigest();//摘要
String field0012=dto.getOppositeAccount();//对方账号
String field0013=dto.getOppositeName();//对方户名
String field0014=dto.getOppositeOpeningBank();//对方开户行
String field0015=dto.getRemark();//备注
//fields
List<RecordFieldDTO> fields = new ArrayList<>();
fields.add(new RecordFieldDTO("field0001",field0001,field0001));
fields.add(new RecordFieldDTO("field0002",field0002,field0002));
fields.add(new RecordFieldDTO("field0003",field0003,field0003));
fields.add(new RecordFieldDTO("field0004",field0004,field0004));
fields.add(new RecordFieldDTO("field0005",field0005,field0005));
fields.add(new RecordFieldDTO("field0006",field0006,field0006));
fields.add(new RecordFieldDTO("field0007",field0007,field0007));
fields.add(new RecordFieldDTO("field0008",field0008,field0008));
fields.add(new RecordFieldDTO("field0009",field0009,field0009));
fields.add(new RecordFieldDTO("field0010",field0010,field0010));
fields.add(new RecordFieldDTO("field0011",field0011,field0011));
fields.add(new RecordFieldDTO("field0012",field0012,field0012));
fields.add(new RecordFieldDTO("field0013",field0013,field0013));
fields.add(new RecordFieldDTO("field0014",field0014,field0014));
fields.add(new RecordFieldDTO("field0015",field0015,field0015));
//masterTable
MasterTableDTO masterTableDTO = new MasterTableDTO();
masterTableDTO.setName("formmain_1284");
RecordDTO recordDTO = new RecordDTO();
recordDTO.setId(UUIDLong.longUUID());
recordDTO.setFields(fields);
masterTableDTO.setRecord(recordDTO);
//dataList
FormDataDTO formDataDTO = new FormDataDTO();
formDataDTO.setMasterTable(masterTableDTO);
dataList.add(formDataDTO);
formDTO.setDataList(dataList);
}
}
}
}

View File

@ -0,0 +1,24 @@
package com.hzya.frame.plugin.lets.constant;
import java.util.HashMap;
import java.util.Map;
/**
* 如果是海外店铺税率为 0
*
* @Authorliuyang
* @Packagecom.hzya.frame.plugin.lets.constant
* @ProjectkangarooDataCenterV3
* @nameExportConstant
* @Date2024/8/13 18:00
* @FilenameExportConstant
*/
public class ExportConstant {
public static final Map<String, String> exportConstant = new HashMap<>();
static {
exportConstant.put("xuni-intoyou-japan", "xuni-intoyou-japan");
exportConstant.put("B2BFX20240001", "B2BFX20240001");
}
}

View File

@ -0,0 +1,181 @@
package com.hzya.frame.plugin.lets.constant;
import java.util.HashMap;
import java.util.Map;
/**
* lets全局静态参数配置
*/
public class OverallConstant {
private static final Map<String, String> devOverAll = new HashMap<>();
private static final Map<String, String> testOverAll = new HashMap<>();
private static final Map<String, String> prodOverAll = new HashMap<>();
private static final Map<String, String> prodOverPublic = new HashMap<>();
static {
//dev
loadDev();
//prod
loadProd();
//公共部分
loadPublic();
}
private static void loadPublic() {
//存货分类
prodOverPublic.put("bdinvSaveCode", "8000370025");//存货分类新增
prodOverPublic.put("bdinvUpdateCode", "8000370026");//存货分类修改
prodOverPublic.put("bdinvDeleteCode", "8000370027");//存货分类删除
//存货基本档案
prodOverPublic.put("bdinvclSaveCode", "8000370002");//存货基本档案新增
prodOverPublic.put("bdinvclUpdateCode", "8000370046");//存货基本档案修改
prodOverPublic.put("bdinvclSealCode", "8000370058");//存货基本档案封存
prodOverPublic.put("bdinvclUnsealCode", "8000370059");//存货基本档案取消封存
prodOverPublic.put("bdinvclAllotCode", "8000370003");//存货基本档案自动分配
//成套件
prodOverPublic.put("setpartInsertCode", "8000370063");//成套件新增
prodOverPublic.put("setpartDeleteCode", "8000370064");//成套件删除
prodOverPublic.put("setpartQueryCode", "8000370065");//成套件查询
//组装拆卸
prodOverPublic.put("special4lSaveCode", "8000370066");//成套件查询
//调拨
prodOverPublic.put("approveqzCode", "8000370009");//调拨订单保存即审批
prodOverPublic.put("approveInqzCode", "8000370054");//调拨入库保存并签字
//其他出入库
prodOverPublic.put("otherinqzCode", "8000370007");//库存其他入库保存即签字
prodOverPublic.put("otheroutqzCode", "8000370008");//库存其他出库保存即签字
prodOverPublic.put("otheroutsignCode", "8000370067");//库存其他出库即签字
prodOverPublic.put("otherinsignCode", "8000370068");//库存其他入库即签字
prodOverPublic.put("custdocSaveCode", "8000370062");//客商档案新增
prodOverPublic.put("custdocSave", "/u8cloud/api/uapbd/custdoc/insert");//客商档案新增
prodOverPublic.put("custdocQuery", "/u8cloud/api/uapbd/custdoc/query");//客商档案查询
prodOverPublic.put("custdocUpdate", "8000370040");//客商档案修改
prodOverPublic.put("custdocAssignCode", "8000370001");//客商档案分配
prodOverPublic.put("custdocAssign", "/u8cloud/api/uapbd/custdoc/assign");//客商档案分配
prodOverPublic.put("custmandocSave", "/u8cloud/api/uapbd/custmandoc/insert");//客商档案新增
prodOverPublic.put("bdcorpQueryCode", "8000370060");//公司档案查询
prodOverPublic.put("bdcorpQuery", "/u8cloud/api/uapbd/bdcorp/query");//公司档案查询
prodOverPublic.put("bddefdoclistsaveCode", "8000370061");//自定义档案内容新增
prodOverPublic.put("bddefdoclistUpdateCode", "8000370070");//自定义档案内容更新
//应收单
prodOverPublic.put("arapYsInsertApproveCode", "8000370069");//自定义档案内容查询
//付款单
prodOverPublic.put("arapFkInsetCode", "8000370044");//付款单审批
prodOverPublic.put("arapFkApproveCode", "8000370045");//付款单保存即审批
prodOverPublic.put("appId", "800037");//数智中台
prodOverPublic.put("publicKey", "ZJYAWb7lhAUTYqekPkU+uHJv1/ObJxb7dT7sD8HPRDGAgyhCe7eDIk+3zDUT+v578prj");//数智中台
prodOverPublic.put("secretKey", "fviZnLBsQUAGF8w8FSOdJi7XlIm/XAZclMxRagDLfTyJFlvnIBF3w66Hrpfzs8cYj3JzOP8MtA1LSGvL+2BWG8c/o7DKi92S4mr3zcGearA=");//数智中台
}
private static void loadDev() {
//测式U8C
devOverAll.put("u8cApiUrl", "http://39.170.109.90:19099");
devOverAll.put("u8cApiUsercodePK", "admin");
devOverAll.put("u8cApiPasswordPK", "cbc3df059791996e4cce8e4ac51f4f8e");
devOverAll.put("u8cApiTrantypePK", "pk");
devOverAll.put("u8cApiSystemPK", "lz");
devOverAll.put("u8cApiNeedStackTracePK", "Y");
devOverAll.put("u8cApiZdrPK", "TB_NEW100000000004OP");//单据制单人---测试环境tbadmin
devOverAll.put("u8cApiUsercodeCode", "admin1");
// devOverAll.put("u8cApiPasswordCode", "83f1ad3e7fa3617f1aae62ae7413c810");
devOverAll.put("u8cApiPasswordCode", "f7fcde654e968541cc803c4b08c30abb");
devOverAll.put("u8cApiTrantypeCode", "code");
devOverAll.put("u8cApiSystemCode", "lz1");
devOverAll.put("u8cApiNeedStackTraceCode", "Y");
devOverAll.put("u8cApiZdrCode", "tbadmin");//单据制单人---测试环境tbadmin
devOverAll.put("u8c自定义项档案-公司对照", "0001A11000000004XB42");
devOverAll.put("u8c自定义项档案-店铺主键", "0001A110000000000EBX");
devOverAll.put("u8c自定义项档案-平台主键", "0001A110000000000EEU");
devOverAll.put("u8c自定义项档案-存货分类对应收支项目主键", "0001A210000000008FBN");
devOverAll.put("u8c自定义项档案-单据红字标识-Y主键", "0001A1100000000027LP");
devOverAll.put("u8c自定义项档案-单据红字标识-Y名称", "Y");
devOverAll.put("u8c自定义项档案-单据红字标识-N主键", "0001A1100000000027LQ");
devOverAll.put("u8c自定义项档案-单据红字标识-N名称", "N");
//本地中台地址
devOverAll.put("u8c_url", "http://127.0.0.1:8081/kangarooDataCenterV3/entranceController/externalCallInterface");
}
private static void loadProd() {
//内网正式U8C
prodOverAll.put("u8cApiUrl", "http://192.168.10.118:8088");
//外网正式U8C地址
// prodOverAll.put("u8cApiUrl", "http://39.170.109.90:8088");
//主键
prodOverAll.put("u8cApiUsercodePK", "admin");
prodOverAll.put("u8cApiPasswordPK", "cbc3df059791996e4cce8e4ac51f4f8e");
prodOverAll.put("u8cApiTrantypePK", "pk");
prodOverAll.put("u8cApiSystemPK", "lz");
prodOverAll.put("u8cApiNeedStackTracePK", "N");
prodOverAll.put("u8cApiZdrPK", "TB_NEW100000000004OP");//单据制单人---测试环境tbadmin
//编码
prodOverAll.put("u8cApiUsercodeCode", "admin1");
prodOverAll.put("u8cApiPasswordCode", "f7fcde654e968541cc803c4b08c30abb");
prodOverAll.put("u8cApiTrantypeCode", "code");
prodOverAll.put("u8cApiSystemCode", "lz1");
prodOverAll.put("u8cApiNeedStackTraceCode", "N");
prodOverAll.put("u8cApiZdrCode", "tbadmin");//单据制单人---测试环境tbadmin
// prodOverAll.put("u8c自定义项档案-公司对照", "0001A11000000006Q0W1");
//U8C241231无如果存在公司会被替换李佳妮认为1月份的数据不需要盈达公司
prodOverAll.put("u8c自定义项档案-公司对照", "0001A21000000000R4YA");
prodOverAll.put("u8c自定义项档案-店铺主键", "0001A110000000000EBX");
prodOverAll.put("u8c自定义项档案-平台主键", "0001A110000000000EEU");
//U8C241231无已经不用了
//之前存货分类对应收支项目是李佳妮提出来的后来开发好后发现走不通某个存货分类对应的收支项目与业务流程完全不搭嘎
//导致TOB销售业务匹配到采购的收支项目上说是某个存货分类仅采购有业务发生其实销售也有所以这条方案被取消
prodOverAll.put("u8c自定义项档案-存货分类对应收支项目主键", "0001A210000000008FBN");
prodOverAll.put("u8c自定义项档案-单据红字标识-Y主键", "0001A1100000000027LP");
prodOverAll.put("u8c自定义项档案-单据红字标识-Y名称", "Y");
prodOverAll.put("u8c自定义项档案-单据红字标识-N主键", "0001A1100000000027LQ");
prodOverAll.put("u8c自定义项档案-单据红字标识-N名称", "N");
//内网中台地址
prodOverAll.put("u8c_url", "http://127.0.0.1:8081/kangarooDataCenterV3/entranceController/externalCallInterface");
//外网中台地址
// prodOverAll.put("u8c_url", "http://39.170.109.90:8081/kangarooDataCenterV3/entranceController/externalCallInterface");
}
/**
* 根据key获取全局变量值
*
* @param key key值
* @return 返回String
*/
public static String getOverAllValue(String key) {
String value = null;
if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals("dev")) {
value = devOverAll.get(key);
} else if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals("test")) {
value = testOverAll.get(key);
} else if (ProfilesActiveConstant.LETS_PROFILES_ACTIVE.equals("prod")) {
value = prodOverAll.get(key);
}
if (value == null) {
value = prodOverPublic.get(key);
}
return value;
}
}

View File

@ -0,0 +1,53 @@
package com.hzya.frame.plugin.lets.constant;
import java.util.Arrays;
import java.util.List;
/**
* lets项目公共参数
*/
public class ProfilesActiveConstant {
public static final String LETS_DATE_SOURCE = "lets_u8c";
public static final String LETS_PROFILES_ACTIVE = "prod";
public static final String LOG_STATUS_Y = "Y";
public static final String LOG_STATUS_N = "N";
public static final String LOG_STATUS_Y_H = "'Y','H'";
public static final String TYPE_DATE = "date";
public static final String TYPE_VBILLCODE = "vbillcode";
public static final String TYPE_DETAIL_ERROR = "details_error";
public static final String TYPE_TIME_FRAME = "time_frame";
public static final String TYPE_OTHER = "other";
// public static final String U8C_URL = "http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface";
//public static final String U8C_URL = "http://ufidahz.com.cn:9067/kangarooDataCenterV3/entranceController/externalCallInterface";
// public static final String OFS_URL_TEST = "http://39.98.58.229/api/edi/ofs/in";
public static final String SUPPLIER = "'1','3'";
public static final String CUSTOMER = "'0','2'";
public static final String sourceSystem1 = "OFS订单系统";
public static final String sourceSystem2 = "丽知商城";
public static final String FILTER_COMPANY = "NMNS,YNS,HJ";
//0:o->中台
public static final String PUSH_SCENE_TYPE_0 = "0";
//1:中台->u8c
public static final String PUSH_SCENE_TYPE_1 = "1";
//2:o->中台->u8c
public static final String PUSH_SCENE_TYPE_2 = "2";
//toc/tob仅退款使用需要去存货管理档案参考售价的店铺
public static final List<String> REFERENCE_SHOP_LIST = Arrays.asList("DLTer", "XZJJ", "FANG-Q-L-NEW", "pdd-yanxi-new", "FANG-Q-L", "pdd-yanxi");
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.ArapDjzbEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (ARAP_DJZB: table)表数据库访问层
*
* @author makejava
* @since 2024-11-21 11:26:53
*/
public interface IArapDjzbDao extends IBaseDao<ArapDjzbEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdBankaccbasEntity;
/**
* (bd_bankaccbas: table)表数据库访问层
*
* @author makejava
* @since 2023-12-30 15:53:06
*/
public interface IBdBankaccbasDao extends IBaseDao<BdBankaccbasEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdBankdocEntity;
/**
* (bd_bankdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-12-30 16:16:01
*/
public interface IBdBankdocDao extends IBaseDao<BdBankdocEntity, String> {
}

View File

@ -0,0 +1,22 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.BdBomEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
import java.util.List;
/**
* (BD_BOM: table)表数据库访问层
*
* @author makejava
* @since 2024-09-02 14:56:24
*/
public interface IBdBomDao extends IBaseDao<BdBomEntity, String> {
/**
* 查询BOM版本
*
* @author liuyang
*/
List<BdBomEntity> queryBomVersion(BdBomEntity bdBomEntity) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdBusitypeEntity;
/**
* (bd_busitype: table)表数据库访问层
*
* @author makejava
* @since 2023-11-21 10:57:24
*/
public interface IBdBusitypeDao extends IBaseDao<BdBusitypeEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCalbodyEntity;
/**
* (bd_calbody: table)表数据库访问层
*
* @author makejava
* @since 2023-09-06 17:31:07
*/
public interface IBdCalbodyDao extends IBaseDao<BdCalbodyEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCargdocEntity;
/**
* (bd_cargdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-09-07 09:05:12
*/
public interface IBdCargdocDao extends IBaseDao<BdCargdocEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCorpEntity;
/**
* (bd_corp: table)表数据库访问层
*
* @author makejava
* @since 2023-09-06 14:47:17
*/
public interface IBdCorpDao extends IBaseDao<BdCorpEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.BdCostsubjEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (BD_COSTSUBJ: table)表数据库访问层
*
* @author makejava
* @since 2024-09-20 13:39:58
*/
public interface IBdCostsubjDao extends IBaseDao<BdCostsubjEntity, String> {
}

View File

@ -0,0 +1,22 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCubasdocEntity;
/**
* (bd_cubasdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 09:41:41
*/
public interface IBdCubasdocDao extends IBaseDao<BdCubasdocEntity, String> {
/**
* 查询客商基础档案通过客商管理档案主键得到客商基础档案
*
* @author liuyang
*/
BdCubasdocEntity queryBdCumandocEntity(BdCubasdocEntity bdCumandocEntity) throws Exception;
String selectUserNameByPk(String cuserid);
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCumandocEntity;
/**
* (bd_cumandoc: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 09:42:24
*/
public interface IBdCumandocDao extends IBaseDao<BdCumandocEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdCustbankEntity;
/**
* (bd_custbank: table)表数据库访问层
*
* @author makejava
* @since 2023-12-30 09:37:43
*/
public interface IBdCustbankDao extends IBaseDao<BdCustbankEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdDefdocEntity;
/**
* (bd_defdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 13:46:53
*/
public interface IBdDefdocDao extends IBaseDao<BdDefdocEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdDefdoclistEntity;
/**
* (bd_defdoclist: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 13:49:47
*/
public interface IBdDefdoclistDao extends IBaseDao<BdDefdoclistEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdDeptdocEntity;
/**
* (bd_deptdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-09-13 11:37:15
*/
public interface IBdDeptdocDao extends IBaseDao<BdDeptdocEntity, String> {
}

View File

@ -0,0 +1,37 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdInvbasdocEntity;
import java.util.List;
/**
* (bd_invbasdoc: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 11:27:08
*/
public interface IBdInvbasdocDao extends IBaseDao<BdInvbasdocEntity, String> {
/**
* 查询存货基础档案
*
* @author liuyang
*/
BdInvbasdocEntity queryBdInvbasdocByPkInvmandoc(BdInvbasdocEntity bdInvbasdocEntity) throws Exception;
/**
* 查询存货基础档案
*
* @author liuyang
*/
List<BdInvbasdocEntity> queryBdInvbasdocByPkInvmandocV2(BdInvbasdocEntity bdInvbasdocEntity) throws Exception;
/**
* 查询存货基础档案
*
* @author liuyang
*/
List<BdInvbasdocEntity> queryBdInvbasdocByPkInvmandocV3(BdInvbasdocEntity bdInvbasdocEntity) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdInvclEntity;
/**
* (bd_invcl: table)表数据库访问层
*
* @author makejava
* @since 2024-01-09 15:08:19
*/
public interface IBdInvclDao extends IBaseDao<BdInvclEntity, String> {
}

View File

@ -0,0 +1,29 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdInvmandocEntity;
import java.util.List;
/**
* (bd_invmandoc: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 11:21:43
*/
public interface IBdInvmandocDao extends IBaseDao<BdInvmandocEntity, String> {
/**
* 根据存货编码查询存货管理档案
*
* @author liuyang
*/
BdInvmandocEntity queryBdInvmandocByInvcode(BdInvmandocEntity bdInvmandocEntity) throws Exception;
/**
* 根据存货编码查询存货管理档案
*
* @author liuyang
*/
List<BdInvmandocEntity> queryBdInvmandocByInvcodeList(BdInvmandocEntity bdInvmandocEntity) throws Exception;
}

View File

@ -0,0 +1,22 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdJobbasfilEntity;
import com.hzya.frame.plugin.lets.queryvo.ExtBdJobbasfilQueryVo;
import com.hzya.frame.plugin.lets.resultvo.ExtBdJobbasfilResultVo;
import java.util.List;
/**
* (bd_jobbasfil: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:46:18
*/
public interface IBdJobbasfilDao extends IBaseDao<BdJobbasfilEntity, String> {
/**
* 查询项目基本档案类型名称为自定义档案映射
*/
List<ExtBdJobbasfilResultVo> queryProjectBasicArchivesByTypeDIY(ExtBdJobbasfilQueryVo extBdJobbasfilQueryVo) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdJobmngfilEntity;
/**
* (bd_jobmngfil: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:48:35
*/
public interface IBdJobmngfilDao extends IBaseDao<BdJobmngfilEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdJobtypeEntity;
/**
* (bd_jobtype: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:55:03
*/
public interface IBdJobtypeDao extends IBaseDao<BdJobtypeEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdPsndocEntity;
/**
* (bd_psndoc: table)表数据库访问层
*
* @author makejava
* @since 2023-12-09 15:18:17
*/
public interface IBdPsndocDao extends IBaseDao<BdPsndocEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.BdPurorgEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (BD_PURORG: table)表数据库访问层
*
* @author makejava
* @since 2024-08-20 14:20:10
*/
public interface IBdPurorgDao extends IBaseDao<BdPurorgEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdRdclEntity;
/**
* (bd_rdcl: table)表数据库访问层
*
* @author makejava
* @since 2023-12-04 13:49:10
*/
public interface IBdRdclDao extends IBaseDao<BdRdclEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdSalestruEntity;
/**
* (bd_salestru: table)表数据库访问层
*
* @author makejava
* @since 2023-09-06 18:20:57
*/
public interface IBdSalestruDao extends IBaseDao<BdSalestruEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.BdSetpartEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (BD_SETPART: table)表数据库访问层
*
* @author makejava
* @since 2024-09-11 15:34:13
*/
public interface IBdSetpartDao extends IBaseDao<BdSetpartEntity, String> {
}

View File

@ -0,0 +1,14 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdStordocEntity;
/**
* (bd_stordoc: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 10:19:26
*/
public interface IBdStordocDao extends IBaseDao<BdStordocEntity, String> {
}

View File

@ -0,0 +1,29 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BdTaxitemsEntity;
import java.util.List;
/**
* (bd_taxitems: table)表数据库访问层
*
* @author makejava
* @since 2023-08-30 18:32:17
*/
public interface IBdTaxitemsDao extends IBaseDao<BdTaxitemsEntity, String> {
/**
* 根据存货编码查询税率
*
* @author liuyang
*/
BdTaxitemsEntity queryBdInvbasdocByInvcode(BdTaxitemsEntity bdTaxitemsEntity) throws Exception;
/**
* 根据存货编码查询税率
*
* @author liuyang
*/
List<BdTaxitemsEntity> queryBdInvbasdocByInvcodeV2(BdTaxitemsEntity bdTaxitemsEntity) throws Exception;
}

View File

@ -0,0 +1,21 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BusidataTocreturnsEntity;
import java.util.List;
/**
* OMS退货入库TOC业务主表(busidata_tocreturns: table)表数据库访问层
*
* @author makejava
* @since 2024-03-14 14:48:00
*/
public interface IBusidataTocreturnsDao extends IBaseDao<BusidataTocreturnsEntity, String> {
/**
* 批量插入
*
* @author liuyang
*/
void entityInsertBatch(List<BusidataTocreturnsEntity> busidataTocreturnsEntityList) throws Exception;
}

View File

@ -0,0 +1,19 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BusidataTocreturnsDetailEntity;
import java.util.List;
/**
* OMS退货入库明细TOC业务主表(busidata_tocreturns_detail: table)表数据库访问层
*
* @author makejava
* @since 2024-03-14 14:56:16
*/
public interface IBusidataTocreturnsDetailDao extends IBaseDao<BusidataTocreturnsDetailEntity, String> {
/**
* 批量插入
*/
void entityInsertBatch(List<BusidataTocreturnsDetailEntity> busidataTocreturnsDetailEntityList) throws Exception;
}

View File

@ -0,0 +1,21 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BusidataTocsalesEntity;
import java.util.List;
/**
* OMS销售出库TOC业务主表(busidata_tocsales: table)表数据库访问层
*
* @author makejava
* @since 2024-03-11 15:31:56
*/
public interface IBusidataTocsalesDao extends IBaseDao<BusidataTocsalesEntity, String> {
/**
* 批量插入底表数据
*/
void entityInsertBatch(List<BusidataTocsalesEntity> busidataTocsalesEntityList) throws Exception;
}

View File

@ -0,0 +1,19 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.BusidataTocsalesDetailEntity;
import java.util.List;
/**
* OMS销售出库TOC业务明细表(busidata_tocsales_detail: table)表数据库访问层
*
* @author makejava
* @since 2024-03-11 15:33:13
*/
public interface IBusidataTocsalesDetailDao extends IBaseDao<BusidataTocsalesDetailEntity, String> {
/**
* 批量插入底表数据
*/
void entityInsertBatch(List<BusidataTocsalesDetailEntity> busidataTocsalesDetailEntities) throws Exception;
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.IaMonthledgerEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (IA_MONTHLEDGER: table)表数据库访问层
*
* @author makejava
* @since 2024-09-03 11:16:01
*/
public interface IIaMonthledgerDao extends IBaseDao<IaMonthledgerEntity, String> {
public String queryNbzyjByPkInvmandoc(String pkInvmandoc);
}

View File

@ -0,0 +1,22 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.IaPeriodaccountEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
import java.util.List;
/**
* (IA_PERIODACCOUNT: table)表数据库访问层
*
* @author makejava
* @since 2024-10-17 10:06:10
*/
public interface IIaPeriodaccountDao extends IBaseDao<IaPeriodaccountEntity, String> {
/**
* 查询存货对应的结存单价
*
* @author liuyang
*/
List<IaPeriodaccountEntity> queryBalancePrice(IaPeriodaccountEntity iaPeriodaccountEntity) throws Exception;
}

View File

@ -0,0 +1,23 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IcGeneralBEntity;
import java.util.List;
/**
* (ic_general_b: table)表数据库访问层
*
* @author makejava
* @since 2023-09-05 08:36:01
*/
public interface IIcGeneralBDao extends IBaseDao<IcGeneralBEntity, String> {
/**
* 根据cgeneralhid表头主键查询
*/
public List<IcGeneralBEntity> queryByCgeneralhid(String cgeneralhid);
public List<IcGeneralBEntity> queryAndCinvbasCode(String cgeneralhid);
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IcGeneralBb1Entity;
/**
* (ic_general_bb1: table)表数据库访问层
*
* @author makejava
* @since 2023-09-06 09:07:47
*/
public interface IIcGeneralBb1Dao extends IBaseDao<IcGeneralBb1Entity, String> {
}

View File

@ -0,0 +1,19 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IcGeneralHEntity;
import java.util.List;
/**
* (ic_general_h: table)表数据库访问层
*
* @author makejava
* @since 2023-09-04 19:00:36
*/
public interface IIcGeneralHDao extends IBaseDao<IcGeneralHEntity, String> {
List<IcGeneralHEntity> queryIcGeneralHEntity(IcGeneralHEntity icGeneralHEntity);
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IcSpecialBEntity;
/**
* (ic_special_b: table)表数据库访问层
*
* @author makejava
* @since 2023-12-05 16:06:39
*/
public interface IIcSpecialBDao extends IBaseDao<IcSpecialBEntity, String> {
}

View File

@ -0,0 +1,18 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IcSpecialHEntity;
import java.util.List;
/**
* (ic_special_h: table)表数据库访问层
*
* @author makejava
* @since 2023-12-05 16:05:30
*/
public interface IIcSpecialHDao extends IBaseDao<IcSpecialHEntity, String> {
List<IcSpecialHEntity> queryIcSpecialHEntity(IcSpecialHEntity icSpecialHEntity);
}

View File

@ -0,0 +1,25 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.IntegrationTaskLivingDetailsEntityV2;
//import com.hzya.frame.sys.integrationtask.living.entity.IntegrationTaskLivingDetailsEntity;
import java.util.List;
/**
* 集成任务-实例详情(integration_task_living_details: table)表数据库访问层
*
* @author makejava
* @since 2024-03-12 11:40:15
*/
public interface IIntegrationTaskLivingDetailsDaoV2 extends IBaseDao<IntegrationTaskLivingDetailsEntityV2, String> {
/**
* 批量插入
*/
// void entityInsertBatch(List<IntegrationTaskLivingDetailsEntity> integrationTaskLivingDetailsEntities) throws Exception;
/**
* 批量更新
*/
// void entityInsertOrUpdateBatch(List<IntegrationTaskLivingDetailsEntity> integrationTaskLivingDetailsEntities) throws Exception;
}

View File

@ -0,0 +1,28 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.OnlyAfterSalesBEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
import java.util.List;
/**
* 售后订单表_仅退款_子表(only_after_sales_b: table)表数据库访问层
*
* @author makejava
* @since 2024-09-23 10:43:46
*/
public interface IOnlyAfterSalesBDao extends IBaseDao<OnlyAfterSalesBEntity, String> {
/**
* 批量插入或更新数据行
*
* @author liuyang
*/
void entityInsertOrUpdateBatch(List<OnlyAfterSalesBEntity> onlyAfterSalesHEntityList) throws Exception;
/**
* 批量插入或更新,推送状态
*
* @author liuyang
*/
void entityInsertOrUpdateBatchBySuccessOrFail(List<OnlyAfterSalesBEntity> onlyAfterSalesHEntityList) throws Exception;
}

View File

@ -0,0 +1,28 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.OnlyAfterSalesHEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
import java.util.List;
/**
* 售后订单表_仅退款_主表(only_after_sales_h: table)表数据库访问层
*
* @author makejava
* @since 2024-09-23 10:43:07
*/
public interface IOnlyAfterSalesHDao extends IBaseDao<OnlyAfterSalesHEntity, String> {
/**
* 批量插入或者更新
*
* @author liuyang
*/
void insertOrUpdate(List<OnlyAfterSalesHEntity> onlyAfterSalesHEntityList) throws Exception;
/**
* 批量更新成功或失败状态
*
* @author liuyang
*/
// void entityInsertOrUpdateBatchBySuccessOrFail(List<OnlyAfterSalesHEntity> onlyAfterSalesHEntityList) throws Exception;
}

View File

@ -0,0 +1,21 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.PoOrderBEntity;
import java.util.List;
/**
* (po_order_b: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 08:53:25
*/
public interface IPoOrderBDao extends IBaseDao<PoOrderBEntity, String> {
/**
* 查询存货对应的最新采购价
*
* @author liuyang
*/
List<PoOrderBEntity> queryPurchaseUnitPriceByInvcodes(PoOrderBEntity poOrderBEntity) throws Exception;
}

View File

@ -0,0 +1,20 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.PoOrderEntity;
/**
* (po_order: table)表数据库访问层
*
* @author makejava
* @since 2023-08-25 08:52:02
*/
public interface IPoOrderDao extends IBaseDao<PoOrderEntity, String> {
/**
* 填充原始订单号
*
* @throws Exception 抛出可能的异常
* @author liuyang
*/
void updateVdef20(PoOrderEntity poOrderEntity) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.ScOrderBEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (SC_ORDER_B: table)表数据库访问层
*
* @author makejava
* @since 2024-08-23 16:02:35
*/
public interface IScOrderBDao extends IBaseDao<ScOrderBEntity, String> {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.ScOrderEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (SC_ORDER: table)表数据库访问层
*
* @author makejava
* @since 2024-08-23 15:29:40
*/
public interface IScOrderDao extends IBaseDao<ScOrderEntity, String> {
}

View File

@ -0,0 +1,40 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.SoSaleEntity;
import com.hzya.frame.plugin.lets.u8cdto.QuantityHandDto;
import com.hzya.frame.plugin.lets.u8cdto.QuantityHandResultDto;
import java.util.List;
/**
* (so_sale: table)表数据库访问层
*
* @author makejava
* @since 2023-08-16 15:49:53
*/
public interface ISoSaleDao extends IBaseDao<SoSaleEntity, String> {
/**
* 查询U8C销售订单
*
* @author liuyang
*/
List<SoSaleEntity> querySoSaleEntity(SoSaleEntity soSaleEntity) throws Exception;
/**
* 查询现存量(发货库存组织仓库公司)
*
* @author liuyang
*/
List<QuantityHandResultDto> queryQuantityHand(QuantityHandDto soSaleEntity) throws Exception;
/**
* 查询现存量(发货库存组织仓库公司货位)
*
* @author liuyang
*/
List<QuantityHandResultDto> queryQuantityHandV2(QuantityHandDto soSaleEntity) throws Exception;
void updateSoSale(SoSaleEntity soSaleEntity) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.SoSaleinvoiceBEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
/**
* (SO_SALEINVOICE_B: table)表数据库访问层
*
* @author makejava
* @since 2024-08-31 14:44:18
*/
public interface ISoSaleinvoiceBDao extends IBaseDao<SoSaleinvoiceBEntity, String> {
}

View File

@ -0,0 +1,23 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.plugin.lets.entity.SoSaleinvoiceEntity;
import com.hzya.frame.basedao.dao.IBaseDao;
import java.util.List;
/**
* (SO_SALEINVOICE: table)表数据库访问层
*
* @author makejava
* @since 2024-08-31 14:43:53
*/
public interface ISoSaleinvoiceDao extends IBaseDao<SoSaleinvoiceEntity, String> {
/**
* 查询需要删除的数据
*
* @author liuyang
*/
// List<SoSaleinvoiceEntity> querySoSaleinvoiceByDelete(SoSaleinvoiceEntity soSaleinvoiceEntity) throws Exception;
}

View File

@ -0,0 +1,30 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.SoSaleorderBEntity;
import com.hzya.frame.plugin.lets.queryvo.ExtIntegrationTaskLivingDetailsQueryVo;
import java.util.List;
/**
* (so_saleorder_b: table)表数据库访问层
*
* @author makejava
* @since 2023-08-16 18:03:07
*/
public interface ISoSaleorderBDao extends IBaseDao<SoSaleorderBEntity, String> {
/**
* 查询U8C销售订单
*
* @author liuyang
*/
List<SoSaleorderBEntity> querySoSaleBEntity(SoSaleorderBEntity soSaleorderBEntity) throws Exception;
/**
* 查询U8C TOC分销的销售订单
*
* @author liuyang
*/
List<ExtIntegrationTaskLivingDetailsQueryVo> queryErrorDetailsId(SoSaleorderBEntity soSaleorderBEntity) throws Exception;
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.ToBillBEntity;
/**
* (to_bill_b: table)表数据库访问层
*
* @author makejava
* @since 2023-11-21 10:42:21
*/
public interface IToBillBDao extends IBaseDao<ToBillBEntity, String> {
}

View File

@ -0,0 +1,19 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.ToBillEntity;
import java.util.List;
/**
* (to_bill: table)表数据库访问层
*
* @author makejava
* @since 2023-11-21 10:41:18
*/
public interface IToBillDao extends IBaseDao<ToBillEntity, String> {
List<ToBillEntity> queryToBillEntity(ToBillEntity toBillEntity);
}

View File

@ -0,0 +1,30 @@
package com.hzya.frame.plugin.lets.dao;
import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.plugin.lets.entity.UpdateLogisticsNoEntity;
/**
* 更新OA物流单号
*
* @Authorliuyang
* @Packagecom.hzya.frame.plugin.lets.dao
* @ProjectkangarooDataCenter
* @nameIUpdateLogisticsNoDao
* @Date2023/11/27 10:59
* @FilenameIUpdateLogisticsNoDao
*/
public interface IUpdateLogisticsNoDao extends IBaseDao<UpdateLogisticsNoEntity, String> {
/**
* 正向更新物流单号
*
* @throws Exception 抛出可能的异常
*/
void updateLogisticsNo(UpdateLogisticsNoEntity updateLogisticsNo) throws Exception;
/**
* 反向更新物流单号
*
* @throws Exception 抛出可能的异常
*/
void updateLogisticsNoReturn(UpdateLogisticsNoEntity updateLogisticsNo) throws Exception;
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.plugin.lets.entity.ArapDjzbEntity;
import com.hzya.frame.plugin.lets.dao.IArapDjzbDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
/**
* (ArapDjzb)表数据库访问层
*
* @author makejava
* @since 2024-11-21 11:26:53
*/
public class ArapDjzbDaoImpl extends MybatisGenericDao<ArapDjzbEntity, String> implements IArapDjzbDao{
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdBankaccbasDao;
import com.hzya.frame.plugin.lets.entity.BdBankaccbasEntity;
/**
* (BdBankaccbas)表数据库访问层
*
* @author makejava
* @since 2023-12-30 15:53:06
*/
public class BdBankaccbasDaoImpl extends MybatisGenericDao<BdBankaccbasEntity, String> implements IBdBankaccbasDao {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdBankdocDao;
import com.hzya.frame.plugin.lets.entity.BdBankdocEntity;
/**
* (BdBankdoc)表数据库访问层
*
* @author makejava
* @since 2023-12-30 16:16:01
*/
public class BdBankdocDaoImpl extends MybatisGenericDao<BdBankdocEntity, String> implements IBdBankdocDao{
}

View File

@ -0,0 +1,22 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.plugin.lets.entity.BdBomEntity;
import com.hzya.frame.plugin.lets.dao.IBdBomDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import java.util.List;
/**
* (BdBom)表数据库访问层
*
* @author makejava
* @since 2024-09-02 14:56:24
*/
public class BdBomDaoImpl extends MybatisGenericDao<BdBomEntity, String> implements IBdBomDao {
@Override
public List<BdBomEntity> queryBomVersion(BdBomEntity bdBomEntity) throws Exception {
return query("com.hzya.frame.plugin.lets.dao.impl.BdBomDaoImpl.queryBomVersion", bdBomEntity);
}
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdBusitypeDao;
import com.hzya.frame.plugin.lets.entity.BdBusitypeEntity;
/**
* (BdBusitype)表数据库访问层
*
* @author makejava
* @since 2023-11-21 10:57:24
*/
public class BdBusitypeDaoImpl extends MybatisGenericDao<BdBusitypeEntity, String> implements IBdBusitypeDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCalbodyDao;
import com.hzya.frame.plugin.lets.entity.BdCalbodyEntity;
/**
* (BdCalbody)表数据库访问层
*
* @author makejava
* @since 2023-09-06 17:31:07
*/
public class BdCalbodyDaoImpl extends MybatisGenericDao<BdCalbodyEntity, String> implements IBdCalbodyDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCargdocDao;
import com.hzya.frame.plugin.lets.entity.BdCargdocEntity;
/**
* (BdCargdoc)表数据库访问层
*
* @author makejava
* @since 2023-09-07 09:05:12
*/
public class BdCargdocDaoImpl extends MybatisGenericDao<BdCargdocEntity, String> implements IBdCargdocDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCorpDao;
import com.hzya.frame.plugin.lets.entity.BdCorpEntity;
/**
* (BdCorp)表数据库访问层
*
* @author makejava
* @since 2023-09-06 14:47:17
*/
public class BdCorpDaoImpl extends MybatisGenericDao<BdCorpEntity, String> implements IBdCorpDao{
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.plugin.lets.entity.BdCostsubjEntity;
import com.hzya.frame.plugin.lets.dao.IBdCostsubjDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
/**
* (BdCostsubj)表数据库访问层
*
* @author makejava
* @since 2024-09-20 13:39:58
*/
public class BdCostsubjDaoImpl extends MybatisGenericDao<BdCostsubjEntity, String> implements IBdCostsubjDao{
}

View File

@ -0,0 +1,35 @@
package com.hzya.frame.plugin.lets.dao.impl;
import cn.hutool.core.lang.Assert;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCubasdocDao;
import com.hzya.frame.plugin.lets.entity.BdCubasdocEntity;
/**
* (BdCubasdoc)表数据库访问层
*
* @author makejava
* @since 2023-08-25 09:41:41
*/
//@Repository("BdCubasdocDaoImpl")
public class BdCubasdocDaoImpl extends MybatisGenericDao<BdCubasdocEntity, String> implements IBdCubasdocDao {
@DS("sowow_sqlserver_test")
@Override
public BdCubasdocEntity queryBdCumandocEntity(BdCubasdocEntity bdCumandocEntity) throws Exception {
Assert.notNull(bdCumandocEntity, "BdCumandocEntity不可为空");
Assert.notNull(bdCumandocEntity.getPk_cumandoc(), "供应商管理id不能为空");
Assert.notNull(bdCumandocEntity.getPkCorp(), "公司id不能为空!");
// Assert.notNull(bdCumandocEntity.getCustflag(), "客商属性不能为空!");
return query(bdCumandocEntity, "com.hzya.frame.plugin.lets.dao.impl.BdCubasdocDaoImpl.queryBdCumandocByPkCumandoc");
}
@DS("sowow_sqlserver_test")
@Override
public String selectUserNameByPk(String cuserid) {
return (String) selectOne("com.hzya.frame.plugin.lets.dao.impl.BdCubasdocDaoImpl.selectUserNameByPk",cuserid);
}
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCumandocDao;
import com.hzya.frame.plugin.lets.entity.BdCumandocEntity;
/**
* (BdCumandoc)表数据库访问层
*
* @author makejava
* @since 2023-08-25 09:42:24
*/
//@Repository("BdCumandocDaoImpl")
public class BdCumandocDaoImpl extends MybatisGenericDao<BdCumandocEntity, String> implements IBdCumandocDao {
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdCustbankDao;
import com.hzya.frame.plugin.lets.entity.BdCustbankEntity;
/**
* (BdCustbank)表数据库访问层
*
* @author makejava
* @since 2023-12-30 09:37:43
*/
public class BdCustbankDaoImpl extends MybatisGenericDao<BdCustbankEntity, String> implements IBdCustbankDao {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdDefdocDao;
import com.hzya.frame.plugin.lets.entity.BdDefdocEntity;
/**
* (BdDefdoc)表数据库访问层
*
* @author makejava
* @since 2023-09-04 13:46:53
*/
public class BdDefdocDaoImpl extends MybatisGenericDao<BdDefdocEntity, String> implements IBdDefdocDao {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdDefdoclistDao;
import com.hzya.frame.plugin.lets.entity.BdDefdoclistEntity;
/**
* (BdDefdoclist)表数据库访问层
*
* @author makejava
* @since 2023-09-04 13:49:47
*/
public class BdDefdoclistDaoImpl extends MybatisGenericDao<BdDefdoclistEntity, String> implements IBdDefdoclistDao {
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdDeptdocDao;
import com.hzya.frame.plugin.lets.entity.BdDeptdocEntity;
/**
* (BdDeptdoc)表数据库访问层
*
* @author makejava
* @since 2023-09-13 11:37:15
*/
public class BdDeptdocDaoImpl extends MybatisGenericDao<BdDeptdocEntity, String> implements IBdDeptdocDao {
}

View File

@ -0,0 +1,48 @@
package com.hzya.frame.plugin.lets.dao.impl;
import cn.hutool.core.lang.Assert;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdInvbasdocDao;
import com.hzya.frame.plugin.lets.entity.BdInvbasdocEntity;
import java.util.List;
/**
* (BdInvbasdoc)表数据库访问层
*
* @author makejava
* @since 2023-08-25 11:27:08
*/
//@Repository("BdInvbasdocDaoImpl")
public class BdInvbasdocDaoImpl extends MybatisGenericDao<BdInvbasdocEntity, String> implements IBdInvbasdocDao {
@DS("lets_u8c")
@Override
public BdInvbasdocEntity queryBdInvbasdocByPkInvmandoc(BdInvbasdocEntity bdInvbasdocEntity) throws Exception {
Assert.notNull(bdInvbasdocEntity, "BdInvmandocEntity不可为空");
Assert.notNull(bdInvbasdocEntity.getPk_invmandoc(), "pkInvmandoc不可为空");
// Assert.notNull(bdInvbasdocEntity.getPk_corp(), "存货管理档案公司主键不能为空");
return query(bdInvbasdocEntity, "com.hzya.frame.plugin.lets.dao.impl.BdInvbasdocDaoImpl.queryBdInvbasdocByPkInvmandoc");
}
@DS("lets_u8c")
@Override
public List<BdInvbasdocEntity> queryBdInvbasdocByPkInvmandocV2(BdInvbasdocEntity bdInvbasdocEntity) throws Exception {
Assert.notNull(bdInvbasdocEntity, "BdInvmandocEntity不可为空");
// Assert.notNull(bdInvbasdocEntity.getPk_invmandoc(), "pkInvmandoc不可为空");
// Assert.notNull(bdInvbasdocEntity.getPk_corp(), "存货管理档案公司主键不能为空");
List<BdInvbasdocEntity> bdInvbasdocEntities = queryList(bdInvbasdocEntity, "com.hzya.frame.plugin.lets.dao.impl.BdInvbasdocDaoImpl.queryBdInvbasdocByPkInvmandoc");
return bdInvbasdocEntities;
}
@DS("lets_u8c")
@Override
public List<BdInvbasdocEntity> queryBdInvbasdocByPkInvmandocV3(BdInvbasdocEntity bdInvbasdocEntity) throws Exception {
Assert.notNull(bdInvbasdocEntity, "bdInvbasdocEntity不能为空");
Assert.notNull(bdInvbasdocEntity.getInvcodes(), "invcodes不能为空");
return queryList(bdInvbasdocEntity, "com.hzya.frame.plugin.lets.dao.impl.BdInvbasdocDaoImpl.queryBdInvbasdocByInvcodes");
}
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdInvclDao;
import com.hzya.frame.plugin.lets.entity.BdInvclEntity;
/**
* (BdInvcl)表数据库访问层
*
* @author makejava
* @since 2024-01-09 15:08:19
*/
public class BdInvclDaoImpl extends MybatisGenericDao<BdInvclEntity, String> implements IBdInvclDao{
}

View File

@ -0,0 +1,39 @@
package com.hzya.frame.plugin.lets.dao.impl;
import cn.hutool.core.lang.Assert;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdInvmandocDao;
import com.hzya.frame.plugin.lets.entity.BdInvmandocEntity;
import java.util.List;
/**
* (BdInvmandoc)表数据库访问层
*
* @author makejava
* @since 2023-08-25 11:21:44
*/
//@Repository("BdInvmandocDaoImpl")
public class BdInvmandocDaoImpl extends MybatisGenericDao<BdInvmandocEntity, String> implements IBdInvmandocDao {
@DS("lets_u8c")
@Override
public BdInvmandocEntity queryBdInvmandocByInvcode(BdInvmandocEntity bdInvmandocEntity) throws Exception {
Assert.notNull(bdInvmandocEntity, "bdInvmandocEntity must not be null");
// Assert.notNull(bdInvmandocEntity.getInvcode(), "存货档案编码不能为空");
// Assert.notNull(bdInvmandocEntity.getPkCorp(), "存货档案所属企业id不能为空");
List<BdInvmandocEntity> bdInvmandocEntityList = query("com.hzya.frame.plugin.lets.dao.impl.BdInvmandocDaoImpl.queryBdInvmandocByInvcode", bdInvmandocEntity);
if (bdInvmandocEntityList != null && bdInvmandocEntityList.size() > 0) {
return bdInvmandocEntityList.get(0);
}
return null;
}
@DS("lets_u8c")
@Override
public List<BdInvmandocEntity> queryBdInvmandocByInvcodeList(BdInvmandocEntity bdInvmandocEntity) throws Exception {
Assert.notNull(bdInvmandocEntity, "bdInvmandocEntity must not be null!");
return query("com.hzya.frame.plugin.lets.dao.impl.BdInvmandocDaoImpl.queryBdInvmandocByInvcode", bdInvmandocEntity);
}
}

View File

@ -0,0 +1,25 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdJobbasfilDao;
import com.hzya.frame.plugin.lets.entity.BdJobbasfilEntity;
import com.hzya.frame.plugin.lets.queryvo.ExtBdJobbasfilQueryVo;
import com.hzya.frame.plugin.lets.resultvo.ExtBdJobbasfilResultVo;
import java.util.List;
/**
* (BdJobbasfil)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:46:18
*/
public class BdJobbasfilDaoImpl extends MybatisGenericDao<BdJobbasfilEntity, String> implements IBdJobbasfilDao {
@DS("sowow_sqlserver_test")
@Override
public List<ExtBdJobbasfilResultVo> queryProjectBasicArchivesByTypeDIY(ExtBdJobbasfilQueryVo extBdJobbasfilQueryVo) throws Exception {
return (List<ExtBdJobbasfilResultVo>) selectList("com.hzya.frame.plugin.lets.dao.impl.BdJobbasfilDaoImpl.queryProjectBasicArchivesByTypeDIY", extBdJobbasfilQueryVo);
}
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdJobmngfilDao;
import com.hzya.frame.plugin.lets.entity.BdJobmngfilEntity;
/**
* (BdJobmngfil)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:48:35
*/
public class BdJobmngfilDaoImpl extends MybatisGenericDao<BdJobmngfilEntity, String> implements IBdJobmngfilDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdJobtypeDao;
import com.hzya.frame.plugin.lets.entity.BdJobtypeEntity;
/**
* (BdJobtype)表数据库访问层
*
* @author makejava
* @since 2023-09-04 14:55:03
*/
public class BdJobtypeDaoImpl extends MybatisGenericDao<BdJobtypeEntity, String> implements IBdJobtypeDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdPsndocDao;
import com.hzya.frame.plugin.lets.entity.BdPsndocEntity;
/**
* (BdPsndoc)表数据库访问层
*
* @author makejava
* @since 2023-12-09 15:18:18
*/
public class BdPsndocDaoImpl extends MybatisGenericDao<BdPsndocEntity, String> implements IBdPsndocDao{
}

View File

@ -0,0 +1,16 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.plugin.lets.entity.BdPurorgEntity;
import com.hzya.frame.plugin.lets.dao.IBdPurorgDao;
import org.springframework.stereotype.Repository;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
/**
* (BdPurorg)表数据库访问层
*
* @author makejava
* @since 2024-08-20 14:20:11
*/
public class BdPurorgDaoImpl extends MybatisGenericDao<BdPurorgEntity, String> implements IBdPurorgDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdRdclDao;
import com.hzya.frame.plugin.lets.entity.BdRdclEntity;
/**
* (BdRdcl)表数据库访问层
*
* @author makejava
* @since 2023-12-04 13:49:10
*/
public class BdRdclDaoImpl extends MybatisGenericDao<BdRdclEntity, String> implements IBdRdclDao{
}

View File

@ -0,0 +1,15 @@
package com.hzya.frame.plugin.lets.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.plugin.lets.dao.IBdSalestruDao;
import com.hzya.frame.plugin.lets.entity.BdSalestruEntity;
/**
* (BdSalestru)表数据库访问层
*
* @author makejava
* @since 2023-09-06 18:20:57
*/
public class BdSalestruDaoImpl extends MybatisGenericDao<BdSalestruEntity, String> implements IBdSalestruDao{
}

Some files were not shown because too many files have changed in this diff Show More