aa
This commit is contained in:
@@ -338,6 +338,10 @@ func getStoresSql(ctx *jxcontext.Context, keyword string, params map[string]inte
|
||||
sqlWhere += " AND t1.id >= ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["startStoreID"])
|
||||
}
|
||||
if params["brandID"] != nil {
|
||||
sqlWhere += " AND t1.brand_id = ?"
|
||||
sqlWhereParams = append(sqlWhereParams, params["brandID"])
|
||||
}
|
||||
if params["name"] != nil {
|
||||
sqlWhere += " AND t1.name LIKE ?"
|
||||
sqlWhereParams = append(sqlWhereParams, "%"+params["name"].(string)+"%")
|
||||
|
||||
@@ -44,6 +44,7 @@ type StoreController struct {
|
||||
// @Param marketManPhone query string false "市场负责人电话"
|
||||
// @Param briefLevel query int false "返回信息精简模式"
|
||||
// @Param storeLevels query string false "门店等级"
|
||||
// @Param brandID query int false "品牌ID"
|
||||
// @Param marketManPhones query string false "市场负责人电话们"
|
||||
// @Param earningType query int false "结算方式(1为报价,2为扣点)"
|
||||
// @Param offset query int false "门店列表起始序号(以0开始,缺省为0)"
|
||||
|
||||
Reference in New Issue
Block a user