Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-evaluate
Commits
349dc84e
Commit
349dc84e
authored
Jun 10, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加acuId
parent
d02c9bfd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
7 deletions
+35
-7
TabProblemReply.java
...rc/main/java/com/gic/evaluate/entity/TabProblemReply.java
+13
-0
ProblemReplyServiceImpl.java
...om/gic/evaluate/service/impl/ProblemReplyServiceImpl.java
+1
-0
ProblemServiceImpl.java
...ava/com/gic/evaluate/service/impl/ProblemServiceImpl.java
+1
-0
TabProblemReplyMapper.xml
...rvice/src/main/resources/mapper/TabProblemReplyMapper.xml
+20
-7
No files found.
gic-evaluate-service/src/main/java/com/gic/evaluate/entity/TabProblemReply.java
View file @
349dc84e
...
...
@@ -39,6 +39,11 @@ public class TabProblemReply {
/**
*
*/
private
Long
acuId
;
/**
*
*/
private
Long
memberId
;
/**
...
...
@@ -124,6 +129,14 @@ public class TabProblemReply {
this
.
ecuId
=
ecuId
;
}
public
Long
getAcuId
()
{
return
acuId
;
}
public
void
setAcuId
(
Long
acuId
)
{
this
.
acuId
=
acuId
;
}
public
Long
getMemberId
()
{
return
memberId
;
}
...
...
gic-evaluate-service/src/main/java/com/gic/evaluate/service/impl/ProblemReplyServiceImpl.java
View file @
349dc84e
...
...
@@ -70,6 +70,7 @@ public class ProblemReplyServiceImpl implements ProblemReplyService {
problemReply
.
setReplyerType
(
ReplyerTypeEnum
.
MEMBER
.
getCode
());
problemReply
.
setReplyContent
(
problemMemberReplyDTO
.
getReplyContent
());
problemReply
.
setEcuId
(
problemMemberReplyDTO
.
getEcuId
());
problemReply
.
setAcuId
(
problemMemberReplyDTO
.
getAcuId
());
problemReply
.
setMemberId
(
problemMemberReplyDTO
.
getMemberId
());
problemReply
.
setMemberName
(
problemMemberReplyDTO
.
getMemberName
());
problemReply
.
setMemberImgUrl
(
problemMemberReplyDTO
.
getMemberImgUrl
());
...
...
gic-evaluate-service/src/main/java/com/gic/evaluate/service/impl/ProblemServiceImpl.java
View file @
349dc84e
...
...
@@ -52,6 +52,7 @@ public class ProblemServiceImpl implements ProblemService {
problem
.
setStoreId
(
problemDTO
.
getStoreId
());
problem
.
setStoreName
(
problemDTO
.
getStoreName
());
problem
.
setEcuId
(
problemDTO
.
getEcuId
());
problem
.
setAcuId
(
problemDTO
.
getAcuId
());
problem
.
setMemberId
(
problemDTO
.
getMemberId
());
problem
.
setMemberName
(
problemDTO
.
getMemberName
());
problem
.
setMemberPhone
(
problemDTO
.
getMemberPhone
());
...
...
gic-evaluate-service/src/main/resources/mapper/TabProblemReplyMapper.xml
View file @
349dc84e
...
...
@@ -8,6 +8,7 @@
<result
column=
"replyer_type"
jdbcType=
"INTEGER"
property=
"replyerType"
/>
<result
column=
"reply_content"
jdbcType=
"VARCHAR"
property=
"replyContent"
/>
<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_name"
jdbcType=
"VARCHAR"
property=
"memberName"
/>
<result
column=
"member_img_url"
jdbcType=
"VARCHAR"
property=
"memberImgUrl"
/>
...
...
@@ -19,7 +20,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
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
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
...
...
@@ -35,14 +36,16 @@
<insert
id=
"insert"
parameterType=
"com.gic.evaluate.entity.TabProblemReply"
>
insert into tab_problem_reply (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, update_time)
acu_id, member_id, member_name,
member_img_url, user_id, user_name,
status, create_time, update_time
)
values (#{problemReplyId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{problemId,jdbcType=INTEGER},
#{replyerType,jdbcType=INTEGER}, #{replyContent,jdbcType=VARCHAR}, #{ecuId,jdbcType=BIGINT},
#{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR}, #{memberImgUrl,jdbcType=VARCHAR},
#{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
#{acuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{memberName,jdbcType=VARCHAR},
#{memberImgUrl,jdbcType=VARCHAR}, #{userId,jdbcType=INTEGER}, #{userName,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.evaluate.entity.TabProblemReply"
>
<selectKey
keyProperty=
"problemReplyId"
order=
"AFTER"
resultType=
"java.lang.Integer"
>
...
...
@@ -68,6 +71,9 @@
<if
test=
"ecuId != null"
>
ecu_id,
</if>
<if
test=
"acuId != null"
>
acu_id,
</if>
<if
test=
"memberId != null"
>
member_id,
</if>
...
...
@@ -112,6 +118,9 @@
<if
test=
"ecuId != null"
>
#{ecuId,jdbcType=BIGINT},
</if>
<if
test=
"acuId != null"
>
#{acuId,jdbcType=BIGINT},
</if>
<if
test=
"memberId != null"
>
#{memberId,jdbcType=BIGINT},
</if>
...
...
@@ -156,6 +165,9 @@
<if
test=
"ecuId != null"
>
ecu_id = #{ecuId,jdbcType=BIGINT},
</if>
<if
test=
"acuId != null"
>
acu_id = #{acuId,jdbcType=BIGINT},
</if>
<if
test=
"memberId != null"
>
member_id = #{memberId,jdbcType=BIGINT},
</if>
...
...
@@ -190,6 +202,7 @@
replyer_type = #{replyerType,jdbcType=INTEGER},
reply_content = #{replyContent,jdbcType=VARCHAR},
ecu_id = #{ecuId,jdbcType=BIGINT},
acu_id = #{acuId,jdbcType=BIGINT},
member_id = #{memberId,jdbcType=BIGINT},
member_name = #{memberName,jdbcType=VARCHAR},
member_img_url = #{memberImgUrl,jdbcType=VARCHAR},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment