商机管理

This commit is contained in:
Alright-del
2025-03-15 22:35:49 +08:00
parent 6151da6057
commit 7c63aa5d00
6 changed files with 17 additions and 32 deletions

View File

@@ -27,6 +27,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="endRemark" column="end_remark"/>
<result property="delFlag" column="del_flag"/>
</resultMap>
<update id="setFollow">
update oa_business set follow_up_status = 1 where business_id=#{businessId}
</update>
<delete id="deleteBusinessById">
delete from oa_business
<where>business_id=#{businessId}</where>
</delete>
<select id="getBusinessProducts" resultType="com.ruoyi.oa.domain.vo.OaProductVo">
@@ -36,15 +43,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join oa_product op on obp.product_id = op.product_id
${ew.getCustomSqlSegment}
</select>
<update id="setFollow">
update oa_business set follow_up_status = 1 where business_id=#{businessId}
</update>
<select id="getBusinessByCustomerId" resultType="com.ruoyi.oa.domain.vo.OaBusinessVo">
select * from oa_business
<where >
customerId=#{customerId}
</where>
<where >
customerId=#{customerId}
</where>
</select>

View File

@@ -18,7 +18,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateTime" column="update_time"/>
<result property="delFlag" column="del_flag"/>
</resultMap>
<delete id="deleteByBusinessId">
delete from oa_business_product where business_id = #{businessId}
</delete>