Files
zxjp-web/coolstore-partner-dao/src/main/resources/mapper/PointDetailInfoMapper.xml
zhangchenbiao 22917d9207 fix
2024-04-15 10:17:32 +08:00

80 lines
6.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.cool.store.mapper.PointDetailInfoMapper">
<resultMap id="BaseResultMap" type="com.cool.store.entity.PointDetailInfoDO">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="point_id" jdbcType="BIGINT" property="pointId" />
<result column="business_status" jdbcType="TINYINT" property="businessStatus" />
<result column="nine_flow_rate" jdbcType="INTEGER" property="nineFlowRate" />
<result column="ten_flow_rate" jdbcType="INTEGER" property="tenFlowRate" />
<result column="eighteen_flow_rate" jdbcType="INTEGER" property="eighteenFlowRate" />
<result column="nineteen_flow_rate" jdbcType="INTEGER" property="nineteenFlowRate" />
<result column="point_direction" jdbcType="TINYINT" property="pointDirection" />
<result column="site_conditions" jdbcType="TINYINT" property="siteConditions" />
<result column="store_width" jdbcType="VARCHAR" property="storeWidth" />
<result column="landlord_username" jdbcType="VARCHAR" property="landlordUsername" />
<result column="landlord_mobile" jdbcType="VARCHAR" property="landlordMobile" />
<result column="payment_method" jdbcType="TINYINT" property="paymentMethod" />
<result column="property_status" jdbcType="TINYINT" property="propertyStatus" />
<result column="transfer_fee" jdbcType="VARCHAR" property="transferFee" />
<result column="cover_community" jdbcType="TINYINT" property="coverCommunity" />
<result column="consumer_ability" jdbcType="TINYINT" property="consumerAbility" />
<result column="flow_rate_calculate" jdbcType="TINYINT" property="flowRateCalculate" />
<result column="gather_guest_farmer_market" jdbcType="TINYINT" property="gatherGuestFarmerMarket" />
<result column="gather_guest_hospital" jdbcType="TINYINT" property="gatherGuestHospital" />
<result column="gather_guest_school" jdbcType="TINYINT" property="gatherGuestSchool" />
<result column="store_flow_trend" jdbcType="TINYINT" property="storeFlowTrend" />
<result column="near_repast" jdbcType="TINYINT" property="nearRepast" />
<result column="near_neighbor" jdbcType="TINYINT" property="nearNeighbor" />
<result column="near_compete" jdbcType="TINYINT" property="nearCompete" />
<result column="near_business_condition" jdbcType="TINYINT" property="nearBusinessCondition" />
<result column="intend_position" jdbcType="TINYINT" property="intendPosition" />
<result column="green_belt" jdbcType="TINYINT" property="greenBelt" />
<result column="store_outlook" jdbcType="TINYINT" property="storeOutlook" />
<result column="guest_convenience" jdbcType="TINYINT" property="guestConvenience" />
<result column="want_shop_size" jdbcType="TINYINT" property="wantShopSize" />
<result column="compete_type" jdbcType="TINYINT" property="competeType" />
<result column="compete_business_capacity" jdbcType="TINYINT" property="competeBusinessCapacity" />
<result column="invest_amount" jdbcType="VARCHAR" property="investAmount" />
<result column="day_trader" jdbcType="VARCHAR" property="dayTrader" />
<result column="profit_rate" jdbcType="VARCHAR" property="profitRate" />
<result column="month_profit_rate" jdbcType="VARCHAR" property="monthProfitRate" />
<result column="delivery_rate" jdbcType="VARCHAR" property="deliveryRate" />
<result column="delivery_fee" jdbcType="VARCHAR" property="deliveryFee" />
<result column="brand_use_rate" jdbcType="VARCHAR" property="brandUseRate" />
<result column="brand_use_fee" jdbcType="VARCHAR" property="brandUseFee" />
<result column="staff_fee" jdbcType="VARCHAR" property="staffFee" />
<result column="shop_manager_num" jdbcType="INTEGER" property="shopManagerNum" />
<result column="shop_manager_fee" jdbcType="INTEGER" property="shopManagerFee" />
<result column="clerk_num" jdbcType="INTEGER" property="clerkNum" />
<result column="clerk_fee" jdbcType="INTEGER" property="clerkFee" />
<result column="bonus" jdbcType="VARCHAR" property="bonus" />
<result column="month_rent" jdbcType="VARCHAR" property="monthRent" />
<result column="other_fee" jdbcType="VARCHAR" property="otherFee" />
<result column="net_profit" jdbcType="VARCHAR" property="netProfit" />
<result column="month_rate_return" jdbcType="VARCHAR" property="monthRateReturn" />
<result column="development_manager_sign" jdbcType="VARCHAR" property="developmentManagerSign" />
<result column="development_manager_sign_time" jdbcType="TIMESTAMP" property="developmentManagerSignTime" />
<result column="operation_user_sign" jdbcType="VARCHAR" property="operationUserSign" />
<result column="operation_user_sign_time" jdbcType="TIMESTAMP" property="operationUserSignTime" />
<result column="line_sign" jdbcType="VARCHAR" property="lineSign" />
<result column="line_sign_time" jdbcType="TIMESTAMP" property="lineSignTime" />
<result column="market_size_score" jdbcType="INTEGER" property="marketSizeScore" />
<result column="shop_area_score" jdbcType="INTEGER" property="shopAreaScore" />
<result column="convenient_score" jdbcType="INTEGER" property="convenientScore" />
<result column="environment_score" jdbcType="INTEGER" property="environmentScore" />
<result column="rent_contract" jdbcType="VARCHAR" property="rentContract" />
<result column="map_evaluation_report" jdbcType="VARCHAR" property="mapEvaluationReport" />
<result column="deleted" jdbcType="BIT" property="deleted" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
<result column="picture_obj" jdbcType="LONGVARCHAR" property="pictureObj" />
</resultMap>
<select id="getPointDetailIdByPointId" resultType="java.lang.Long">
select id from xfsg_point_detail_info where point_id = #{pointId}
</select>
<select id="getShopPointDetailInfoByPointId" resultMap="BaseResultMap">
select * from xfsg_point_detail_info where point_id = #{pointId} and deleted = 0
</select>
</mapper>