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
62f74969
Commit
62f74969
authored
Jun 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
624c4a5b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
1 deletions
+80
-1
OpenStaffDTO.java
...main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
+25
-0
OpenStaffApiService.java
...om/gic/haoban/manage/api/service/OpenStaffApiService.java
+8
-0
OpenStaffMapper.java
...gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
+3
-0
TabOpenStaff.java
...va/com/gic/haoban/manage/service/entity/TabOpenStaff.java
+25
-0
OpenStaffApiServiceImpl.java
...age/service/service/out/impl/OpenStaffApiServiceImpl.java
+5
-0
OpenStaffMapper.xml
...ge3-service/src/main/resources/mapper/OpenStaffMapper.xml
+14
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/OpenStaffDTO.java
View file @
62f74969
...
@@ -120,10 +120,35 @@ public class OpenStaffDTO implements Serializable {
...
@@ -120,10 +120,35 @@ public class OpenStaffDTO implements Serializable {
private
String
qrcodeData
;
private
String
qrcodeData
;
/**
/**
* 下一次加好友间隔时间分钟
*/
private
int
addStopTime
;
/**
* 下一次删除好友间隔时间分钟
*/
private
int
delStopTime
;
/**
* tab_haoban_open_staff
* tab_haoban_open_staff
*/
*/
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
public
int
getAddStopTime
()
{
return
addStopTime
;
}
public
void
setAddStopTime
(
int
addStopTime
)
{
this
.
addStopTime
=
addStopTime
;
}
public
int
getDelStopTime
()
{
return
delStopTime
;
}
public
void
setDelStopTime
(
int
delStopTime
)
{
this
.
delStopTime
=
delStopTime
;
}
public
String
getQrcodeData
()
{
public
String
getQrcodeData
()
{
return
qrcodeData
;
return
qrcodeData
;
}
}
...
...
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/OpenStaffApiService.java
View file @
62f74969
...
@@ -116,4 +116,12 @@ public interface OpenStaffApiService {
...
@@ -116,4 +116,12 @@ public interface OpenStaffApiService {
* @return
* @return
*/
*/
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
;
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
;
/**
* 更新下一次间隔时间
* @param openStaffId
* @param type
* @param time
*/
public
void
updateStopTime
(
Long
openStaffId
,
int
type
,
int
time
)
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
View file @
62f74969
...
@@ -51,4 +51,6 @@ public interface OpenStaffMapper {
...
@@ -51,4 +51,6 @@ public interface OpenStaffMapper {
List
<
String
>
listAll
()
;
List
<
String
>
listAll
()
;
List
<
String
>
listOpenStoreId
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
);
List
<
String
>
listOpenStoreId
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
);
void
updateStopTime
(
@Param
(
"id"
)
Long
openStaffId
,
@Param
(
"type"
)
int
type
,
@Param
(
"time"
)
int
time
);
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabOpenStaff.java
View file @
62f74969
...
@@ -103,6 +103,31 @@ public class TabOpenStaff implements Serializable {
...
@@ -103,6 +103,31 @@ public class TabOpenStaff implements Serializable {
private
String
loginRemark
;
private
String
loginRemark
;
/**
* 下一次加好友间隔时间分钟
*/
private
int
addStopTime
;
/**
* 下一次删除好友间隔时间分钟
*/
private
int
delStopTime
;
public
int
getAddStopTime
()
{
return
addStopTime
;
}
public
void
setAddStopTime
(
int
addStopTime
)
{
this
.
addStopTime
=
addStopTime
;
}
public
int
getDelStopTime
()
{
return
delStopTime
;
}
public
void
setDelStopTime
(
int
delStopTime
)
{
this
.
delStopTime
=
delStopTime
;
}
public
String
getLoginRemark
()
{
public
String
getLoginRemark
()
{
return
loginRemark
;
return
loginRemark
;
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/OpenStaffApiServiceImpl.java
View file @
62f74969
...
@@ -276,4 +276,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
...
@@ -276,4 +276,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
public
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
{
public
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
{
return
this
.
openStaffMapper
.
listOpenStoreId
(
wxEnterpriseId
,
enterpriseId
);
return
this
.
openStaffMapper
.
listOpenStoreId
(
wxEnterpriseId
,
enterpriseId
);
}
}
@Override
public
void
updateStopTime
(
Long
openStaffId
,
int
type
,
int
time
)
{
this
.
openStaffMapper
.
updateStopTime
(
openStaffId
,
type
,
time
)
;
}
}
}
haoban-manage3-service/src/main/resources/mapper/OpenStaffMapper.xml
View file @
62f74969
...
@@ -23,12 +23,14 @@
...
@@ -23,12 +23,14 @@
<result
column=
"first_auth_time"
javaType=
"java.util.Date"
jdbcType=
"TIMESTAMP"
property=
"firstAuthTime"
/>
<result
column=
"first_auth_time"
javaType=
"java.util.Date"
jdbcType=
"TIMESTAMP"
property=
"firstAuthTime"
/>
<result
column=
"valid_qrcode_flag"
property=
"validQrcodeFlag"
/>
<result
column=
"valid_qrcode_flag"
property=
"validQrcodeFlag"
/>
<result
column=
"login_remark"
property=
"loginRemark"
/>
<result
column=
"login_remark"
property=
"loginRemark"
/>
<result
column=
"add_stop_time"
property=
"addStopTime"
/>
<result
column=
"del_stop_time"
property=
"delStopTime"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
open_staff_id
open_staff_id
, wx_enterprise_id,enterprise_id, staff_id, create_time, update_time, uuid, delete_flag,status_flag, step, qw_user_id, wx_corp_id, qr_code_1, key_1,
, wx_enterprise_id,enterprise_id, staff_id, create_time, update_time, uuid, delete_flag,status_flag, step, qw_user_id, wx_corp_id, qr_code_1, key_1,
qr_code_2, key_2, valid_flag, auth_time,first_auth_time , valid_qrcode_flag , login_remark
qr_code_2, key_2, valid_flag, auth_time,first_auth_time , valid_qrcode_flag , login_remark
, add_stop_time , del_stop_time
</sql>
</sql>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.dao.mapper.OpenStaffMapper"
>
<insert
id=
"insert"
parameterType=
"com.gic.haoban.manage.service.dao.mapper.OpenStaffMapper"
>
...
@@ -98,6 +100,17 @@
...
@@ -98,6 +100,17 @@
where open_staff_id = #{id}
where open_staff_id = #{id}
</update>
</update>
<update
id=
"updateStopTime"
>
update tab_haoban_open_staff
<if
test=
"type==1"
>
add_stop_time = add_stop_time + #{time}
</if>
<if
test=
"type==2"
>
del_stop_time = del_stop_time + #{time}
</if>
where open_staff_id = #{id}
</update>
<delete
id=
"deleteByPrimaryKey"
>
<delete
id=
"deleteByPrimaryKey"
>
update tab_haoban_open_staff
update tab_haoban_open_staff
set delete_flag = 1,
set delete_flag = 1,
...
...
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