Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
56a25bc3
Commit
56a25bc3
authored
Apr 16, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工表添加两个字段
parent
a760226d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
...mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
+1
-0
attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceGroupFixedworkMapper.xml
...lmap/module/attendance/AttendanceGroupFixedworkMapper.xml
+3
-3
db/menu.sql
db/menu.sql
+1
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/service/impl/DeptServiceImpl.java
View file @
56a25bc3
...
...
@@ -114,6 +114,7 @@ public class DeptServiceImpl extends AbstractCRUDServiceImpl<DeptDao, DeptEntity
@Override
public
boolean
hasChildByDeptId
(
Long
deptId
)
{
List
<
DeptEntity
>
list
=
this
.
find
(
new
DeptQuery
().
parentId
(
deptId
));
return
list
.
size
()
>
0
?
true
:
false
;
}
...
...
attendance-performance-manager/src/main/resources/sqlmap/module/attendance/AttendanceGroupFixedworkMapper.xml
View file @
56a25bc3
...
...
@@ -45,8 +45,8 @@
<result
property=
"className"
column=
"className"
/>
<result
property=
"addWay"
column=
"addWay"
/>
<result
property=
"specialTime"
column=
"specialTime"
/>
<result
property=
"special
TimeStart"
column=
"specialTimeStart
"
/>
<result
property=
"special
TimeEnd"
column=
"specialTimeEnd
"
/>
<result
property=
"special
StartTime"
column=
"specialStartTime
"
/>
<result
property=
"special
EndTime"
column=
"specialEndTime
"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"createUserId"
column=
"createUserId"
/>
<result
property=
"createTime"
column=
"createTime"
/>
...
...
@@ -153,7 +153,7 @@
<!-- 子表所有列 -->
<sql
id=
"_columns_sub"
>
<trim
suffixOverrides=
","
suffix=
""
>
b.id,b.fixedWorkId,b.must,b.classId,b.className,b.addWay,b.specialTime,b.special
TimeStart,b.specialTimeEnd
,b.remark,b.createUserId,b.createTime,b.updateUserId,b.updateTime,
b.id,b.fixedWorkId,b.must,b.classId,b.className,b.addWay,b.specialTime,b.special
StartTime,b.specialEndTime
,b.remark,b.createUserId,b.createTime,b.updateUserId,b.updateTime,
</trim>
</sql>
<!-- 新增 区分主键自增加还是业务插入 -->
...
...
db/menu.sql
View file @
56a25bc3
...
...
@@ -546,5 +546,6 @@ INSERT INTO `mortals_xhx_param` VALUES (null, '请假类型', 'AttendanceVacatio
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'请假类型'
,
'AttendanceVacationRecord'
,
'type'
,
'8'
,
'例假'
,
1
,
4
,
0
,
'type'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'请假类型'
,
'AttendanceVacationRecord'
,
'type'
,
'9'
,
'哺乳假'
,
1
,
4
,
0
,
'type'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'请假类型'
,
'AttendanceVacationRecord'
,
'type'
,
'10'
,
'丧假'
,
1
,
4
,
0
,
'type'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'增减类型'
,
'AttendanceVacationRecord'
,
'subAddType'
,
'1'
,
'增加'
,
1
,
4
,
0
,
'subAddType'
,
NULL
,
NULL
,
NULL
);
INSERT
INTO
`mortals_xhx_param`
VALUES
(
null
,
'增减类型'
,
'AttendanceVacationRecord'
,
'subAddType'
,
'2'
,
'扣除'
,
1
,
4
,
0
,
'subAddType'
,
NULL
,
NULL
,
NULL
);
\ No newline at end of file
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