直转审核状态字符判断
This commit is contained in:
parent
ba3470bc26
commit
e526346a24
|
|
@ -349,7 +349,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
AND bu.unit_id = #{unitId}
|
||||
</if>
|
||||
<if test="deptId != null">
|
||||
AND bu.dept_id = #{deptId}
|
||||
AND sd.dept_id = #{deptId}
|
||||
</if>
|
||||
UNION
|
||||
SELECT DISTINCT
|
||||
|
|
@ -372,7 +372,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
AND bu.unit_id = #{unitId}
|
||||
</if>
|
||||
<if test="deptId != null">
|
||||
AND bu.dept_id = #{deptId}
|
||||
AND sd.dept_id = #{deptId}
|
||||
</if>
|
||||
) a
|
||||
ORDER BY
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
dai.lease_man as leaseMan ,
|
||||
swr.workflow_status as flowStatus,
|
||||
swr.task_id as flowId,
|
||||
swr.task_code as code,
|
||||
swrs.node_id AS nodeId,
|
||||
swrs.next_node_id AS nextNodeId,
|
||||
swrs.record_id AS recordId,
|
||||
|
|
|
|||
|
|
@ -80,6 +80,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
from sys_workflow_record a
|
||||
|
||||
where task_id = #{taskId}
|
||||
<if test="taskTypeId != null">
|
||||
and a.task_type = #{taskTypeId}
|
||||
</if>
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
|
|
@ -95,7 +98,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN sys_workflow_record swr on swr.id = si.business_id
|
||||
LEFT JOIN uni_org.sys_information_people sp on si.id = sp.information_id
|
||||
WHERE swr.task_id=#{taskId} and si.web_app_id ="9fa73f046ef520b09e94bbffc3b07702"
|
||||
|
||||
<if test="taskTypeId != null">
|
||||
and swr.task_type = #{taskTypeId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getAuditUserByRecordId" resultType="com.bonus.material.work.domain.SysWorkflowRecordHistory">
|
||||
|
|
|
|||
Loading…
Reference in New Issue