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