fix
This commit is contained in:
parent
3f9ccaeea8
commit
ddfed4a2ef
|
@ -118,7 +118,7 @@ func (t *FsProductTemplateV2Model) FindOneByProductIdTagIdWithSizeTable(ctx cont
|
||||||
Where("t.product_id = ? and t.template_tag = ? ", productId, templateTag).
|
Where("t.product_id = ? and t.template_tag = ? ", productId, templateTag).
|
||||||
Where("t.status = ? and t.is_del = ?", 1, 0).
|
Where("t.status = ? and t.is_del = ?", 1, 0).
|
||||||
Where("s.status = ?", 1).
|
Where("s.status = ?", 1).
|
||||||
Order("s.sort ASC").
|
Order("t.sort ASC,s.sort ASC").
|
||||||
Take(&resp).Error
|
Take(&resp).Error
|
||||||
return resp, err
|
return resp, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user