Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjsgfa_mysql
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
jiangyun
zjsgfa_mysql
Commits
7067af52
Commit
7067af52
authored
Mar 18, 2026
by
MMF
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMF 2026-03-18 施工方案、钻井液方案导出增加电子签名
parent
b2b91b0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
5 deletions
+20
-5
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
+6
-1
src/main/java/com/zjsgfa/project/zjsgfa/domain/BizTodoItem.java
+5
-0
src/main/resources/mybatis/zjsgfa/BizTodoItemMapper.xml
+9
-4
No files found.
src/main/java/com/zjsgfa/project/zjsgfa/controller/SjDjjcController.java
View file @
7067af52
...
...
@@ -2613,7 +2613,12 @@ public class SjDjjcController extends BaseController {
List
<
Map
<
String
,
Object
>>
spList
=
new
ArrayList
<>();
for
(
BizTodoItem
bizTodoItem:
bizTodoItemList
){
Map
<
String
,
Object
>
mapSp
=
new
HashMap
<>();
mapSp
.
put
(
"spr"
,
bizTodoItem
.
getHandleUserName
());
if
(
StringUtils
.
isNotEmpty
(
bizTodoItem
.
getDzqm
()))
{
Map
<
String
,
PictureRenderData
>
pictureMap
=
createPictureMap
(
bizTodoItem
.
getDzqm
(),
120
,
40
);
mapSp
.
put
(
"spr"
,
pictureMap
.
get
(
"jwt"
));
}
else
{
mapSp
.
put
(
"spr"
,
null
);
}
mapSp
.
put
(
"spyj"
,
bizTodoItem
.
getComment
());
spList
.
add
(
mapSp
);
}
...
...
src/main/java/com/zjsgfa/project/zjsgfa/domain/BizTodoItem.java
View file @
7067af52
...
...
@@ -92,4 +92,9 @@ public class BizTodoItem extends BaseEntity
//当前任务名称
private
String
dqtaskName
;
/**
* 审批人电子签名
*/
private
String
dzqm
;
}
src/main/resources/mybatis/zjsgfa/BizTodoItemMapper.xml
View file @
7067af52
...
...
@@ -104,10 +104,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where instance_id=#{instanceId} and task_name =(select task_name from biz_todo_item where task_id =#{taskId})
</select>
<select
id=
"selectBizTodoItemSpList"
resultType=
"com.zjsgfa.project.zjsgfa.domain.BizTodoItem"
>
select * from biz_todo_item where instance_id=#{instanceId} and id>(
select max(id) from biz_todo_item where instance_id=#{instanceId} and task_name='taskTb')
and is_handle='1'
SELECT
biz.*, user.dzqm
FROM
biz_todo_item biz
LEFT JOIN sys_user user ON biz.handle_user_id=user.user_name
WHERE
biz.instance_id = #{instanceId}
AND biz.id > ( SELECT max( id ) FROM biz_todo_item WHERE instance_id = #{instanceId} AND task_name = 'taskTb' )
AND biz.is_handle = '1'
</select>
<insert
id=
"insertBizTodoItem"
parameterType=
"BizTodoItem"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
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