shinnosuke
2026-08-21 bc2efbdb52190fe2e7be9920bbed6902d4ee28aa
talent-card-server/src/main/java/com/talentcard/server/mapper/TransportCarWashCredentialMapper.java
@@ -99,7 +99,7 @@
            """)
    Map<String, Object> selectPrimaryCard(@Param("familyCardId") Long familyCardId);
    @Select("select count(*) from merchant where id = #{merchantId} and merchant_type = 'carWash' and deleted = 0 and status = 1")
    @Select("select count(*) from merchant where id = #{merchantId} and merchant_type_code = 'carWash' and deleted = 0 and status = 1")
    Long countActiveMerchant(@Param("merchantId") Long merchantId);
    @Select("""
@@ -112,4 +112,4 @@
    @Select("select * from transport_car_wash_credential where id = #{id} and deleted = 0 limit 1 for update")
    TransportCarWashCredential selectByIdForUpdate(@Param("id") Long id);
}
}