zhangqian
2024-07-05 9ceaa0c500368b0a512be2053e54e2ee49c5f537
service/code.go
@@ -40,6 +40,8 @@
      maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeInternal).MaxAutoIncr()
   case constvar.CodeStandardType_Disuse:
      maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeDisuse).MaxAutoIncr()
   case constvar.CodeStandardType_TakeStock:
      maxAutoIncr, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeAdjust).MaxAutoIncr()
   default:
      err = errors.New("编码规则不存在")
      return