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
ae4de32c
Commit
ae4de32c
authored
Jun 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微操作日志
parent
54df4a06
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
QywxOpenController.java
...haoban/manage/web/controller/open/QywxOpenController.java
+3
-0
QywxOpenTaskController.java
...an/manage/web/controller/open/QywxOpenTaskController.java
+9
-9
dubbo-haoban-manage-web.xml
...3-web/src/main/webapp/WEB-INF/dubbo-haoban-manage-web.xml
+1
-0
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenController.java
View file @
ae4de32c
...
@@ -12,6 +12,7 @@ import com.gic.commons.util.PageHelperUtils;
...
@@ -12,6 +12,7 @@ import com.gic.commons.util.PageHelperUtils;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.api.dto.EnterpriseDTO
;
import
com.gic.enterprise.api.dto.EnterpriseDTO
;
import
com.gic.enterprise.api.service.EnterpriseService
;
import
com.gic.enterprise.api.service.EnterpriseService
;
import
com.gic.enterprise.api.service.EnterpriseUseForbidService
;
import
com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO
;
import
com.gic.haoban.base.api.common.pojo.dto.WebLoginDTO
;
import
com.gic.haoban.common.utils.AuthWebRequestUtil
;
import
com.gic.haoban.common.utils.AuthWebRequestUtil
;
import
com.gic.haoban.common.utils.EntityUtil
;
import
com.gic.haoban.common.utils.EntityUtil
;
...
@@ -56,6 +57,8 @@ public class QywxOpenController {
...
@@ -56,6 +57,8 @@ public class QywxOpenController {
private
EnterpriseService
enterpriseService
;
private
EnterpriseService
enterpriseService
;
@Autowired
@Autowired
private
OpenStaffExcelHandler
openStaffExcelHandler
;
private
OpenStaffExcelHandler
openStaffExcelHandler
;
@Autowired
private
EnterpriseUseForbidService
enterpriseUseForbidService
;
/**
/**
* 托管列表
* 托管列表
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenTaskController.java
View file @
ae4de32c
...
@@ -396,7 +396,7 @@ public class QywxOpenTaskController {
...
@@ -396,7 +396,7 @@ public class QywxOpenTaskController {
String
n3
=
this
.
openLog
(
oldDTO
.
getReAddFlag
(),
dto
.
getReAddFlag
(),
"自动重新添加"
);
String
n3
=
this
.
openLog
(
oldDTO
.
getReAddFlag
(),
dto
.
getReAddFlag
(),
"自动重新添加"
);
String
logContent3
=
""
;
String
logContent3
=
""
;
if
(!
StringUtils
.
isAllBlank
(
n1
,
n2
,
n3
))
{
if
(!
StringUtils
.
isAllBlank
(
n1
,
n2
,
n3
))
{
logContent3
=
n3
+
n1
+
n2
;
logContent3
=
this
.
addListForLog
(
n1
,
n2
,
n3
)
;
}
}
String
logContent4
=
this
.
storeLog
(
oldDTO
.
getMainStoreJson
(),
dto
.
getMainStoreJson
(),
"服务门店"
);
String
logContent4
=
this
.
storeLog
(
oldDTO
.
getMainStoreJson
(),
dto
.
getMainStoreJson
(),
"服务门店"
);
String
logContent5
=
this
.
storeLog
(
oldDTO
.
getMainStoreJson
(),
dto
.
getMainStoreJson
(),
"协管门店"
);
String
logContent5
=
this
.
storeLog
(
oldDTO
.
getMainStoreJson
(),
dto
.
getMainStoreJson
(),
"协管门店"
);
...
@@ -420,7 +420,7 @@ public class QywxOpenTaskController {
...
@@ -420,7 +420,7 @@ public class QywxOpenTaskController {
private
String
storeLog
(
String
oldStr
,
String
newStr
,
String
name
)
{
private
String
storeLog
(
String
oldStr
,
String
newStr
,
String
name
)
{
JSONObject
oldJson
=
JSONObject
.
parseObject
(
oldStr
);
JSONObject
oldJson
=
JSONObject
.
parseObject
(
oldStr
);
int
oldFlag
=
oldJson
.
getIntValue
(
"open"
);
int
oldFlag
=
oldJson
.
getIntValue
(
"open"
);
JSONObject
newJson
=
JSONObject
.
parseObject
(
old
Str
);
JSONObject
newJson
=
JSONObject
.
parseObject
(
new
Str
);
int
newFlag
=
newJson
.
getInteger
(
"open"
);
int
newFlag
=
newJson
.
getInteger
(
"open"
);
String
s1
=
this
.
openLog
(
oldFlag
,
newFlag
,
name
);
String
s1
=
this
.
openLog
(
oldFlag
,
newFlag
,
name
);
...
@@ -435,7 +435,7 @@ public class QywxOpenTaskController {
...
@@ -435,7 +435,7 @@ public class QywxOpenTaskController {
if
(
"指定门店"
.
equals
(
name
))
{
if
(
"指定门店"
.
equals
(
name
))
{
s3
=
this
.
getStore
(
oldJson
.
getString
(
"store"
),
newJson
.
getString
(
"store"
));
s3
=
this
.
getStore
(
oldJson
.
getString
(
"store"
),
newJson
.
getString
(
"store"
));
}
}
return
s1
+
s3
+
s2
;
return
this
.
addListForLog
(
s1
,
s3
,
s2
)
;
}
}
private
String
getStore
(
String
oldStoreId
,
String
newStoreId
)
{
private
String
getStore
(
String
oldStoreId
,
String
newStoreId
)
{
...
@@ -497,7 +497,7 @@ public class QywxOpenTaskController {
...
@@ -497,7 +497,7 @@ public class QywxOpenTaskController {
if
(
old
!=
newValue
)
{
if
(
old
!=
newValue
)
{
return
String
.
format
(
title
,
old
+
""
,
newValue
+
""
);
return
String
.
format
(
title
,
old
+
""
,
newValue
+
""
);
}
}
return
null
;
return
""
;
}
}
/**
/**
...
@@ -548,20 +548,20 @@ public class QywxOpenTaskController {
...
@@ -548,20 +548,20 @@ public class QywxOpenTaskController {
String
oldAddTime
=
oldDTO
.
getAddTime
();
String
oldAddTime
=
oldDTO
.
getAddTime
();
String
newAddTime
=
dto
.
getAddTime
();
String
newAddTime
=
dto
.
getAddTime
();
if
(!
oldAddTime
.
equals
(
newAddTime
))
{
if
(!
oldAddTime
.
equals
(
newAddTime
))
{
logContent1
=
"删除时段从【"
+
oldAddTime
+
"】修改为【"
+
newAddTime
+
"】
"
;
logContent1
=
"删除时段从【"
+
oldAddTime
+
"】修改为【"
+
newAddTime
+
"】"
;
}
}
String
oldInt
=
oldDTO
.
getAddIntervalStart
()
+
"-"
+
oldDTO
.
getAddIntervalEnd
();
String
oldInt
=
oldDTO
.
getAddIntervalStart
()
+
"-"
+
oldDTO
.
getAddIntervalEnd
();
String
newInt
=
dto
.
getAddIntervalStart
()
+
"-"
+
dto
.
getAddIntervalEnd
();
String
newInt
=
dto
.
getAddIntervalStart
()
+
"-"
+
dto
.
getAddIntervalEnd
();
if
(!
oldInt
.
equals
(
newInt
))
{
if
(!
oldInt
.
equals
(
newInt
))
{
logContent2
=
"删除间隔从【"
+
oldInt
+
"】修改为【"
+
newInt
+
"】
"
;
logContent2
=
"删除间隔从【"
+
oldInt
+
"】修改为【"
+
newInt
+
"】"
;
}
}
int
oldOpenFlag
=
oldDTO
.
getOpenFlag
();
int
oldOpenFlag
=
oldDTO
.
getOpenFlag
();
int
newOpenFlag
=
dto
.
getOpenFlag
();
int
newOpenFlag
=
dto
.
getOpenFlag
();
if
(
oldOpenFlag
!=
newOpenFlag
)
{
if
(
oldOpenFlag
!=
newOpenFlag
)
{
if
(
newOpenFlag
==
1
)
{
if
(
newOpenFlag
==
1
)
{
logContent3
=
"状态从【停用自动删除】修改为【启用自动删除】
"
;
logContent3
=
"状态从【停用自动删除】修改为【启用自动删除】"
;
}
else
{
}
else
{
logContent3
=
"状态从【启用自动删除】修改为【停用自动删除】
"
;
logContent3
=
"状态从【启用自动删除】修改为【停用自动删除】"
;
}
}
}
}
String
logContent
=
this
.
addListForLog
(
logContent1
,
logContent2
,
logContent3
);
String
logContent
=
this
.
addListForLog
(
logContent1
,
logContent2
,
logContent3
);
...
@@ -673,7 +673,7 @@ public class QywxOpenTaskController {
...
@@ -673,7 +673,7 @@ public class QywxOpenTaskController {
}
}
}
}
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
return
list
.
stream
().
collect
(
Collectors
.
joining
(
"
,
"
));
return
list
.
stream
().
collect
(
Collectors
.
joining
(
"
,
"
));
}
}
return
""
;
return
""
;
}
}
...
...
haoban-manage3-web/src/main/webapp/WEB-INF/dubbo-haoban-manage-web.xml
View file @
ae4de32c
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
<dubbo:application
name=
"haoban-manage3-web"
/>
<dubbo:application
name=
"haoban-manage3-web"
/>
<dubbo:protocol
name=
"dubbo"
port=
"30009"
/>
<dubbo:protocol
name=
"dubbo"
port=
"30009"
/>
<dubbo:reference
interface=
"com.gic.enterprise.api.service.EnterpriseUseForbidService"
id=
"enterpriseUseForbidService"
/>
<dubbo:reference
interface=
"com.gic.member.tag.api.service.MemberTagGroupApiService"
id=
"memberTagGroupApiService"
/>
<dubbo:reference
interface=
"com.gic.member.tag.api.service.MemberTagGroupApiService"
id=
"memberTagGroupApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.task.manage.api.service.OpenQwApiService"
id=
"openQwApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.task.manage.api.service.OpenQwApiService"
id=
"openQwApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.OpenStaffApiService"
id=
"openStaffApiService"
/>
<dubbo:reference
interface=
"com.gic.haoban.manage.api.service.OpenStaffApiService"
id=
"openStaffApiService"
/>
...
...
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