Commit Graph

931 Commits

Author SHA1 Message Date
8f88f5be94 feat(InventoryCheck): add new fields for inventory tracking and estimation 2025-09-08 21:09:48 +08:00
feb98cc8f1 feat(RawCoalBlendCalculator): enhance optimal solution finding and hinting mechanism 2025-08-27 23:28:28 +08:00
d38b7ac49c Revert "feat(RawCoalBlendCalculator): update constraint logic to use fixed denominator for weighted average calculations"
This reverts commit 910b06ba19.
2025-08-27 22:28:34 +08:00
910b06ba19 feat(RawCoalBlendCalculator): update constraint logic to use fixed denominator for weighted average calculations 2025-08-24 13:00:45 +08:00
fb335a6090 feat(AcDeviceDataService): add organizationId parameter to select and count queries 2025-08-24 11:54:32 +08:00
89ffd60cf8 feat(CoalInfoService): update ymDetails in CoalWashingDailyAnalysisEntity with new name and code 2025-07-12 23:08:46 +08:00
3b07cae6a1 feat(CoalInfo): add support for CoalWashingDailyAnalysisEntity updates in service and repository 2025-07-12 22:55:00 +08:00
2ccf60e304 feat(CoalBlend): add reserve fields to DTOs for extended data handling 2025-07-12 22:41:40 +08:00
99152ebf41 fix(WeightDeviceDataEntity): handle null ecgbTime in weight data filtering 2025-06-28 23:08:57 +08:00
03d8e99362 feat(OrderCarNumberBindService):为 CreateOrderCarNumberBindDto 设置开始和结束时间
- 在创建 OrderCarNumberBindDto 时,添加了设置 startTime 和 endTime 的代码
- 这两个时间字段是从请求对象中获取的
-此修改确保了在绑定车牌号时能够正确记录时间信息
2025-06-25 21:00:32 +08:00
2a4811923b fix(orderCarNumberBind): 修复订单查询逻辑
- 修改了空值检查逻辑,确保正确处理空订单
- 修正了销售订单 ID 的获取方式,提高了代码的健壮性
2025-06-16 22:58:43 +08:00
cbd19f90a1 refactor(coal): 优化时间过滤逻辑
- 在 OrderCarNumberBindService 中添加了对 startTime 和 endTime 的空值判断
- 使用 Java Stream API 进行链式过滤,提高代码可读性和性能
- 确保仅在指定时间范围内获取 weightDataList
2025-06-15 22:39:54 +08:00
869ff38422 feat(orderCarNumberBind):增加车辆绑定的起止时间并优化查询逻辑
- 在相关 DTO 和实体类中添加 startTime 和 endTime 字段,用于记录车辆绑定的起止时间
- 优化 OrderCarNumberBindService 中的查询逻辑,支持按销售订单和采购订单分别查询
- 修复了同时为空销售订单和采购订单时的异常处理
2025-06-15 22:33:03 +08:00
d5173b6a92 feat(orderCarNumberBind):增加订单与车辆绑定时的称重数据查询功能
- 在 OrderCarNumberBindDto 中添加 weightDataList 字段,用于存储称重数据
- 在 OrderCarNumberBindService 中实现根据车牌号和订单类型查询称重数据的功能- 使用 Specification 接口动态构建查询条件,支持销售订单和采购订单的称重数据查询
2025-06-12 20:42:26 +08:00
db20a3d7e5 feat(orderCarNumberBind): 新增订单与车号绑定功能
- 创建 OrderCarNumberBind 相关的 DTO、Entity、Mapper、Repository 和 Service
- 实现订单与车号的创建、更新、删除和查询功能
- 添加批量导入功能,支持一次性绑定多个车号
- 在 PurchaseOrderEntity 和 SaleOrderEntity 中添加与 OrderCarNumberBind 的关联
2025-06-12 20:35:52 +08:00
497fd6771e feat(plcSchemaDetail): 添加关联生产数据字段和备用字段
- 在 CreatePlcSchemaDetailDto、PlcSchemaDetailDto、UpdatePlcSchemaDetailDto 和 PlcSchemaDetailEntity 类中添加了以下字段:
  - reportDataField(关联生产数据字段)
  - revField1(备用字段1)
  - revField2(备用字段2)  - revField3(备用字段3)
  - revField4(备用字段4)
  - revField5(备用字段5)
