zhangqian
2024-07-29 eae158f8d95df5f49c4e36d5b9ad00b62dbad9ec
controllers/code.go
@@ -99,6 +99,8 @@
      id, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeInternal).MaxAutoIncr()
   case constvar.CodeStandardType_Disuse:
      id, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeDisuse).MaxAutoIncr()
   case constvar.CodeStandardType_TakeStock:
      id, err = models.NewOperationSearch().SetBaseOperationType(constvar.BaseOperationTypeAdjust).MaxAutoIncr()
   default:
      util.ResponseFormat(c, cd.RequestError, "编码规则不存在")
      return