Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
373d979c
Commit
373d979c
authored
Apr 14, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
8b57f925
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
7 deletions
+32
-7
StoreFieldEnum.java
.../java/com/gic/haoban/manage/api/enums/StoreFieldEnum.java
+21
-7
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+11
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/enums/StoreFieldEnum.java
View file @
373d979c
...
@@ -8,27 +8,41 @@ package com.gic.haoban.manage.api.enums;
...
@@ -8,27 +8,41 @@ package com.gic.haoban.manage.api.enums;
public
enum
StoreFieldEnum
{
public
enum
StoreFieldEnum
{
//门店名称
//门店名称
STORE_NAME
(
"1"
),
STORE_NAME
(
"1"
,
"门店名称"
),
//门店面积
//门店面积
STORE_AREA
(
"2"
),
STORE_AREA
(
"2"
,
"门店面积"
),
//联系电话
//联系电话
CONACTS_PHONE
(
"3"
),
CONACTS_PHONE
(
"3"
,
"联系电话"
),
//营业时间
//营业时间
BUSINESS_TIME_STRING
(
"4"
),
BUSINESS_TIME_STRING
(
"4"
,
"营业时间"
),
//门店地址
//门店地址
STORE_ADDRESS
(
"5"
),
STORE_ADDRESS
(
"5"
,
"门店地址"
),
//门店图片
//门店图片
STORE_IMAG
(
"6"
);
STORE_IMAG
(
"6"
,
"门店图片"
);
/**
/**
* 类型
* 类型
*/
*/
private
String
value
;
private
String
value
;
private
String
name
;
StoreFieldEnum
(
String
value
)
{
StoreFieldEnum
(
String
value
,
String
name
)
{
this
.
value
=
value
;
this
.
value
=
value
;
this
.
name
=
name
;
}
}
public
String
getValue
()
{
public
String
getValue
()
{
return
value
;
return
value
;
}
}
public
String
getName
()
{
return
name
;
}
public
static
String
getValueName
(
String
changeField
)
{
for
(
StoreFieldEnum
c
:
StoreFieldEnum
.
values
())
{
if
(
c
.
getValue
()
==
changeField
)
{
return
c
.
name
;
}
}
return
null
;
}
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
373d979c
...
@@ -117,7 +117,12 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -117,7 +117,12 @@ public class AuditApiServiceImpl implements AuditApiService{
String
newValue
=
tab
.
getNewValue
();
String
newValue
=
tab
.
getNewValue
();
String
changeField
=
tab
.
getChangeField
();
String
changeField
=
tab
.
getChangeField
();
this
.
editStoreInfo
(
storeId
,
changeField
,
oldValue
,
newValue
);
this
.
editStoreInfo
(
storeId
,
changeField
,
oldValue
,
newValue
);
//名字
String
title
=
StoreFieldEnum
.
getValueName
(
changeField
);
title
=
"["
+
title
+
"]"
+
"修改审核通过"
;
// QywxXcxSendMessageDTO messageDTO = new QywxXcxSendMessageDTO();
// QywxXcxSendMessageDTO messageDTO = new QywxXcxSendMessageDTO();
// config.getWxSuiteid();
// qywxSuiteApiService.sendMessage("ww9ede832a84b7ae5f","ww2c34dc56739bb105", messageDTO);
// qywxSuiteApiService.sendMessage("ww9ede832a84b7ae5f","ww2c34dc56739bb105", messageDTO);
}
}
@Override
@Override
...
@@ -129,6 +134,12 @@ public class AuditApiServiceImpl implements AuditApiService{
...
@@ -129,6 +134,12 @@ public class AuditApiServiceImpl implements AuditApiService{
tab
.
setAuditReason
(
auditReason
);
tab
.
setAuditReason
(
auditReason
);
tab
.
setAuditName
(
auditName
);
tab
.
setAuditName
(
auditName
);
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
auditMapper
.
updateByPrimaryKeySelective
(
tab
);
TabHaobanAudit
tab2
=
auditMapper
.
selectByPrimaryKey
(
auditId
);
String
changeField
=
tab2
.
getChangeField
();
String
title
=
StoreFieldEnum
.
getValueName
(
changeField
);
title
=
"["
+
title
+
"]"
+
"被拒绝。拒绝理由:"
+
auditReason
;
}
}
@Override
@Override
public
int
save
(
Integer
auditType
,
String
wxEnterpriseId
,
String
enterpriseId
,
public
int
save
(
Integer
auditType
,
String
wxEnterpriseId
,
String
enterpriseId
,
...
...
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