zhangqian
2024-07-05 a9ad4cabc4d303532fbd743538f7480c0eef5a69
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