feat:askbot 门店获取方式变更

This commit is contained in:
苏竹红
2025-05-13 14:58:36 +08:00
parent 79f7956dfd
commit 81fee5d4d5
11 changed files with 314 additions and 10 deletions

View File

@@ -63,5 +63,9 @@ public class StoreDao {
return storeMapper.listByMobile(mobile);
}
public List<StoreDO> list() {
return storeMapper.list();
}
}

View File

@@ -31,4 +31,10 @@ public interface StoreMapper {
*/
List<StoreDO> listByMobile(@Param("mobile") String mobile);
/**
* 分页查询门店数据
* @return
*/
List<StoreDO> list();
}

View File

@@ -83,10 +83,16 @@
select *
from store_${enterpriseId}
<where>
and is_delete = 'effective'
<if test="mobile!=null and mobile !=''">
and `extend_field` like concat('%', #{mobile}, '%')
</if>
</where>
</select>
<select id="list" resultMap="BaseResultMap">
select *
from store_${enterpriseId} where is_delete = 'effective' order by id asc
</select>
</mapper>