Commit 1b4a9b45 by Water Wang

resolve conflict

parents 2a40f262 ec171b5e
...@@ -538,7 +538,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -538,7 +538,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
for(AclPractitionerPotentialAssignedTrack item : assignedTrackIsLastedList){ for(AclPractitionerPotentialAssignedTrack item : assignedTrackIsLastedList){
item.setIsLasted(0); item.setIsLasted(0);
item.setUpdatedBy(practitionerId); item.setUpdatedBy(practitionerId);
item.setUpdatorType(2); item.setUpdaterType(2);
item.setUpdatedAt(new Date()); item.setUpdatedAt(new Date());
assignedTrackUpdateList.add(item); assignedTrackUpdateList.add(item);
} }
......
...@@ -114,7 +114,7 @@ public class AclPractitionerPotential implements Serializable { ...@@ -114,7 +114,7 @@ public class AclPractitionerPotential implements Serializable {
private Integer creatorType; private Integer creatorType;
private Integer updatorType; private Integer updaterType;
private Long customerId; private Long customerId;
} }
\ No newline at end of file
...@@ -62,7 +62,7 @@ public class AclPractitionerPotentialAssignedTrack implements Serializable { ...@@ -62,7 +62,7 @@ public class AclPractitionerPotentialAssignedTrack implements Serializable {
private Integer creatorType; private Integer creatorType;
private Integer updatorType; private Integer updaterType;
private Integer isLasted; private Integer isLasted;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<result column="created_by" jdbcType="BIGINT" property="createdBy" /> <result column="created_by" jdbcType="BIGINT" property="createdBy" />
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="updated_by" jdbcType="BIGINT" property="updatedBy" /> <result column="updated_by" jdbcType="BIGINT" property="updatedBy" />
<result column="updator_type" jdbcType="INTEGER" property="updatorType" /> <result column="updater_type" jdbcType="INTEGER" property="updaterType" />
<result column="creator_type" jdbcType="INTEGER" property="creatorType" /> <result column="creator_type" jdbcType="INTEGER" property="creatorType" />
<result column="is_lasted" jdbcType="INTEGER" property="isLasted" /> <result column="is_lasted" jdbcType="INTEGER" property="isLasted" />
<result column="track_score" jdbcType="INTEGER" property="trackScore" /> <result column="track_score" jdbcType="INTEGER" property="trackScore" />
...@@ -63,11 +63,11 @@ ...@@ -63,11 +63,11 @@
insert into ag_acl_practitioner_potential_assigned_track (practitioner_potential_id, practitioner_assigned_id, insert into ag_acl_practitioner_potential_assigned_track (practitioner_potential_id, practitioner_assigned_id,
track_status_id, track_score,notice, is_active, track_status_id, track_score,notice, is_active,
created_at, created_by, updated_at, created_at, created_by, updated_at,
updated_by, updator_type,creator_type,is_lasted ) updated_by, updater_type,creator_type,is_lasted )
values (#{practitionerPotentialId,jdbcType=BIGINT}, #{practitionerAssignedId,jdbcType=BIGINT}, values (#{practitionerPotentialId,jdbcType=BIGINT}, #{practitionerAssignedId,jdbcType=BIGINT},
#{trackStatusId,jdbcType=BIGINT},#{trackScore,jdbcType=INTEGER}, #{notice,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER}, #{trackStatusId,jdbcType=BIGINT},#{trackScore,jdbcType=INTEGER}, #{notice,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=BIGINT},#{updatorType,jdbcType=INTEGER}, #{creatorType,jdbcType=INTEGER},#{isLasted,jdbcType=INTEGER}) #{updatedBy,jdbcType=BIGINT},#{updaterType,jdbcType=INTEGER}, #{creatorType,jdbcType=INTEGER},#{isLasted,jdbcType=INTEGER})
</insert> </insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yd.dal.entity.customer.AclPractitionerPotentialAssignedTrack" useGeneratedKeys="true"> <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yd.dal.entity.customer.AclPractitionerPotentialAssignedTrack" useGeneratedKeys="true">
insert into ag_acl_practitioner_potential_assigned_track insert into ag_acl_practitioner_potential_assigned_track
...@@ -105,8 +105,8 @@ ...@@ -105,8 +105,8 @@
<if test="creatorType != null"> <if test="creatorType != null">
creator_type, creator_type,
</if> </if>
<if test="updatorType != null"> <if test="updaterType != null">
updator_type, updater_type,
</if> </if>
<if test="isLasted != null"> <if test="isLasted != null">
is_lasted, is_lasted,
...@@ -144,10 +144,10 @@ ...@@ -144,10 +144,10 @@
#{updatedBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT},
</if> </if>
<if test="creatorType != null"> <if test="creatorType != null">
#{creatorType,jdbcType=BIGINT}, #{creatorType,jdbcType=INTEGER},
</if> </if>
<if test="updatorType != null"> <if test="updaterType != null">
#{updatorType,jdbcType=BIGINT}, #{updaterType,jdbcType=INTEGER},
</if> </if>
<if test="isLasted != null"> <if test="isLasted != null">
#{isLasted,jdbcType=INTEGER}, #{isLasted,jdbcType=INTEGER},
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
insert into ag_acl_practitioner_potential_assigned_track(practitioner_potential_id, practitioner_assigned_id, insert into ag_acl_practitioner_potential_assigned_track(practitioner_potential_id, practitioner_assigned_id,
track_status_id, track_score,notice, is_active, track_status_id, track_score,notice, is_active,
created_at, created_by, updated_at, created_at, created_by, updated_at,
updated_by, updator_type,creator_type,is_lasted ) updated_by, updater_type,creator_type,is_lasted )
values values
<foreach collection="potentialAssignedTrackList" item="item" index="index" separator=","> <foreach collection="potentialAssignedTrackList" item="item" index="index" separator=",">
( (
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
#{item.createdBy}, #{item.createdBy},
#{item.updatedAt}, #{item.updatedAt},
#{item.updatedBy}, #{item.updatedBy},
#{item.updatorType}, #{item.updaterType},
#{item.creatorType}, #{item.creatorType},
#{item.isLasted} #{item.isLasted}
) )
...@@ -211,6 +211,15 @@ ...@@ -211,6 +211,15 @@
<if test="updatedBy != null"> <if test="updatedBy != null">
updated_by = #{updatedBy,jdbcType=BIGINT}, updated_by = #{updatedBy,jdbcType=BIGINT},
</if> </if>
<if test="updaterType != null">
updater_type = #{updaterType,jdbcType=TIMESTAMP},
</if>
<if test="creatorType != null">
creator_type = #{creatorType,jdbcType=BIGINT},
</if>
<if test="isLasted != null">
is_lasted = #{isLasted,jdbcType=BIGINT},
</if>
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
...@@ -224,7 +233,10 @@ ...@@ -224,7 +233,10 @@
created_at = #{createdAt,jdbcType=TIMESTAMP}, created_at = #{createdAt,jdbcType=TIMESTAMP},
created_by = #{createdBy,jdbcType=BIGINT}, created_by = #{createdBy,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=BIGINT} updated_by = #{updatedBy,jdbcType=BIGINT},
updater_type = #{updaterType,jdbcType=INTEGER},
creator_type = #{creatorType,jdbcType=INTEGER},
is_lasted = #{isLasted,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
<update id="updateAll" parameterType="java.util.List"> <update id="updateAll" parameterType="java.util.List">
......
...@@ -24,12 +24,12 @@ ...@@ -24,12 +24,12 @@
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> <result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="updated_by" jdbcType="BIGINT" property="updatedBy" /> <result column="updated_by" jdbcType="BIGINT" property="updatedBy" />
<result column="creator_type" jdbcType="BIGINT" property="creatorType" /> <result column="creator_type" jdbcType="BIGINT" property="creatorType" />
<result column="updator_type" jdbcType="BIGINT" property="updatorType" /> <result column="updater_type" jdbcType="BIGINT" property="updaterType" />
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, customer_id,`name`, age, gender, mobile_no, wechat_id, qq_id, others_contacts, education_level, id, customer_id,`name`, age, gender, mobile_no, wechat_id, qq_id, others_contacts, education_level,
introducer, tag, remark, resource_drop_master_id, oss_path_resume, practitioner_assigned_ids, introducer, tag, remark, resource_drop_master_id, oss_path_resume, practitioner_assigned_ids,
is_active, created_at, created_by, updated_at, updated_by,creator_type,updator_type is_active, created_at, created_by, updated_at, updated_by,creator_type,updater_type
</sql> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select select
...@@ -48,14 +48,14 @@ ...@@ -48,14 +48,14 @@
tag, remark, resource_drop_master_id, tag, remark, resource_drop_master_id,
oss_path_resume, practitioner_assigned_ids, is_active, oss_path_resume, practitioner_assigned_ids, is_active,
created_at, created_by, updated_at, created_at, created_by, updated_at,
updated_by) updated_by,updater_type,creator_type)
values (#{name,jdbcType=VARCHAR},#{customerId,jdbcType=BIGINT}, #{age,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER}, values (#{name,jdbcType=VARCHAR},#{customerId,jdbcType=BIGINT}, #{age,jdbcType=BIGINT}, #{gender,jdbcType=INTEGER},
#{mobileNo,jdbcType=VARCHAR}, #{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR}, #{mobileNo,jdbcType=VARCHAR}, #{wechatId,jdbcType=VARCHAR}, #{qqId,jdbcType=VARCHAR},
#{othersContacts,jdbcType=VARCHAR}, #{educationLevel,jdbcType=VARCHAR}, #{introducer,jdbcType=VARCHAR}, #{othersContacts,jdbcType=VARCHAR}, #{educationLevel,jdbcType=VARCHAR}, #{introducer,jdbcType=VARCHAR},
#{tag,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{resourceDropMasterId,jdbcType=BIGINT}, #{tag,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{resourceDropMasterId,jdbcType=BIGINT},
#{ossPathResume,jdbcType=VARCHAR}, #{practitionerAssignedIds,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER}, #{ossPathResume,jdbcType=VARCHAR}, #{practitionerAssignedIds,jdbcType=VARCHAR}, #{isActive,jdbcType=INTEGER},
#{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=BIGINT}, #{updatedAt,jdbcType=TIMESTAMP},
#{updatedBy,jdbcType=BIGINT}) #{updatedBy,jdbcType=BIGINT},#{updaterType,jdbcType=INTEGER},#{creatorType,jdbcType=INTEGER})
</insert> </insert>
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yd.dal.entity.customer.AclPractitionerPotential" useGeneratedKeys="true"> <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.yd.dal.entity.customer.AclPractitionerPotential" useGeneratedKeys="true">
insert into ag_acl_practitioner_potential insert into ag_acl_practitioner_potential
...@@ -117,6 +117,12 @@ ...@@ -117,6 +117,12 @@
<if test="updatedBy != null"> <if test="updatedBy != null">
updated_by, updated_by,
</if> </if>
<if test="creatorType != null">
creator_type,
</if>
<if test="updaterType != null">
updater_type,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="name != null"> <if test="name != null">
...@@ -176,6 +182,12 @@ ...@@ -176,6 +182,12 @@
<if test="updatedBy != null"> <if test="updatedBy != null">
#{updatedBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT},
</if> </if>
<if test="creatorType != null">
#{creatorType,jdbcType=INTEGER},
</if>
<if test="updaterType != null">
#{updaterType,jdbcType=INTEGER},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.yd.dal.entity.customer.AclPractitionerPotential"> <update id="updateByPrimaryKeySelective" parameterType="com.yd.dal.entity.customer.AclPractitionerPotential">
...@@ -238,6 +250,12 @@ ...@@ -238,6 +250,12 @@
<if test="updatedBy != null"> <if test="updatedBy != null">
updated_by = #{updatedBy,jdbcType=BIGINT}, updated_by = #{updatedBy,jdbcType=BIGINT},
</if> </if>
<if test="creatorType != null">
creator_type = #{creatorType,jdbcType=INTEGER},
</if>
<if test="updaterType != null">
updater_type = #{updaterType,jdbcType=INTEGER},
</if>
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
...@@ -261,7 +279,9 @@ ...@@ -261,7 +279,9 @@
created_at = #{createdAt,jdbcType=TIMESTAMP}, created_at = #{createdAt,jdbcType=TIMESTAMP},
created_by = #{createdBy,jdbcType=BIGINT}, created_by = #{createdBy,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, updated_at = #{updatedAt,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=BIGINT} updated_by = #{updatedBy,jdbcType=BIGINT},
creator_type = #{creatorType,jdbcType=INTEGER},
updater_type = #{updaterType,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
<select id="findByMobileNo" resultMap="BaseResultMap"> <select id="findByMobileNo" resultMap="BaseResultMap">
......
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