Commit 51772cfe by yao.xiao

修改-ydLife录入商机记录修改人

parent ba887352
......@@ -1268,7 +1268,8 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
pool.setSourceFrom(requestVO.getSourceFrom());
pool.setIsActive(1);
pool.setAddedAt(new Date());
pool.setAddedBy(-1L);
pool.setAddedBy(requestVO.getAssignedPractitionerId());
pool.setAdderType(2);
mktLeadsPoolDALService.save(pool);
}
//保存至指派表
......
......@@ -52,4 +52,6 @@ public class MktLeadsPool {
* 建置者 FK ag_acl_user.id
*/
private Long addedBy;
private Integer adderType;
}
\ No newline at end of file
......@@ -70,6 +70,9 @@
<if test="addedBy != null">
added_by,
</if>
<if test="adderType != null">
adder_type,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="customerId != null">
......@@ -96,6 +99,9 @@
<if test="addedBy != null">
#{addedBy,jdbcType=BIGINT},
</if>
<if test="adderType != null">
#{adderType,jdbcType=BIGINT},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.yd.dal.entity.marketing.MktLeadsPool">
......
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