Commit 82678693 by zhiwj

更新门店分组

parent f902d047
......@@ -55,7 +55,15 @@ public interface StoreService {
Page listStore(StoreDTO storeDTO, Integer pageNum, Integer pageSize);
/**
* 返回状态
* @param storeDTO
* @return
*/
Integer checkCompleteStatus(StoreDTO storeDTO);
List<TabStore> listStoreByRegionAndStatus(List<Integer> regionIdList, List<Integer> statusList);
int updateStoreGroupId(Integer storeId, Integer groupId);
}
......@@ -150,4 +150,12 @@ public class StoreServiceImpl implements StoreService {
}
return tabStoreMapper.listStoreByRegionAndStatus(regionIdList, statusList);
}
@Override
public int updateStoreGroupId(Integer storeId, Integer groupId) {
TabStore store = new TabStore();
store.setStoreId(storeId);
store.setStoreGroupId(groupId);
return tabStoreMapper.updateByPrimaryKeySelective(store);
}
}
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