商机管理
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user