@@ -28,7 +30,7 @@ public interface MapBlockInfoDao extends JpaRepository<MapBlockInfoEntity, Integ
...
@@ -28,7 +30,7 @@ public interface MapBlockInfoDao extends JpaRepository<MapBlockInfoEntity, Integ
@Query(value="select mbi.* from map_block_info mbi left join map_layer_customize_skill mlcs on mlcs.layer_id = mbi.layer_id "+
@Query(value="select mbi.* from map_block_info mbi left join map_layer_customize_skill mlcs on mlcs.layer_id = mbi.layer_id "+
"left join map_layer_customize mlc on mlc.layer_id = mbi.layer_id left join skill_info si on si.skill_code = mlcs.skill_code "+
"left join map_layer_customize mlc on mlc.layer_id = mbi.layer_id left join skill_info si on si.skill_code = mlcs.skill_code "+
"where si.brand = :brand and si.`type` = :productType and si.skill = :skill order by mlc.priority ",nativeQuery=true)
"where mbi.status = 1 and mlcs.status = 1 and mlc.status = 1 and si.brand = :brand and si.`type` = :productType and si.skill = :skill order by mlc.priority ",nativeQuery=true)