zhangqian
2024-07-31 076f911a3b8d09364d1d8c98a92b48e601ae6a21
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