Commit faac904f authored by gaoyuan's avatar gaoyuan

4.9.3需求---bug修复

parent 1a47716a
......@@ -97,4 +97,6 @@ public interface CustomerMapper {
void updatePtCustomerStar(Map<String, Object> map);
void updatePtCustomerCreater(Map<String, Object> map);
void updatePtCustomerCreaterMerge(Map<String, Object> map);
}
......@@ -3178,6 +3178,7 @@ public class CustomerImpl implements ICustomer {
map.put( "creater" ,userId);
map.put( "customerId",customerId );
customerMapper.updatePtCustomerCreater( map );
customerMapper.updatePtCustomerCreaterMerge( map );
//记录日志
logUtils.saveCustomerLog2( customerEntity, 11, userEntity.getId(),userEntity.getRealName(),customerEntity.getCreater(),userId );
}
......
......@@ -734,6 +734,13 @@
WHERE id = #{customerId}
</update>
<update id="updatePtCustomerCreaterMerge" parameterType="map">
UPDATE customer_merge
SET
creater = #{creater}
WHERE id = #{customerId}
</update>
<select id="queryForAddHot" resultMap="infoMap" parameterType="map">
SELECT id,phone FROM (
SELECT
......
......@@ -727,6 +727,20 @@
WHERE id = #{id}
</update>
<update id="updatePtCustomerCreater" parameterType="map">
UPDATE customer
SET
creater = #{creater}
WHERE id = #{customerId}
</update>
<update id="updatePtCustomerCreaterMerge" parameterType="map">
UPDATE customer_merge
SET
creater = #{creater}
WHERE id = #{customerId}
</update>
<select id="queryForAddHot" resultMap="infoMap" parameterType="map">
SELECT id,phone FROM (
SELECT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment