审核门店
This commit is contained in:
@@ -3568,6 +3568,9 @@ func CreateStoreAudit(ctx *jxcontext.Context, storeAudit *model.StoreAudit) (err
|
|||||||
if len(storeAudits) > 0 {
|
if len(storeAudits) > 0 {
|
||||||
return fmt.Errorf("您已申请过入驻,请不要重复申请!")
|
return fmt.Errorf("您已申请过入驻,请不要重复申请!")
|
||||||
}
|
}
|
||||||
|
if storeAudit.UserID == "" {
|
||||||
|
storeAudit.UserID = ctx.GetUserID()
|
||||||
|
}
|
||||||
dao.WrapAddIDCULDEntity(storeAudit, ctx.GetUserName())
|
dao.WrapAddIDCULDEntity(storeAudit, ctx.GetUserName())
|
||||||
dao.CreateEntity(db, storeAudit)
|
dao.CreateEntity(db, storeAudit)
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user