liujiandao
2023-11-08 046b6c88c5244a385c7fb9699aec84a02efdf316
api/v1/code.go
@@ -122,6 +122,8 @@
      id, err = model.NewServiceOrderSearch().MaxAutoIncr()
   case constvar.CodeStandardTypeServerFollow:
      id, err = model.NewServiceFollowupSearch().MaxAutoIncr()
   case constvar.CodeStandardTypeSaleInvoice:
      id, err = model.NewInvoiceSearch().MaxAutoIncr()
   default:
      ctx.FailWithMsg(ecode.UnknownErr, "编码规则不存在")
      return