|
@@ -2,46 +2,102 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
|
|
|
<mapper namespace="cn.chinaunicom.omniFlowNetCompute.mapper.FreemarketMapper">
|
|
<mapper namespace="cn.chinaunicom.omniFlowNetCompute.mapper.FreemarketMapper">
|
|
|
-
|
|
|
|
|
- <resultMap type="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket" id="BaseResultMap">
|
|
|
|
|
- <id column="id" property="id" jdbcType="BIGINT"/>
|
|
|
|
|
- <result column="announcement_type" property="announcementType" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="announcement_title" property="announcementTitle" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="project_code" property="projectCode" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="is_relevant" property="isRelevant" jdbcType="TINYINT"/>
|
|
|
|
|
- <result column="purchase_unit" property="purchaseUnit" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="final_user" property="finalUser" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="natural_customer_id" property="naturalCustomerId" jdbcType="BIGINT"/>
|
|
|
|
|
- <result column="customer_group" property="customerGroup" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="category" property="category" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="project_name" property="projectName" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="tender_agent" property="tenderAgent" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="tender_agent_phone" property="tenderAgentPhone" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="match_keywords" property="matchKeywords" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="bid_document_deadline" property="bidDocumentDeadline" />
|
|
|
|
|
- <result column="bid_opening_date" property="bidOpeningDate" />
|
|
|
|
|
- <result column="announcement_url" property="announcementUrl" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="jianyu_url" property="jianyuUrl" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="budget" property="budget" jdbcType="DECIMAL"/>
|
|
|
|
|
- <result column="tender_info_publish_time" property="tenderInfoPublishTime" />
|
|
|
|
|
- <result column="branch_company" property="branchCompany" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="industry" property="industry" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="business_category" property="businessCategory" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="business_demand" property="businessDemand" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="opportunity_id" property="opportunityId" jdbcType="BIGINT"/>
|
|
|
|
|
- <result column="is_participate" property="isParticipate" jdbcType="TINYINT"/>
|
|
|
|
|
- <result column="not_participate_reason" property="notParticipateReason" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="current_stage_start_time" property="currentStageStartTime" />
|
|
|
|
|
- <result column="support_main_unit" property="supportMainUnit" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="support_department" property="supportDepartment" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="is_aware" property="isAware" jdbcType="TINYINT"/>
|
|
|
|
|
- <result column="rbg_label" property="rbgLabel" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="discard_approval_number" property="discardApprovalNumber" jdbcType="VARCHAR"/>
|
|
|
|
|
- <result column="publish_time" property="publishTime" />
|
|
|
|
|
- <result column="create_time" property="createTime" />
|
|
|
|
|
- <result column="update_time" property="updateTime" />
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <resultMap type="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket" id="FreemarketResult">
|
|
|
|
|
+ <id property="id" column="id" />
|
|
|
|
|
+ <result property="announcementType" column="announcement_type" />
|
|
|
|
|
+ <result property="announcementTitle" column="announcement_title" />
|
|
|
|
|
+ <result property="projectCode" column="project_code" />
|
|
|
|
|
+ <result property="isRelevant" column="is_relevant" />
|
|
|
|
|
+ <result property="purchaseUnit" column="purchase_unit" />
|
|
|
|
|
+ <result property="finalUser" column="final_user" />
|
|
|
|
|
+ <result property="naturalCustomerId" column="natural_customer_id" />
|
|
|
|
|
+ <result property="customerGroup" column="customer_group" />
|
|
|
|
|
+ <result property="category" column="category" />
|
|
|
|
|
+ <result property="projectName" column="project_name" />
|
|
|
|
|
+ <result property="tenderAgent" column="tender_agent" />
|
|
|
|
|
+ <result property="tenderAgentPhone" column="tender_agent_phone" />
|
|
|
|
|
+ <result property="matchKeywords" column="match_keywords" />
|
|
|
|
|
+ <result property="bidDocumentDeadline" column="bid_document_deadline" />
|
|
|
|
|
+ <result property="bidOpeningDate" column="bid_opening_date" />
|
|
|
|
|
+ <result property="announcementUrl" column="announcement_url" />
|
|
|
|
|
+ <result property="jianyuUrl" column="jianyu_url" />
|
|
|
|
|
+ <result property="budget" column="budget" />
|
|
|
|
|
+ <result property="tenderInfoPublishTime" column="tender_info_publish_time" />
|
|
|
|
|
+ <result property="branchCompany" column="branch_company" />
|
|
|
|
|
+ <result property="industry" column="industry" />
|
|
|
|
|
+ <result property="businessCategory" column="business_category" />
|
|
|
|
|
+ <result property="businessDemand" column="business_demand" />
|
|
|
|
|
+ <result property="opportunityId" column="opportunity_id" />
|
|
|
|
|
+ <result property="isParticipate" column="is_participate" />
|
|
|
|
|
+ <result property="notParticipateReason" column="not_participate_reason" />
|
|
|
|
|
+ <result property="isAware" column="is_aware" />
|
|
|
|
|
+ <result property="rbgLabel" column="rbg_label" />
|
|
|
|
|
+ <result property="discardApprovalNumber" column="discard_approval_number" />
|
|
|
|
|
+ <result property="publishTime" column="publish_time" />
|
|
|
|
|
+ <result property="createTime" column="create_time" />
|
|
|
|
|
+ <result property="updateTime" column="update_time" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 共享的ResultMap,两个Mapper都可以引用 -->
|
|
|
|
|
+ <resultMap type="cn.chinaunicom.omniFlowNetCompute.pojo.OpportunityFreemarketVO"
|
|
|
|
|
+ id="OpportunityFreemarketResult">
|
|
|
|
|
+ <!-- ========== Opportunity 字段映射 ========== -->
|
|
|
|
|
+ <result property="oppId" column="opp_id" />
|
|
|
|
|
+ <result property="opportunityCode" column="opportunity_code" />
|
|
|
|
|
+ <result property="opportunityName" column="opportunity_name" />
|
|
|
|
|
+ <result property="oppNaturalCustomerId" column="opp_natural_customer_id" />
|
|
|
|
|
+ <result property="oppNaturalCustomerName" column="opp_natural_customer_name" />
|
|
|
|
|
+ <result property="estimatedContractAmount" column="estimated_contract_amount" />
|
|
|
|
|
+ <result property="estimatedSignDate" column="estimated_sign_date" />
|
|
|
|
|
+ <result property="opportunityOwner" column="opportunity_owner" />
|
|
|
|
|
+ <result property="opportunityUnit" column="opportunity_unit" />
|
|
|
|
|
+ <result property="supportPerson" column="support_person" />
|
|
|
|
|
+ <result property="supportUnit" column="support_unit" />
|
|
|
|
|
+ <result property="customerRequirement" column="customer_requirement" />
|
|
|
|
|
+ <result property="supportDepartment" column="support_department" />
|
|
|
|
|
+ <result property="customerFundSource" column="customer_fund_source" />
|
|
|
|
|
+ <result property="fillTime" column="fill_time" />
|
|
|
|
|
+ <result property="opportunityStage" column="opportunity_stage" />
|
|
|
|
|
+ <result property="establishTime" column="establish_time" />
|
|
|
|
|
+
|
|
|
|
|
+ <!-- ========== Freemarket 字段映射 ========== -->
|
|
|
|
|
+ <result property="fmId" column="fm_id" />
|
|
|
|
|
+ <result property="announcementType" column="announcement_type" />
|
|
|
|
|
+ <result property="announcementTitle" column="announcement_title" />
|
|
|
|
|
+ <result property="projectCode" column="project_code" />
|
|
|
|
|
+ <result property="isRelevant" column="is_relevant" />
|
|
|
|
|
+ <result property="purchaseUnit" column="purchase_unit" />
|
|
|
|
|
+ <result property="finalUser" column="final_user" />
|
|
|
|
|
+ <result property="fmNaturalCustomerId" column="fm_natural_customer_id" />
|
|
|
|
|
+ <result property="customerGroup" column="customer_group" />
|
|
|
|
|
+ <result property="category" column="category" />
|
|
|
|
|
+ <result property="projectName" column="project_name" />
|
|
|
|
|
+ <result property="tenderAgent" column="tender_agent" />
|
|
|
|
|
+ <result property="tenderAgentPhone" column="tender_agent_phone" />
|
|
|
|
|
+ <result property="matchKeywords" column="match_keywords" />
|
|
|
|
|
+ <result property="bidDocumentDeadline" column="bid_document_deadline" />
|
|
|
|
|
+ <result property="bidOpeningDate" column="bid_opening_date" />
|
|
|
|
|
+ <result property="announcementUrl" column="announcement_url" />
|
|
|
|
|
+ <result property="jianyuUrl" column="jianyu_url" />
|
|
|
|
|
+ <result property="budget" column="budget" />
|
|
|
|
|
+ <result property="tenderInfoPublishTime" column="tender_info_publish_time" />
|
|
|
|
|
+ <result property="branchCompany" column="branch_company" />
|
|
|
|
|
+ <result property="industry" column="industry" />
|
|
|
|
|
+ <result property="businessCategory" column="business_category" />
|
|
|
|
|
+ <result property="businessDemand" column="business_demand" />
|
|
|
|
|
+ <result property="opportunityId" column="opportunity_id" />
|
|
|
|
|
+ <result property="isParticipate" column="is_participate" />
|
|
|
|
|
+ <result property="notParticipateReason" column="not_participate_reason" />
|
|
|
|
|
+ <result property="isAware" column="is_aware" />
|
|
|
|
|
+ <result property="rbgLabel" column="rbg_label" />
|
|
|
|
|
+ <result property="discardApprovalNumber" column="discard_approval_number" />
|
|
|
|
|
+ <result property="publishTime" column="publish_time" />
|
|
|
|
|
+ <result property="fmCreateTime" column="fm_create_time" />
|
|
|
|
|
+ <result property="fmUpdateTime" column="fm_update_time" />
|
|
|
|
|
+ </resultMap>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<!-- 通用查询字段 -->
|
|
<!-- 通用查询字段 -->
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, announcement_type, announcement_title, project_code, is_relevant, purchase_unit, final_user,
|
|
id, announcement_type, announcement_title, project_code, is_relevant, purchase_unit, final_user,
|
|
@@ -53,7 +109,7 @@
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<!-- ========== 核心SQL 1:详情页查询 - 根据主键ID查询单条详情数据 ========== -->
|
|
<!-- ========== 核心SQL 1:详情页查询 - 根据主键ID查询单条详情数据 ========== -->
|
|
|
- <select id="selectById" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
|
|
|
|
+ <select id="selectById" parameterType="java.lang.Long" resultMap="FreemarketResult">
|
|
|
SELECT
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM project_announcement
|
|
FROM project_announcement
|
|
@@ -61,7 +117,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<!-- ========== 核心SQL 2:列表页查询 - 分页+多条件模糊查询(最常用) ========== -->
|
|
<!-- ========== 核心SQL 2:列表页查询 - 分页+多条件模糊查询(最常用) ========== -->
|
|
|
- <select id="selectPageByCondition" parameterType="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket" resultMap="BaseResultMap">
|
|
|
|
|
|
|
+ <select id="selectPageByCondition" parameterType="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket" resultMap="FreemarketResult">
|
|
|
SELECT
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM freemarket
|
|
FROM freemarket
|
|
@@ -93,4 +149,177 @@
|
|
|
<!-- 排序:按创建时间倒序,最新的在前面 -->
|
|
<!-- 排序:按创建时间倒序,最新的在前面 -->
|
|
|
ORDER BY create_time DESC
|
|
ORDER BY create_time DESC
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+
|
|
|
|
|
+ <select id="selectFreemarketById" parameterType="Long"
|
|
|
|
|
+ resultMap="OpportunityFreemarketResult">
|
|
|
|
|
+ SELECT
|
|
|
|
|
+ f.id as fm_id,
|
|
|
|
|
+ f.announcement_type,
|
|
|
|
|
+ f.announcement_title,
|
|
|
|
|
+ f.project_code,
|
|
|
|
|
+ f.is_relevant,
|
|
|
|
|
+ f.purchase_unit,
|
|
|
|
|
+ f.final_user,
|
|
|
|
|
+ f.natural_customer_id as fm_natural_customer_id,
|
|
|
|
|
+ f.customer_group,
|
|
|
|
|
+ f.category,
|
|
|
|
|
+ f.project_name,
|
|
|
|
|
+ f.tender_agent,
|
|
|
|
|
+ f.tender_agent_phone,
|
|
|
|
|
+ f.match_keywords,
|
|
|
|
|
+ f.bid_document_deadline,
|
|
|
|
|
+ f.bid_opening_date,
|
|
|
|
|
+ f.announcement_url,
|
|
|
|
|
+ f.jianyu_url,
|
|
|
|
|
+ f.budget,
|
|
|
|
|
+ f.tender_info_publish_time,
|
|
|
|
|
+ f.branch_company,
|
|
|
|
|
+ f.industry,
|
|
|
|
|
+ f.business_category,
|
|
|
|
|
+ f.business_demand,
|
|
|
|
|
+ f.opportunity_id,
|
|
|
|
|
+ f.is_participate,
|
|
|
|
|
+ f.not_participate_reason,
|
|
|
|
|
+ f.is_aware,
|
|
|
|
|
+ f.rbg_label,
|
|
|
|
|
+ f.discard_approval_number,
|
|
|
|
|
+ f.publish_time,
|
|
|
|
|
+ f.create_time as fm_create_time,
|
|
|
|
|
+ f.update_time as fm_update_time,
|
|
|
|
|
+
|
|
|
|
|
+ o.id as opp_id,
|
|
|
|
|
+ o.opportunity_code,
|
|
|
|
|
+ o.opportunity_name,
|
|
|
|
|
+ o.natural_customer_id as opp_natural_customer_id,
|
|
|
|
|
+ o.natural_customer_name as opp_natural_customer_name,
|
|
|
|
|
+ o.estimated_contract_amount,
|
|
|
|
|
+ o.estimated_sign_date,
|
|
|
|
|
+ o.opportunity_owner,
|
|
|
|
|
+ o.opportunity_unit,
|
|
|
|
|
+ o.support_person,
|
|
|
|
|
+ o.support_unit,
|
|
|
|
|
+ o.customer_requirement,
|
|
|
|
|
+ o.support_department,
|
|
|
|
|
+ o.customer_fund_source,
|
|
|
|
|
+ o.fill_time,
|
|
|
|
|
+ o.opportunity_stage,
|
|
|
|
|
+ o.establish_time
|
|
|
|
|
+ FROM freemarket f
|
|
|
|
|
+ LEFT JOIN opportunity o ON f.opportunity_id = o.id
|
|
|
|
|
+ WHERE f.id = #{id}
|
|
|
|
|
+ </select>
|
|
|
|
|
+
|
|
|
|
|
+ <insert id="insertFreemarket" parameterType="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket" useGeneratedKeys="true" keyProperty="id">
|
|
|
|
|
+ insert into freemarket (
|
|
|
|
|
+ announcement_type,
|
|
|
|
|
+ announcement_title,
|
|
|
|
|
+ project_code,
|
|
|
|
|
+ is_relevant,
|
|
|
|
|
+ purchase_unit,
|
|
|
|
|
+ final_user,
|
|
|
|
|
+ natural_customer_id,
|
|
|
|
|
+ customer_group,
|
|
|
|
|
+ category,
|
|
|
|
|
+ project_name,
|
|
|
|
|
+ tender_agent,
|
|
|
|
|
+ tender_agent_phone,
|
|
|
|
|
+ match_keywords,
|
|
|
|
|
+ bid_document_deadline,
|
|
|
|
|
+ bid_opening_date,
|
|
|
|
|
+ announcement_url,
|
|
|
|
|
+ jianyu_url,
|
|
|
|
|
+ budget,
|
|
|
|
|
+ tender_info_publish_time,
|
|
|
|
|
+ branch_company,
|
|
|
|
|
+ industry,
|
|
|
|
|
+ business_category,
|
|
|
|
|
+ business_demand,
|
|
|
|
|
+ opportunity_id,
|
|
|
|
|
+ is_participate,
|
|
|
|
|
+ not_participate_reason,
|
|
|
|
|
+ is_aware,
|
|
|
|
|
+ rbg_label,
|
|
|
|
|
+ discard_approval_number,
|
|
|
|
|
+ publish_time
|
|
|
|
|
+ ) values (
|
|
|
|
|
+ #{announcementType},
|
|
|
|
|
+ #{announcementTitle},
|
|
|
|
|
+ #{projectCode},
|
|
|
|
|
+ #{isRelevant},
|
|
|
|
|
+ #{purchaseUnit},
|
|
|
|
|
+ #{finalUser},
|
|
|
|
|
+ #{naturalCustomerId},
|
|
|
|
|
+ #{customerGroup},
|
|
|
|
|
+ #{category},
|
|
|
|
|
+ #{projectName},
|
|
|
|
|
+ #{tenderAgent},
|
|
|
|
|
+ #{tenderAgentPhone},
|
|
|
|
|
+ #{matchKeywords},
|
|
|
|
|
+ #{bidDocumentDeadline},
|
|
|
|
|
+ #{bidOpeningDate},
|
|
|
|
|
+ #{announcementUrl},
|
|
|
|
|
+ #{jianyuUrl},
|
|
|
|
|
+ #{budget},
|
|
|
|
|
+ #{tenderInfoPublishTime},
|
|
|
|
|
+ #{branchCompany},
|
|
|
|
|
+ #{industry},
|
|
|
|
|
+ #{businessCategory},
|
|
|
|
|
+ #{businessDemand},
|
|
|
|
|
+ #{opportunityId},
|
|
|
|
|
+ #{isParticipate},
|
|
|
|
|
+ #{notParticipateReason},
|
|
|
|
|
+ #{isAware},
|
|
|
|
|
+ #{rbgLabel},
|
|
|
|
|
+ #{discardApprovalNumber},
|
|
|
|
|
+ #{publishTime}
|
|
|
|
|
+ )
|
|
|
|
|
+ </insert>
|
|
|
|
|
+
|
|
|
|
|
+ <update id="updateFreemarket" parameterType="cn.chinaunicom.omniFlowNetCompute.domain.Freemarket">
|
|
|
|
|
+ update freemarket
|
|
|
|
|
+ <set>
|
|
|
|
|
+ <if test="announcementType != null">announcement_type = #{announcementType},</if>
|
|
|
|
|
+ <if test="announcementTitle != null">announcement_title = #{announcementTitle},</if>
|
|
|
|
|
+ <if test="projectCode != null">project_code = #{projectCode},</if>
|
|
|
|
|
+ <if test="isRelevant != null">is_relevant = #{isRelevant},</if>
|
|
|
|
|
+ <if test="purchaseUnit != null">purchase_unit = #{purchaseUnit},</if>
|
|
|
|
|
+ <if test="finalUser != null">final_user = #{finalUser},</if>
|
|
|
|
|
+ <if test="naturalCustomerId != null">natural_customer_id = #{naturalCustomerId},</if>
|
|
|
|
|
+ <if test="customerGroup != null">customer_group = #{customerGroup},</if>
|
|
|
|
|
+ <if test="category != null">category = #{category},</if>
|
|
|
|
|
+ <if test="projectName != null">project_name = #{projectName},</if>
|
|
|
|
|
+ <if test="tenderAgent != null">tender_agent = #{tenderAgent},</if>
|
|
|
|
|
+ <if test="tenderAgentPhone != null">tender_agent_phone = #{tenderAgentPhone},</if>
|
|
|
|
|
+ <if test="matchKeywords != null">match_keywords = #{matchKeywords},</if>
|
|
|
|
|
+ <if test="bidDocumentDeadline != null">bid_document_deadline = #{bidDocumentDeadline},</if>
|
|
|
|
|
+ <if test="bidOpeningDate != null">bid_opening_date = #{bidOpeningDate},</if>
|
|
|
|
|
+ <if test="announcementUrl != null">announcement_url = #{announcementUrl},</if>
|
|
|
|
|
+ <if test="jianyuUrl != null">jianyu_url = #{jianyuUrl},</if>
|
|
|
|
|
+ <if test="budget != null">budget = #{budget},</if>
|
|
|
|
|
+ <if test="tenderInfoPublishTime != null">tender_info_publish_time = #{tenderInfoPublishTime},</if>
|
|
|
|
|
+ <if test="branchCompany != null">branch_company = #{branchCompany},</if>
|
|
|
|
|
+ <if test="industry != null">industry = #{industry},</if>
|
|
|
|
|
+ <if test="businessCategory != null">business_category = #{businessCategory},</if>
|
|
|
|
|
+ <if test="businessDemand != null">business_demand = #{businessDemand},</if>
|
|
|
|
|
+ <if test="opportunityId != null">opportunity_id = #{opportunityId},</if>
|
|
|
|
|
+ <if test="isParticipate != null">is_participate = #{isParticipate},</if>
|
|
|
|
|
+ <if test="notParticipateReason != null">not_participate_reason = #{notParticipateReason},</if>
|
|
|
|
|
+ <if test="isAware != null">is_aware = #{isAware},</if>
|
|
|
|
|
+ <if test="rbgLabel != null">rbg_label = #{rbgLabel},</if>
|
|
|
|
|
+ <if test="discardApprovalNumber != null">discard_approval_number = #{discardApprovalNumber},</if>
|
|
|
|
|
+ <if test="publishTime != null">publish_time = #{publishTime},</if>
|
|
|
|
|
+ </set>
|
|
|
|
|
+ where id = #{id}
|
|
|
|
|
+ </update>
|
|
|
|
|
+
|
|
|
|
|
+ <delete id="deleteFreemarketById" parameterType="Long">
|
|
|
|
|
+ delete from freemarket where id = #{id}
|
|
|
|
|
+ </delete>
|
|
|
|
|
+
|
|
|
|
|
+ <delete id="deleteFreemarketByIds" parameterType="Long">
|
|
|
|
|
+ delete from freemarket where id in
|
|
|
|
|
+ <foreach item="id" collection="array" open="(" separator="," close=")">
|
|
|
|
|
+ #{id}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </delete>
|
|
|
</mapper>
|
|
</mapper>
|