-这些字段用于扩展 PLC 方案详情的功能,提供更多的数据关联和备用数据存储能力
2025-06-10 21:49:59 +08:00
20c39ed540 fix(sse): 优化 SSE连接异常处理和心跳机制- 在 GlobalExceptionHandler 中增加对 IOException 的处理,忽略常见的客户端断开异常
- 在 SseService 中增加注册时的日志记录,调整心跳发送频率为 30秒一次
- 优化 SseEmitter 的错误处理和资源释放
2025-06-08 10:23:07 +08:00
2fd02c6931 refactor(coal): 调整 SseEmitter 默认超时时间为 20 分钟
-将 SseEmitter 的默认超时时间从 120 分钟调整为 20 分钟- 此修改旨在优化服务器资源使用,提高系统响应速度
2025-06-04 21:12:48 +08:00
64bf5be240 refactor(coal): 调整 SseEmitter 连接保持时间
- 将 SseEmitter 的初始化时间从 10 分钟调整为 120 分钟
- 此修改旨在减少客户端频繁重新连接的问题
2025-05-27 23:33:53 +08:00
3d0ce9b627 fix(sse): 修复心跳推送异常处理
- 捕获 IOException 异常时,增加日志记录错误信息
- 尝试完成 SseEmitter 的生命周期,避免资源泄露
- 如果完成 SseEmitter 时发生异常,同样增加日志记录
2025-05-27 23:08:39 +08:00
992a32e35d feat(coal-washing): 添加洗煤日报分析 KF 项 DTO
- 在 CoalWashingDailyAnalysisKFItemDto、CreateCoalWashingDailyAnalysisKFItemDto 和 UpdateCoalWashingDailyAnalysisKFItemDto 中添加了多个参数字段
-包括日期、时间、名称、参数 1-20、备注 1-4 等字段
- 添加了与 CoalWashingDailyAnalysis 的多对一关联
2025-05-25 10:55:57 +08:00
9fbb74f0a2 feat(coalWashingDailyAnalysis): 新增 KF 项目相关功能
- 添加 CoalWashingDailyAnalysisKFItem 相关的实体、DTO、Mapper 和 Service
- 在 CoalWashingDailyAnalysis 中集成 KF 项目
- 优化 CoalWashingDailyAnalysis 的创建、更新和列表展示功能
2025-05-25 10:52:33 +08:00
971757f053 refactor(weight-device-data): 重构过磅数据列表接口和实体类
- 新增 WeightDeviceDataListDto 类,用于过磅数据列表展示
- 更新 WeightDeviceDataController 中的 list 方法返回类型
- 修改 WeightDeviceDataMapper 接口,添加 toListDto 方法
- 调整 WeightDeviceDataService 中的 list 方法,使用新的列表 DTO
2025-05-25 09:39:41 +08:00
1ac1c28997 feat(smartCamCompare): 添加详情列表并优化创建逻辑
- 在 SmartCamCompareDto 中添加 details 字段,用于存储详情信息
- 在 SmartCamCompareService 中,为创建的实体的每个详情项设置对应的 SmartCamCompare 实体
2025-05-24 23:07:59 +08:00
4d5dcd988a feat(smartCamCompare): 添加智 Camel 比较功能模块- 新增 SmartCamCompareController、Service、Repository 及相关 DTO 和 Entity 类
- 实现智 Camel 比较数据的创建、更新、删除、查询等功能
- 添加智 Camel 比较详情相关功能模块
- 创建数据库表结构和索引
2025-05-24 09:25:19 +08:00
52c65e529f feat(smartCamWhiteList): 添加车辆抓拍图片和背景图片字段
- 在 CreateSmartCamWhiteListDto、SmartCamWhiteListDto、UpdateSmartCamWhiteListDto 和 SmartCamWhiteListEntity 中添加了 captureImage、backgroundImage、captureImage2 和 backgroundImage2 字段
- 使用 @ManyToOne 注解建立与 FileEntity 的关联
- 为 SmartCamWhiteListDto 中的图片字段添加 FileDto 类型
2025-05-19 22:03:48 +08:00
f16779ece0 feat(warehouseReceipt): 添加根据 ID 列表获取仓库单据信息的功能
- 在 WarehouseReceiptController 中添加了新的接口 getByIdList
- 在 WarehouseReceiptService 中实现了根据 ID 列表获取仓库单据信息的方法
- 新增的方法可以批量获取仓库单据信息,提高数据查询效率
2025-05-19 22:00:56 +08:00
01336f7dc4 refactor(warehouse-receipt):优化仓储单据列表接口返回数据结构
- 新增 WarehouseReceiptListDto 类,专门用于列表展示- 修改控制器和 mapper 接口,支持新的列表数据结构
- 更新服务层,使用新的列表数据传输对象
2025-05-18 22:04:30 +08:00
2dc6c0cc2f fix(dataCollector): 修复数据类型转换导致的错误
- 新增 getAnInt 和 getFieldDouble 方法,用于正确解析 JSON 数据中的数值类型
- 优化数据转换逻辑,处理科学计数法和小数点问题
- 提高数据采集的准确性和可靠性
2025-05-14 21:35:55 +08:00
bc04cba494 refactor(plcData): 重构 PlcDataDto 类
- 在 CommonQuery 中支持 Boolean 类型- 修复 DataCollectorService 中的消息发送逻辑
- 重构 PlcDataDto 类,添加多个字符串、整数、浮点数和布尔类型的字段
- 在 WarehouseReceiptService 中使用 NumberUtils.round2 方法进行金额计算
2025-05-10 21:51:24 +08:00
099c26e606 feat(plcSchemaDetail):增加查询条件字段
- 在 CreatePlcSchemaDetailDto、PlcSchemaDetailDto、UpdatePlcSchemaDetailDto 和 PlcSchemaDetailEntity 中添加 queryCondition 字段- 用于标识 PLC 模式详情是否作为查询条件
2025-05-09 21:20:02 +08:00
4b30327b47 feat(plcSchemaDetail):增加列表页和实时数据展示字段
- 在 CreatePlcSchemaDetailDto、PlcSchemaDetailDto、UpdatePlcSchemaDetailDto 和 PlcSchemaDetailEntity 中添加 displayOnList 和 displayOnRealTime 字段
- 在 PlcSchemaDetailService 中为新创建的实体设置默认值为 true
2025-05-09 21:16:28 +08:00
825e1371e8 fix(resource): 修复资源权限查询语句
- 修改了 ResourceRepository 中的 isLinked 方法的查询语句
- 从直接连接 ResourceEntity 改为通过 PermissionEntity 的 resources 关联查询
2025-05-09 21:13:30 +08:00
15903b64d4 feat(bizLog): 添加关联 ID 字段
- 在 BizLogDto、CreateBizLogDto 和 BizLogEntity 中添加 relatedIds 字段- 使用 ListArrayType 类型存储关联 ID 数组
- 新增字段为 text[] 类型,用于存储多个关联 ID
2025-05-09 20:40:10 +08:00
41698c8834 feat(service): 添加测试消息功能并优化代码
- 新增 testMessage 接口,用于发送测试消息
- 实现 testMessage 方法,包括消息签名和发送逻辑
- 移除冗余代码和注释
- 优化代码格式和导入结构
2025-05-09 20:35:31 +08:00
47b5bd7afe feat(bizLog): 添加菜单全路径字段并优化实体类
- 在 BizLogDto、CreateBizLogDto 和 BizLogEntity 中添加菜单全路径字段
- 在 BizLogEntity 中添加 prePersist 和 preUpdate 方法,用于生成菜单全路径- 为 BizLogEntity 添加索引,提高查询效率
2025-05-09 20:30:39 +08:00
b49cba82e4 feat(bizLog): 新增业务日志模块
- 添加业务日志相关实体、DTO、控制器、服务、仓库和映射器- 实现业务日志的创建、更新、删除、查询等功能- 添加业务日志字典脚本
2025-05-09 20:25:50 +08:00
69035a7f59 feat(plcSchemaDetail):增加数据类型翻译并优化数据处理逻辑
- 在 PlcSchemaDetailDto 中添加 typeName 字段并使用 DictTranslate 注解进行数据类型翻译
- 优化 PlcSchemaDetailService 中的 JSON 数据处理逻辑
- 移除无效的字段并改进字段命名规则
-采用更高效的字段迭代方式并使用 HashMap 进行计数
2025-05-09 20:18:59 +08:00
9093cd6d8b feat(plcDeviceSupplier): 添加供应商联系信息和地址
- 在 CreatePlcDeviceSupplierDto、PlcDeviceSupplierDto、UpdatePlcDeviceSupplierDto 和 PlcDeviceSupplierEntity 中添加以下字段:
  - contact:联系人
  - contactPhone:联系电话
  - address:地址
