记得上下班打卡 | git大法好,push需谨慎

Commit c5bfd7a6 authored by zhanggb's avatar zhanggb

~api:店铺管理:店铺ERP配置Mongo查取条件;

parent 05ab1f62
......@@ -460,7 +460,7 @@ public class GoblinMongoUtils {
/* ---------------------------------------- 店铺ERP配置数据源 ---------------------------------------- */
public List<String> getStoreErpShopNoList() {
Query query = Query.query(Criteria.where("shopNo").exists(true).and("shopNo").ne(""));
Query query = Query.query(Criteria.where("shopNo").ne(""));
query.fields().include("shopNo");
List<GoblinStoreErpConfigVo> vos = mongoTemplate.find(query, GoblinStoreErpConfigVo.class, GoblinStoreErpConfigVo.class.getSimpleName());
if (!CollectionUtils.isEmpty(vos)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment