This commit is contained in:
2025-11-08 18:11:16 +08:00
parent 94438d1271
commit b423ea902c
57 changed files with 841 additions and 439 deletions

View File

@@ -120,6 +120,10 @@
<groupId>cn.fateverse</groupId>
<artifactId>common-excel</artifactId>
</dependency>
<dependency>
<groupId>cn.fateverse</groupId>
<artifactId>admin-api</artifactId>
</dependency>
</dependencies>
<build>

View File

@@ -91,7 +91,7 @@
<if test="state != null">state,</if>
<if test="startTime != null ">start_time,</if>
<if test="finishTime != null ">finish_time,</if>
<if test="userInfo != null and userInfo != ''">user_info,</if>
<if test="userDetail != null and userDetail != ''">user_info,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null and taskId != ''">#{taskId},</if>
@@ -105,7 +105,7 @@
<if test="state != null">#{state},</if>
<if test="startTime != null ">#{startTime},</if>
<if test="finishTime != null ">#{finishTime},</if>
<if test="userInfo != null and userInfo != ''">#{userInfo},</if>
<if test="userDetail != null and userDetail != ''">#{userDetail},</if>
</trim>
</insert>
@@ -114,7 +114,7 @@
<set>
<if test="finishTime != null ">finish_time = #{finishTime},</if>
<if test="state != null">state = #{state},</if>
<if test="userInfo != null and userInfo != ''">user_info = #{userInfo},</if>
<if test="userDetail != null and userDetail != ''">user_info = #{userDetail},</if>
<if test="message != null and message != ''">message = #{message},</if>
</set>
where process_instance_id = #{processInstanceId} and node_id = #{nodeId}
@@ -145,9 +145,9 @@
</trim>
<trim prefix="user_info = case" suffix="end,">
<foreach collection="list" separator=" " item="item">
<if test="item.userInfo != null and item.userInfo != ''">
<if test="item.userDetail != null and item.userDetail != ''">
</if>
when task_id = #{item.taskId} then #{item.userInfo}
when task_id = #{item.taskId} then #{item.userDetail}
</foreach>
</trim>
<trim prefix="message = case" suffix="end,">