2025-05-08 22:24:51 +08:00
772a045002 feat(plc): 添加 PLC 设备相关功能
- 新增 PLC 设备供应商、设备和数据相关实体、DTO 和服务
- 实现 PLC 数据采集和处理逻辑
- 添加数据模型字段类型字典- 优化智能摄像头白名单服务,使用当前组织 ID 进行查询
2025-05-06 21:26:13 +08:00
0cfceeb72a refactor(smartCam): 优化车牌号更新逻辑
- 在 SmartCamCarDataService 中添加车牌号更新逻辑
- 在 SmartCamCarLicenseSnapshotDataService 中实现批量修改功能- 优化代码格式和可读性
2025-05-06 21:12:50 +08:00
0e3fcad8cc feat(smartCamWhiteList): 新增智能摄像头白名单功能
- 添加 SmartCamWhiteList 相关的控制器、DTO、实体类、映射器、仓库和服务
- 在比较逻辑中增加白名单过滤,忽略白名单中的车牌号- 新增白名单数据字典脚本
2025-05-05 14:08:27 +08:00
9f127d45c7 refactor(smartCamCarLicenseSnapshotData): 优化 isLinked 方法的 SQL 查询
- 将原本的 "select false" 查询改为检查给定 ID 是否存在于 SmartCamCarDataEntity 表中
- 新查询能够准确判断给定 ID 是否有相关联的数据,提高了方法的实用性和效率
2025-05-01 21:57:07 +08:00
ab83ca7bfe feat(smartCamCarData): 添加人工修正和合并功能
- 新增 humanModify 和 merge 接口
- 实现人工修改车辆数据的功能
- 添加合并两条车辆数据的功能
- 优化更新车牌号码的逻辑
2025-05-01 21:55:09 +08:00
e1c387a7d4 refactor(smartCam): 更新车辆信息时同步更新关联数据
- 在 SmartCamCarDataService 中添加 updateNumber 方法,用于更新车辆牌照号
- 在 SmartCamCarLicenseSnapshotDataService 中调用 updateNumber 方法,确保关联数据同步更新
-优化了车辆信息更新流程,提高了数据一致性
2025-05-01 21:34:58 +08:00
3742068636 feat(coal-parameter-def): 添加新参数并设置默认启用状态
- 在 CoalParameterDef.json 中添加新的参数项"强度"
- 在 CoalParameterDefService 中为 coalBlendEnabled 和 labEnabled 字段设置默认值为 true
2025-04-28 21:38:55 +08:00
9830f71386 feat(coal-parameter-def): 添加化验和配煤启用状态字段- 在 CoalParameterDefDto、CreateCoalParameterDefDto、UpdateCoalParameterDefDto 和 CoalParameterDefEntity 类中添加 labEnabled 和 coalBlendEnabled 字段
- 用于表示化验和配煤是否启用的状态
2025-04-28 21:35:31 +08:00
5e6d76604b fix(smart-cam-car-data): 修复车辆信息统计中的空指针异常
- 在 SmartCamCarDataService 类中,对 carInfo 的 weightEntryCnt 和 weightExitCnt 字段进行空值检查
- 使用 ObjectUtils.defaultIfNull 方法避免空指针异常,确保计数器正确递增
2025-04-24 22:14:00 +08:00
f51e3a5eb6 fix(smart-cam-car-data): 修复车牌号匹配逻辑
- 将重量数据中的 planNumber替换为 plateNo,以匹配 carInfoMap 中的键
- 更新 CarInfo 对象的 number 字段赋值逻辑
- 修复了车牌号不一致的问题
2025-04-24 21:54:51 +08:00
0623b1006d feat(smartCamCarData):增加方向参数并优化车牌相似性查询
- 在 FindSimilarRequest 中添加 direction 字段
- 更新 SmartCamCarDataService 中的 findSimilar 方法,加入 direction 参数
- 修改 SmartCamCarLicenseSnapshotDataRepository 中的 findSimilar 查询,增加 direction 条件并按 infoTimeObj 降序排序
- 更新 SmartCamCarLicenseSnapshotDataService 中的 findSimilar 方法,加入 direction 参数
2025-04-21 23:48:24 +08:00