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
98997236
Commit
98997236
authored
Jan 13, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加门店电话字段
parent
83cec606
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
26 deletions
+65
-26
EvaluateDTO.java
...e-api/src/main/java/com/gic/evaluate/dto/EvaluateDTO.java
+13
-0
TabEvaluate.java
...ce/src/main/java/com/gic/evaluate/entity/TabEvaluate.java
+13
-0
TabEvaluateMapper.xml
...e-service/src/main/resources/mapper/TabEvaluateMapper.xml
+39
-26
No files found.
gic-evaluate-api/src/main/java/com/gic/evaluate/dto/EvaluateDTO.java
View file @
98997236
...
...
@@ -109,6 +109,11 @@ public class EvaluateDTO implements Serializable {
private
String
storeGroupName
;
/**
*
*/
private
String
storePhone
;
/**
* 订单号
*/
private
String
orderNumber
;
...
...
@@ -457,6 +462,14 @@ public class EvaluateDTO implements Serializable {
this
.
updateTime
=
updateTime
;
}
public
String
getStorePhone
()
{
return
storePhone
;
}
public
void
setStorePhone
(
String
storePhone
)
{
this
.
storePhone
=
storePhone
;
}
public
List
<
EvaluateReplyDTO
>
getReplyList
()
{
return
replyList
;
}
...
...
gic-evaluate-service/src/main/java/com/gic/evaluate/entity/TabEvaluate.java
View file @
98997236
...
...
@@ -92,6 +92,11 @@ public class TabEvaluate {
private
String
storeCode
;
/**
*
*/
private
String
storePhone
;
/**
* 门店分组id
*/
private
Integer
storeGroupId
;
...
...
@@ -312,6 +317,14 @@ public class TabEvaluate {
this
.
storeCode
=
storeCode
;
}
public
String
getStorePhone
()
{
return
storePhone
;
}
public
void
setStorePhone
(
String
storePhone
)
{
this
.
storePhone
=
storePhone
;
}
public
Integer
getStoreGroupId
()
{
return
storeGroupId
;
}
...
...
gic-evaluate-service/src/main/resources/mapper/TabEvaluateMapper.xml
View file @
98997236
...
...
@@ -19,6 +19,7 @@
<result
column=
"goods_info"
jdbcType=
"VARCHAR"
property=
"goodsInfo"
/>
<result
column=
"store_name"
jdbcType=
"VARCHAR"
property=
"storeName"
/>
<result
column=
"store_code"
jdbcType=
"VARCHAR"
property=
"storeCode"
/>
<result
column=
"store_phone"
jdbcType=
"VARCHAR"
property=
"storePhone"
/>
<result
column=
"store_group_id"
jdbcType=
"INTEGER"
property=
"storeGroupId"
/>
<result
column=
"store_group_name"
jdbcType=
"VARCHAR"
property=
"storeGroupName"
/>
<result
column=
"order_number"
jdbcType=
"VARCHAR"
property=
"orderNumber"
/>
...
...
@@ -40,10 +41,10 @@
<sql
id=
"Base_Column_List"
>
evaluate_id, enterprise_id, store_id, member_id, order_id, evaluate_content, goods_score,
store_score, service_score, evaluate_time, member_name, member_phone, member_img_url,
goods_id, goods_info, store_name, store_code, store_
group_id, store_group_name, order_number
,
receipts_date, clerk_id, clerk_name, bad_evaluate_status, good_evaluate_status, review
_status,
top_hot_status, malicious_status, show_status, visit_status, reply_status,
status,
create_time, update_time
goods_id, goods_info, store_name, store_code, store_
phone, store_group_id, store_group_name
,
order_number, receipts_date, clerk_id, clerk_name, bad_evaluate_status, good_evaluate
_status,
review_status, top_hot_status, malicious_status, show_status, visit_status, reply_
status,
status,
create_time, update_time
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Integer"
resultMap=
"BaseResultMap"
>
select
...
...
@@ -61,25 +62,27 @@
goods_score, store_score, service_score,
evaluate_time, member_name, member_phone,
member_img_url, goods_id, goods_info,
store_name, store_code, store_group_id,
store_group_name, order_number, receipts_date,
clerk_id, clerk_name, bad_evaluate_status,
good_evaluate_status, review_status, top_hot_status,
malicious_status, show_status, visit_status,
reply_status, status, create_time,
update_time)
store_name, store_code, store_phone,
store_group_id, store_group_name, order_number,
receipts_date, clerk_id, clerk_name,
bad_evaluate_status, good_evaluate_status,
review_status, top_hot_status, malicious_status,
show_status, visit_status, reply_status,
status, create_time, update_time
)
values (#{evaluateId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{storeId,jdbcType=INTEGER},
#{memberId,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{evaluateContent,jdbcType=VARCHAR},
#{goodsScore,jdbcType=INTEGER}, #{storeScore,jdbcType=INTEGER}, #{serviceScore,jdbcType=INTEGER},
#{evaluateTime,jdbcType=TIMESTAMP}, #{memberName,jdbcType=VARCHAR}, #{memberPhone,jdbcType=VARCHAR},
#{memberImgUrl,jdbcType=VARCHAR}, #{goodsId,jdbcType=BIGINT}, #{goodsInfo,jdbcType=VARCHAR},
#{storeName,jdbcType=VARCHAR}, #{storeCode,jdbcType=VARCHAR}, #{storeGroupId,jdbcType=INTEGER},
#{storeGroupName,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR}, #{receiptsDate,jdbcType=TIMESTAMP},
#{clerkId,jdbcType=INTEGER}, #{clerkName,jdbcType=VARCHAR}, #{badEvaluateStatus,jdbcType=INTEGER},
#{goodEvaluateStatus,jdbcType=INTEGER}, #{reviewStatus,jdbcType=INTEGER}, #{topHotStatus,jdbcType=INTEGER},
#{maliciousStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{visitStatus,jdbcType=INTEGER},
#{replyStatus,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
#{storeName,jdbcType=VARCHAR}, #{storeCode,jdbcType=VARCHAR}, #{storePhone,jdbcType=VARCHAR},
#{storeGroupId,jdbcType=INTEGER}, #{storeGroupName,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR},
#{receiptsDate,jdbcType=TIMESTAMP}, #{clerkId,jdbcType=INTEGER}, #{clerkName,jdbcType=VARCHAR},
#{badEvaluateStatus,jdbcType=INTEGER}, #{goodEvaluateStatus,jdbcType=INTEGER},
#{reviewStatus,jdbcType=INTEGER}, #{topHotStatus,jdbcType=INTEGER}, #{maliciousStatus,jdbcType=INTEGER},
#{showStatus,jdbcType=INTEGER}, #{visitStatus,jdbcType=INTEGER}, #{replyStatus,jdbcType=INTEGER},
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.evaluate.entity.TabEvaluate"
>
insert into tab_evaluate
...
...
@@ -135,6 +138,9 @@
<if
test=
"storeCode != null"
>
store_code,
</if>
<if
test=
"storePhone != null"
>
store_phone,
</if>
<if
test=
"storeGroupId != null"
>
store_group_id,
</if>
...
...
@@ -239,6 +245,9 @@
<if
test=
"storeCode != null"
>
#{storeCode,jdbcType=VARCHAR},
</if>
<if
test=
"storePhone != null"
>
#{storePhone,jdbcType=VARCHAR},
</if>
<if
test=
"storeGroupId != null"
>
#{storeGroupId,jdbcType=INTEGER},
</if>
...
...
@@ -343,6 +352,9 @@
<if
test=
"storeCode != null"
>
store_code = #{storeCode,jdbcType=VARCHAR},
</if>
<if
test=
"storePhone != null"
>
store_phone = #{storePhone,jdbcType=VARCHAR},
</if>
<if
test=
"storeGroupId != null"
>
store_group_id = #{storeGroupId,jdbcType=INTEGER},
</if>
...
...
@@ -415,6 +427,7 @@
goods_info = #{goodsInfo,jdbcType=VARCHAR},
store_name = #{storeName,jdbcType=VARCHAR},
store_code = #{storeCode,jdbcType=VARCHAR},
store_phone = #{storePhone,jdbcType=VARCHAR},
store_group_id = #{storeGroupId,jdbcType=INTEGER},
store_group_name = #{storeGroupName,jdbcType=VARCHAR},
order_number = #{orderNumber,jdbcType=VARCHAR},
...
...
@@ -513,9 +526,9 @@
</select>
<update
id=
"updateShowStatus"
>
update tab_evaluate set show_status = #{showStatus} where enterprise_id = #{enterpriseId}
<if
test=
"null != evaluateId and evaluateId.size
>
0"
>
<if
test=
"null != evaluateId and evaluateId.size
>
0"
>
and evaluate_id in
<foreach
c
ollection=
"evaluateId"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")
"
>
<foreach
c
lose=
")"
collection=
"evaluateId"
index=
"index"
item=
"item"
open=
"("
separator=
",
"
>
#{item}
</foreach>
</if>
...
...
@@ -743,10 +756,10 @@
<if
test=
"enterpriseId != null "
>
and enterprise_id = #{enterpriseId}
</if>
<if
test=
"replyType == 2"
>
<if
test=
"replyType == 2"
>
and good_evaluate_status = 1
</if>
<if
test=
"replyType == 1"
>
<if
test=
"replyType == 1"
>
and bad_evaluate_status = 1
</if>
group by statisticsDate
...
...
@@ -760,10 +773,10 @@
<if
test=
"enterpriseId != null "
>
and enterprise_id = #{enterpriseId}
</if>
<if
test=
"replyType == 2"
>
<if
test=
"replyType == 2"
>
and good_evaluate_status = 1
</if>
<if
test=
"replyType == 1"
>
<if
test=
"replyType == 1"
>
and bad_evaluate_status = 1
</if>
<if
test=
"firstDate != null "
>
...
...
@@ -780,10 +793,10 @@
<if
test=
"enterpriseId != null "
>
and enterprise_id = #{enterpriseId}
</if>
<if
test=
"replyType == 2"
>
<if
test=
"replyType == 2"
>
and good_evaluate_status = 1
</if>
<if
test=
"replyType == 1"
>
<if
test=
"replyType == 1"
>
and bad_evaluate_status = 1
</if>
<if
test=
"firstDate != null "
>
...
...
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