Commit 349dc84e by zhiwj

添加acuId

parent d02c9bfd
...@@ -39,6 +39,11 @@ public class TabProblemReply { ...@@ -39,6 +39,11 @@ public class TabProblemReply {
/** /**
* *
*/ */
private Long acuId;
/**
*
*/
private Long memberId; private Long memberId;
/** /**
...@@ -124,6 +129,14 @@ public class TabProblemReply { ...@@ -124,6 +129,14 @@ public class TabProblemReply {
this.ecuId = ecuId; this.ecuId = ecuId;
} }
public Long getAcuId() {
return acuId;
}
public void setAcuId(Long acuId) {
this.acuId = acuId;
}
public Long getMemberId() { public Long getMemberId() {
return memberId; return memberId;
} }
......
...@@ -70,6 +70,7 @@ public class ProblemReplyServiceImpl implements ProblemReplyService { ...@@ -70,6 +70,7 @@ public class ProblemReplyServiceImpl implements ProblemReplyService {
problemReply.setReplyerType(ReplyerTypeEnum.MEMBER.getCode()); problemReply.setReplyerType(ReplyerTypeEnum.MEMBER.getCode());
problemReply.setReplyContent(problemMemberReplyDTO.getReplyContent()); problemReply.setReplyContent(problemMemberReplyDTO.getReplyContent());
problemReply.setEcuId(problemMemberReplyDTO.getEcuId()); problemReply.setEcuId(problemMemberReplyDTO.getEcuId());
problemReply.setAcuId(problemMemberReplyDTO.getAcuId());
problemReply.setMemberId(problemMemberReplyDTO.getMemberId()); problemReply.setMemberId(problemMemberReplyDTO.getMemberId());
problemReply.setMemberName(problemMemberReplyDTO.getMemberName()); problemReply.setMemberName(problemMemberReplyDTO.getMemberName());
problemReply.setMemberImgUrl(problemMemberReplyDTO.getMemberImgUrl()); problemReply.setMemberImgUrl(problemMemberReplyDTO.getMemberImgUrl());
......
...@@ -52,6 +52,7 @@ public class ProblemServiceImpl implements ProblemService { ...@@ -52,6 +52,7 @@ public class ProblemServiceImpl implements ProblemService {
problem.setStoreId(problemDTO.getStoreId()); problem.setStoreId(problemDTO.getStoreId());
problem.setStoreName(problemDTO.getStoreName()); problem.setStoreName(problemDTO.getStoreName());
problem.setEcuId(problemDTO.getEcuId()); problem.setEcuId(problemDTO.getEcuId());
problem.setAcuId(problemDTO.getAcuId());
problem.setMemberId(problemDTO.getMemberId()); problem.setMemberId(problemDTO.getMemberId());
problem.setMemberName(problemDTO.getMemberName()); problem.setMemberName(problemDTO.getMemberName());
problem.setMemberPhone(problemDTO.getMemberPhone()); problem.setMemberPhone(problemDTO.getMemberPhone());
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<result column="replyer_type" jdbcType="INTEGER" property="replyerType" /> <result column="replyer_type" jdbcType="INTEGER" property="replyerType" />
<result column="reply_content" jdbcType="VARCHAR" property="replyContent" /> <result column="reply_content" jdbcType="VARCHAR" property="replyContent" />
<result column="ecu_id" jdbcType="BIGINT" property="ecuId" /> <result column="ecu_id" jdbcType="BIGINT" property="ecuId" />
<result column="acu_id" jdbcType="BIGINT" property="acuId" />
<result column="member_id" jdbcType="BIGINT" property="memberId" /> <result column="member_id" jdbcType="BIGINT" property="memberId" />
<result column="member_name" jdbcType="VARCHAR" property="memberName" /> <result column="member_name" jdbcType="VARCHAR" property="memberName" />
<result column="member_img_url" jdbcType="VARCHAR" property="memberImgUrl" /> <result column="member_img_url" jdbcType="VARCHAR" property="memberImgUrl" />
...@@ -19,7 +20,7 @@ ...@@ -19,7 +20,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
problem_reply_id, enterprise_id, problem_id, replyer_type, reply_content, ecu_id, problem_reply_id, enterprise_id, problem_id, replyer_type, reply_content, ecu_id,
member_id, member_name, member_img_url, user_id, user_name, status, create_time, acu_id, member_id, member_name, member_img_url, user_id, user_name, status, create_time,
update_time update_time
</sql> </sql>
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
...@@ -35,14 +36,16 @@ ...@@ -35,14 +36,16 @@
<insert id="insert" parameterType="com.gic.evaluate.entity.TabProblemReply"> <insert id="insert" parameterType="com.gic.evaluate.entity.TabProblemReply">
insert into tab_problem_reply (problem_reply_id, enterprise_id, problem_id, insert into tab_problem_reply (problem_reply_id, enterprise_id, problem_id,
replyer_type, reply_content, ecu_id, replyer_type, reply_content, ecu_id,
member_id, member_name, member_img_url, acu_id, member_id, member_name,
user_id, user_name, status, member_img_url, user_id, user_name,
create_time, update_time) status, create_time, update_time
)
values (#{problemReplyId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{problemId,jdbcType=INTEGER}, values (#{problemReplyId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{problemId,jdbcType=INTEGER},
#{replyerType,jdbcType=INTEGER}, #{replyContent,jdbcType=VARCHAR}, #{ecuId,jdbcType=BIGINT}, #{replyerType,jdbcType=INTEGER}, #{replyContent,jdbcType=VARCHAR}, #{ecuId,jdbcType=BIGINT},
#{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR}, #{memberImgUrl,jdbcType=VARCHAR}, #{acuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR},
#{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{memberImgUrl,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}) #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert> </insert>
<insert id="insertSelective" parameterType="com.gic.evaluate.entity.TabProblemReply"> <insert id="insertSelective" parameterType="com.gic.evaluate.entity.TabProblemReply">
<selectKey keyProperty="problemReplyId" order="AFTER" resultType="java.lang.Integer"> <selectKey keyProperty="problemReplyId" order="AFTER" resultType="java.lang.Integer">
...@@ -68,6 +71,9 @@ ...@@ -68,6 +71,9 @@
<if test="ecuId != null"> <if test="ecuId != null">
ecu_id, ecu_id,
</if> </if>
<if test="acuId != null">
acu_id,
</if>
<if test="memberId != null"> <if test="memberId != null">
member_id, member_id,
</if> </if>
...@@ -112,6 +118,9 @@ ...@@ -112,6 +118,9 @@
<if test="ecuId != null"> <if test="ecuId != null">
#{ecuId,jdbcType=BIGINT}, #{ecuId,jdbcType=BIGINT},
</if> </if>
<if test="acuId != null">
#{acuId,jdbcType=BIGINT},
</if>
<if test="memberId != null"> <if test="memberId != null">
#{memberId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT},
</if> </if>
...@@ -156,6 +165,9 @@ ...@@ -156,6 +165,9 @@
<if test="ecuId != null"> <if test="ecuId != null">
ecu_id = #{ecuId,jdbcType=BIGINT}, ecu_id = #{ecuId,jdbcType=BIGINT},
</if> </if>
<if test="acuId != null">
acu_id = #{acuId,jdbcType=BIGINT},
</if>
<if test="memberId != null"> <if test="memberId != null">
member_id = #{memberId,jdbcType=BIGINT}, member_id = #{memberId,jdbcType=BIGINT},
</if> </if>
...@@ -190,6 +202,7 @@ ...@@ -190,6 +202,7 @@
replyer_type = #{replyerType,jdbcType=INTEGER}, replyer_type = #{replyerType,jdbcType=INTEGER},
reply_content = #{replyContent,jdbcType=VARCHAR}, reply_content = #{replyContent,jdbcType=VARCHAR},
ecu_id = #{ecuId,jdbcType=BIGINT}, ecu_id = #{ecuId,jdbcType=BIGINT},
acu_id = #{acuId,jdbcType=BIGINT},
member_id = #{memberId,jdbcType=BIGINT}, member_id = #{memberId,jdbcType=BIGINT},
member_name = #{memberName,jdbcType=VARCHAR}, member_name = #{memberName,jdbcType=VARCHAR},
member_img_url = #{memberImgUrl,jdbcType=VARCHAR}, member_img_url = #{memberImgUrl,jdbcType=VARCHAR},
......
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