Commit faac904f authored by gaoyuan's avatar gaoyuan

4.9.3需求---bug修复

parent 1a47716a
...@@ -97,4 +97,6 @@ public interface CustomerMapper { ...@@ -97,4 +97,6 @@ public interface CustomerMapper {
void updatePtCustomerStar(Map<String, Object> map); void updatePtCustomerStar(Map<String, Object> map);
void updatePtCustomerCreater(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 { ...@@ -3178,6 +3178,7 @@ public class CustomerImpl implements ICustomer {
map.put( "creater" ,userId); map.put( "creater" ,userId);
map.put( "customerId",customerId ); map.put( "customerId",customerId );
customerMapper.updatePtCustomerCreater( map ); customerMapper.updatePtCustomerCreater( map );
customerMapper.updatePtCustomerCreaterMerge( map );
//记录日志 //记录日志
logUtils.saveCustomerLog2( customerEntity, 11, userEntity.getId(),userEntity.getRealName(),customerEntity.getCreater(),userId ); logUtils.saveCustomerLog2( customerEntity, 11, userEntity.getId(),userEntity.getRealName(),customerEntity.getCreater(),userId );
} }
......
...@@ -734,6 +734,13 @@ ...@@ -734,6 +734,13 @@
WHERE id = #{customerId} WHERE id = #{customerId}
</update> </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="queryForAddHot" resultMap="infoMap" parameterType="map">
SELECT id,phone FROM ( SELECT id,phone FROM (
SELECT SELECT
......
...@@ -727,6 +727,20 @@ ...@@ -727,6 +727,20 @@
WHERE id = #{id} WHERE id = #{id}
</update> </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="queryForAddHot" resultMap="infoMap" parameterType="map">
SELECT id,phone FROM ( SELECT id,phone FROM (
SELECT 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