Commit 84e6353d by 王力

Merge branch 'dev_mp2jpa0803' into 'develop'

Dev mp2jpa0803

See merge request !323
2 parents e0e15591 75f74cf7
......@@ -18,4 +18,5 @@ public interface MapBlockInfoDao extends JpaRepository<MapBlockInfoEntity, Integ
List<MapBlockInfoEntity> findByLayerId(String layerId);
MapBlockInfoEntity findByTeamIdAndLayerId(String teamId, String layerId);
}
......@@ -3,8 +3,14 @@ package com.dituhui.pea.order.dao;
import com.dituhui.pea.order.entity.MapLayerCustomizeEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;
public interface MapLayerCustomizeDao extends JpaRepository<MapLayerCustomizeEntity, Long> {
public MapLayerCustomizeEntity findByBranchIdAndLayerIdAndStatus(String branchId, String layerId, int status);
MapLayerCustomizeEntity getByLayerId(String layerId);
List<MapLayerCustomizeEntity> findByBranchIdInAndStatus(List<String> branchIds, int status);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!