商机管理

This commit is contained in:
Alright-del
2025-03-15 18:40:54 +08:00
parent d617c6a8a8
commit 6151da6057
7 changed files with 88 additions and 2 deletions

View File

@@ -36,6 +36,16 @@ 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>
</select>
</mapper>

View File

@@ -19,5 +19,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="delFlag" column="del_flag"/>
</resultMap>
<delete id="deleteByBusinessId">
delete from oa_business_product where business_id = #{businessId}
</delete>
<select id="selectByBusinessId" resultType="com.ruoyi.oa.domain.OaBusinessProduct">
select * from oa_business_product where business_id = #{businessId}
</select>
</mapper>