Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
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
sa_aidea
Aidea
Commits
f2fcc919
Commit
f2fcc919
authored
Nov 14, 2020
by
黎聪聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020年11月14日 13:13:04
parent
120cf7fa
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
17 deletions
+23
-17
consultSheetform.html
...n/webapp/WEB-INF/views/consultSheet/consultSheetform.html
+1
-1
ConsultSheetMapper.java
.../java/com/cftech/consultsheet/dao/ConsultSheetMapper.java
+1
-1
ConsultSheetMapper.xml
...n/java/com/cftech/consultsheet/dao/ConsultSheetMapper.xml
+1
-1
ConsultSheetService.java
.../com/cftech/consultsheet/service/ConsultSheetService.java
+1
-1
ConsultSheetServiceImpl.java
...ch/consultsheet/service/impl/ConsultSheetServiceImpl.java
+4
-2
ConsultSheetController.java
...a/com/cftech/consultsheet/web/ConsultSheetController.java
+12
-8
MemberController.java
...src/main/java/com/cftech/member/web/MemberController.java
+1
-1
addresslist.html
...eb/src/main/webapp/WEB-INF/views/address/addresslist.html
+1
-1
articlelist.html
...eb/src/main/webapp/WEB-INF/views/article/articlelist.html
+1
-1
No files found.
aidea-modules/consult-module-web/src/main/webapp/WEB-INF/views/consultSheet/consultSheetform.html
View file @
f2fcc919
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
return
;
return
;
}
}
var
aadata
=
{
var
aadata
=
{
consultI
d
:
$
(
'#id'
).
val
(),
i
d
:
$
(
'#id'
).
val
(),
status
:
"2"
,
status
:
"2"
,
description
:
reason
description
:
reason
};
};
...
...
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/dao/ConsultSheetMapper.java
View file @
f2fcc919
...
@@ -19,7 +19,7 @@ import java.util.List;
...
@@ -19,7 +19,7 @@ import java.util.List;
*/
*/
public
interface
ConsultSheetMapper
extends
GenericDao
<
ConsultSheet
>
{
public
interface
ConsultSheetMapper
extends
GenericDao
<
ConsultSheet
>
{
Integer
updateDate
(
@Param
(
"
consultId"
)
Stri
ng
consultId
,
@Param
(
"status"
)
String
status
,
@Param
(
"description"
)
String
description
);
Integer
updateDate
(
@Param
(
"
id"
)
Lo
ng
consultId
,
@Param
(
"status"
)
String
status
,
@Param
(
"description"
)
String
description
);
Integer
updateStatus
(
@Param
(
"consultId"
)
String
consultId
,
@Param
(
"status"
)
String
status
);
Integer
updateStatus
(
@Param
(
"consultId"
)
String
consultId
,
@Param
(
"status"
)
String
status
);
...
...
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/dao/ConsultSheetMapper.xml
View file @
f2fcc919
...
@@ -315,7 +315,7 @@
...
@@ -315,7 +315,7 @@
description = #{description}
description = #{description}
</if>
</if>
</set>
</set>
where
consult_id = #{consultI
d}
where
id = #{i
d}
</update>
</update>
<update
id=
"updateStatus"
>
<update
id=
"updateStatus"
>
...
...
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/service/ConsultSheetService.java
View file @
f2fcc919
...
@@ -18,7 +18,7 @@ import java.util.List;
...
@@ -18,7 +18,7 @@ import java.util.List;
*/
*/
public
interface
ConsultSheetService
extends
GenericService
<
ConsultSheet
>
{
public
interface
ConsultSheetService
extends
GenericService
<
ConsultSheet
>
{
Integer
updateDate
(
String
consultI
d
,
String
status
,
String
description
);
Integer
updateDate
(
Long
i
d
,
String
status
,
String
description
);
Integer
updateStatus
(
String
consultId
,
String
status
);
Integer
updateStatus
(
String
consultId
,
String
status
);
...
...
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/service/impl/ConsultSheetServiceImpl.java
View file @
f2fcc919
...
@@ -84,10 +84,12 @@ public class ConsultSheetServiceImpl extends GenericServiceImpl<ConsultSheet> im
...
@@ -84,10 +84,12 @@ public class ConsultSheetServiceImpl extends GenericServiceImpl<ConsultSheet> im
@Override
@Override
public
Integer
updateDate
(
String
consultI
d
,
String
status
,
String
description
)
{
public
Integer
updateDate
(
Long
i
d
,
String
status
,
String
description
)
{
return
consultSheetMapper
.
updateDate
(
consultI
d
,
status
,
description
);
return
consultSheetMapper
.
updateDate
(
i
d
,
status
,
description
);
}
}
@Override
@Override
public
Integer
updateStatus
(
String
consultId
,
String
status
)
{
public
Integer
updateStatus
(
String
consultId
,
String
status
)
{
return
consultSheetMapper
.
updateStatus
(
consultId
,
status
);
return
consultSheetMapper
.
updateStatus
(
consultId
,
status
);
...
...
aidea-modules/consult-module/src/main/java/com/cftech/consultsheet/web/ConsultSheetController.java
View file @
f2fcc919
...
@@ -134,27 +134,31 @@ public class ConsultSheetController {
...
@@ -134,27 +134,31 @@ public class ConsultSheetController {
//审核拒绝功能
//审核拒绝功能
@RequestMapping
(
value
=
"/updateData"
)
@RequestMapping
(
value
=
"/updateData"
)
@ResponseBody
@ResponseBody
public
JSONObject
updateData
(
String
consultI
d
,
String
status
,
String
description
,
HttpServletRequest
request
)
{
public
JSONObject
updateData
(
Long
i
d
,
String
status
,
String
description
,
HttpServletRequest
request
)
{
JSONObject
rtnJson
=
new
JSONObject
();
JSONObject
rtnJson
=
new
JSONObject
();
ConsultSheet
consultSheet
=
consultSheetService
.
fetchById
(
Long
.
parseLong
(
consultId
)
);
ConsultSheet
consultSheet
=
consultSheetService
.
fetchById
(
id
);
try
{
try
{
if
(
!
StringUtils
.
isEmpty
(
consultId
)
&&
!
StringUtils
.
isEmpty
(
status
)
&&
!
StringUtils
.
isEmpty
(
description
))
{
if
(
id
!=
null
&&
!
StringUtils
.
isEmpty
(
status
)
&&
!
StringUtils
.
isEmpty
(
description
))
{
Integer
integer
=
consultSheetService
.
updateDate
(
consultI
d
,
status
,
description
);
Integer
integer
=
consultSheetService
.
updateDate
(
i
d
,
status
,
description
);
if
(
integer
>
0
)
{
if
(
integer
<
0
)
{
//发送审核通过模板消息
//发送审核通过模板消息
String
appid
=
SystemConfig
.
p
.
getProperty
(
"WX_MP_SERVER_APPID"
);
String
appid
=
SystemConfig
.
p
.
getProperty
(
"WX_MP_SERVER_APPID"
);
String
refuseTmpId
=
SystemConfig
.
p
.
getProperty
(
"CONSULT_SHEET_AUDIT_REFUSE_TEMPLATE_MSG"
);
String
refuseTmpId
=
SystemConfig
.
p
.
getProperty
(
"CONSULT_SHEET_AUDIT_REFUSE_TEMPLATE_MSG"
);
String
token
=
mpTokenUtil
.
getToken
(
mpAccountsService
.
getMpAccountsAppid
(
appid
));
String
token
=
mpTokenUtil
.
getToken
(
mpAccountsService
.
getMpAccountsAppid
(
appid
));
String
first
=
"您好,您的咨询单审核
不
通过。"
;
String
first
=
"您好,您的咨询单审核通过。"
;
String
remark
=
"不通过原由:{"
+
consultSheet
.
getDescription
()
+
"};请点击详情重新填写咨询单。"
;
String
remark
=
"不通过原由:{"
+
consultSheet
.
getDescription
()
+
"};请点击详情重新填写咨询单。"
;
String
[]
keywords
=
{
consultSheet
.
getUserName
(),
String
[]
keywords
=
{
consultSheet
.
getUserName
(),
consultSheet
.
getConsultId
(),
consultSheet
.
getConsultId
(),
DateFormatUtils
.
getDateFormat
(
consultSheet
.
getCreateTime
(),
"yyyy年MM月dd日"
)};
DateFormatUtils
.
getDateFormat
(
consultSheet
.
getCreateTime
(),
"yyyy年MM月dd日"
)};
sendMessage
(
refuseTmpId
,
token
,
consultSheet
.
getOpenId
(),
first
,
remark
,
keywords
,
null
);
sendMessage
(
refuseTmpId
,
token
,
consultSheet
.
getOpenId
(),
first
,
remark
,
keywords
,
null
);
}
if
(
integer
>
0
){
rtnJson
.
put
(
"errorNo"
,
0
);
rtnJson
.
put
(
"errorNo"
,
0
);
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
//发送审核通过模板消息
//发送审核通过模板消息
...
@@ -162,7 +166,7 @@ public class ConsultSheetController {
...
@@ -162,7 +166,7 @@ public class ConsultSheetController {
String
refuseTmpId
=
SystemConfig
.
p
.
getProperty
(
"CONSULT_SHEET_AUDIT_SUCCESS_TEMPLATE_MSG"
);
String
refuseTmpId
=
SystemConfig
.
p
.
getProperty
(
"CONSULT_SHEET_AUDIT_SUCCESS_TEMPLATE_MSG"
);
String
token
=
mpTokenUtil
.
getToken
(
mpAccountsService
.
getMpAccountsAppid
(
appid
));
String
token
=
mpTokenUtil
.
getToken
(
mpAccountsService
.
getMpAccountsAppid
(
appid
));
String
first
=
"您好,您提交的咨询单审核失败。"
;
String
first
=
"您好,您提交的咨询单审核失败。"
;
String
remark
=
"
请
重新填写咨询单。"
;
String
remark
=
"
不通过原由:{"
+
consultSheet
.
getDescription
()
+
"};请点击详情
重新填写咨询单。"
;
String
[]
keywords
=
{
consultSheet
.
getUserName
(),
String
[]
keywords
=
{
consultSheet
.
getUserName
(),
consultSheet
.
getConsultId
(),
consultSheet
.
getConsultId
(),
...
...
membercard-modules/member-module/src/main/java/com/cftech/member/web/MemberController.java
View file @
f2fcc919
...
@@ -164,7 +164,7 @@ public class MemberController {
...
@@ -164,7 +164,7 @@ public class MemberController {
Conds
conds
=
new
Conds
();
Conds
conds
=
new
Conds
();
conds
.
equal
(
"m.del_flag"
,
Constants
.
DEL_FLAG_0
);
conds
.
equal
(
"m.del_flag"
,
Constants
.
DEL_FLAG_0
);
conds
.
equal
(
"m.accounts_id"
,
accountsId
);
// if(member.getStatus().equals("1")){ //注册会员
// if(member.getStatus().equals("1")){ //注册会员
// conds.isNull("m.status");
// conds.isNull("m.status");
// }else if(member.getStatus().equals("2")){ //虚拟会员
// }else if(member.getStatus().equals("2")){ //虚拟会员
...
...
membercard-modules/shipping-address-web/src/main/webapp/WEB-INF/views/address/addresslist.html
View file @
f2fcc919
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
<section
class=
"content-header"
>
<section
class=
"content-header"
>
<h1>
<h1>
收货地址管理
管理
收货地址管理
<small>
收货地址管理
</small>
<small>
收货地址管理
</small>
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
...
...
mp-modules/mp-article-module-web/src/main/webapp/WEB-INF/views/article/articlelist.html
View file @
f2fcc919
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<section
class=
"content-header"
>
<section
class=
"content-header"
>
<h1>
<h1>
素材管理
管理
素材管理
<small>
素材管理
</small>
<small>
素材管理
</small>
</h1>
</h1>
...
...
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