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
1
Merge Requests
1
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
c9ced85a
Commit
c9ced85a
authored
Feb 21, 2020
by
qwmqiuwenmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
682bc853
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
4 deletions
+44
-4
StaffDTO.java
...src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
+10
-0
TabHaobanStaff.java
.../com/gic/haoban/manage/service/entity/TabHaobanStaff.java
+11
-0
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+15
-4
SendCodeController.java
.../gic/haoban/manage/web/controller/SendCodeController.java
+8
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/StaffDTO.java
View file @
c9ced85a
...
...
@@ -49,6 +49,8 @@ public class StaffDTO implements Serializable{
private
String
staffDepartmentRelatedId
;
private
int
clerkType
;
private
Integer
syncPostionFlag
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -231,5 +233,13 @@ public class StaffDTO implements Serializable{
this
.
sort
=
sort
;
}
public
Integer
getSyncPostionFlag
()
{
return
syncPostionFlag
;
}
public
void
setSyncPostionFlag
(
Integer
syncPostionFlag
)
{
this
.
syncPostionFlag
=
syncPostionFlag
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/TabHaobanStaff.java
View file @
c9ced85a
...
...
@@ -35,6 +35,8 @@ public class TabHaobanStaff implements Serializable {
private
String
headImg
;
private
Integer
sort
;
private
Integer
syncPostionFlag
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -165,6 +167,14 @@ public class TabHaobanStaff implements Serializable {
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
Integer
getSyncPostionFlag
()
{
return
syncPostionFlag
;
}
public
void
setSyncPostionFlag
(
Integer
syncPostionFlag
)
{
this
.
syncPostionFlag
=
syncPostionFlag
;
}
}
\ No newline at end of file
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
c9ced85a
...
...
@@ -15,13 +15,14 @@
<result
column=
"active_flag"
property=
"activeFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"sort"
property=
"sort"
jdbcType=
"INTEGER"
/>
<result
column=
"extend_postion"
property=
"extendPostion"
jdbcType=
"VARCHAR"
/>
<result
column=
"sync_postion_flag"
property=
"syncPostionFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"status_flag"
property=
"statusFlag"
jdbcType=
"INTEGER"
/>
<result
column=
"create_time"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"update_time"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
staff_id, wx_user_id, phone_number, staff_name, nation_code, nick_name, sex, postion,
active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img,sort
active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img,sort
,sync_postion_flag
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
...
...
@@ -38,12 +39,12 @@
staff_name, nation_code, nick_name,
sex, postion, active_flag,
extend_postion, status_flag, create_time,
update_time,wx_enterprise_id,head_img,sort)
update_time,wx_enterprise_id,head_img,sort
,sync_postion_flag
)
values (#{staffId,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
#{staffName,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER}, #{postion,jdbcType=VARCHAR}, #{activeFlag,jdbcType=INTEGER},
#{extendPostion,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId},#{headImg},#{sort})
#{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId},#{headImg},#{sort}
,#{syncPostionFlag}
)
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanStaff"
>
insert into tab_haoban_staff
...
...
@@ -96,6 +97,9 @@
<if
test=
"sort != null"
>
sort,
</if>
<if
test=
"syncPostionFlag != null"
>
sync_postion_flag,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"staffId != null"
>
...
...
@@ -146,6 +150,9 @@
<if
test=
"sort != null"
>
#{sort,jdbcType=INTEGER},
</if>
<if
test=
"syncPostionFlag != null"
>
#{syncPostionFlag},
</if>
</trim>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.gic.haoban.manage.service.entity.TabHaobanStaff"
>
...
...
@@ -196,6 +203,9 @@
<if
test=
"sort != null"
>
sort = #{sort,jdbcType=INTEGER},
</if>
<if
test=
"syncPostionFlag != null"
>
sync_postion_flag = #{syncPostionFlag,jdbcType=INTEGER},
</if>
</set>
where staff_id = #{staffId,jdbcType=VARCHAR}
</update>
...
...
@@ -215,7 +225,8 @@
status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
sort = #{sort}
sort = #{sort},
sync_postion_flag = #{syncPostionFlag,jdbcType=INTEGER},
where staff_id = #{staffId,jdbcType=VARCHAR}
</update>
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/SendCodeController.java
0 → 100644
View file @
c9ced85a
package
com
.
gic
.
haoban
.
manage
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
public
class
SendCodeController
extends
WebBaseController
{
}
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