Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
002af6b3
Commit
002af6b3
authored
Nov 15, 2022
by
翁国栋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除审批人
parent
2acffa17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
+0
-0
src/main/java/cn/timer/api/dao/spmk/SpmkApproveExecuteRecordMapper.java
+2
-0
src/main/resources/mapping/spmk/SpmkApproveExecuteRecordMapper.xml
+6
-0
src/main/resources/mapping/spmk/SpmkExecutorMapper.xml
+7
-4
No files found.
src/main/java/cn/timer/api/controller/spmk/SpmkController.java
View file @
002af6b3
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dao/spmk/SpmkApproveExecuteRecordMapper.java
View file @
002af6b3
...
...
@@ -22,4 +22,6 @@ public interface SpmkApproveExecuteRecordMapper extends BaseMapper<SpmkApproveEx
int
delExecuteRecord
(
@Param
(
"recordId"
)
Integer
recordId
,
@Param
(
"approveSummaryId"
)
Integer
approveSummaryId
);
SpmkApproveExecuteRecord
selectExecuteRecordById
(
@Param
(
"userId"
)
Integer
userId
,
@Param
(
"approveSummaryId"
)
Integer
approveSummaryId
);
int
delExecuteRecordByRecordIds
(
@Param
(
"id"
)
Integer
id
,
@Param
(
"uid"
)
Integer
uid
);
SpmkApproveExecuteRecord
selectExecuteRecordReoId
(
@Param
(
"reoId"
)
Integer
reoId
,
@Param
(
"approveSummaryId"
)
Integer
approveSummaryId
);
}
src/main/resources/mapping/spmk/SpmkApproveExecuteRecordMapper.xml
View file @
002af6b3
...
...
@@ -172,6 +172,12 @@
WHERE sr.approve_summary_id = #{approveSummaryId} and se.emp_num = #{userId}
</select>
<select
id=
"selectExecuteRecordReoId"
resultType=
"cn.timer.api.bean.spmk.SpmkApproveExecuteRecord"
>
SELECT sr.id FROM spmk_approve_execute_record sr
LEFT JOIN spmk_executor se ON se.approve_execute_record_id=sr.id
WHERE sr.approve_summary_id = #{approveSummaryId} and se.uid = #{reoId}
</select>
<delete
id=
"delExecuteRecord"
>
DELETE sr,se FROM spmk_approve_execute_record sr
LEFT JOIN spmk_executor se on sr.id=se.approve_execute_record_id
...
...
src/main/resources/mapping/spmk/SpmkExecutorMapper.xml
View file @
002af6b3
...
...
@@ -30,7 +30,7 @@
update_time,
signature_img,
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkExecutor_id,
approve_execute_record_id SpmkExecutor_approve_execute_record_id,
...
...
@@ -43,7 +43,7 @@
update_time SpmkExecutor_update_time
</sql>
<!--
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkExecutor">
INSERT INTO spmk_executor
...
...
@@ -140,5 +140,9 @@
</select>
-->
<select
id=
"executor"
resultMap=
"BaseResultMap"
>
select
</select>
</mapper>
\ No newline at end of file
</mapper>
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