fix: 强化出库单事务与编码异常处理

This commit is contained in:
zhouz
2026-07-22 15:00:04 +08:00
parent 3ab5af0eb5
commit c4c8911a80
4 changed files with 112 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ public interface ErrorCodeConstants {
// ================ 出入库表相关错误码 =================
ErrorCode IOSTOR_INV_NOT_EXISTS = new ErrorCode(4, "出入库单主表不存在");
ErrorCode IOSTOR_INV_CODE_GENERATE_FAILED = new ErrorCode(7, "单据号生成失败");
ErrorCode IOSTOR_INV_CODE_GENERATE_FAILED = new ErrorCode(6_000_4, "单据号生成失败");
ErrorCode IOSTORINV_DTL_NOT_EXISTS = new ErrorCode(5, "出入库单明细不存在");