1、修复动态规则、任务批量审批bug

2、配置新增批量审批
3、规则、任务补全创建人属性
4、删去kafkatest配置文件
This commit is contained in:
PushM
2024-05-09 13:06:21 +08:00
parent b6061f58e1
commit 096c5efbdb
31 changed files with 445 additions and 182 deletions

View File

@@ -141,6 +141,15 @@
FROM t_protect_object_dynamic_rule_conn
</select>
<select id="queryAuditStatusByIds" resultType="java.lang.Integer">
select protect_object_audit_status
from t_protect_object
where protect_object_id in
<foreach collection="idsWithAuditStatusMap" index="id" open="(" separator="," close=")">
#{id}
</foreach>
</select>
<update id="updateProtectObject">
UPDATE t_protect_object
<set>
@@ -179,4 +188,17 @@
SET protect_object_audit_status = #{proobj_audit_status}
WHERE protect_object_id = #{proobj_id}
</update>
<update id="updateAuditStatusByIdBatch">
update t_protect_object
set protect_object_audit_status = CASE protect_object_id
<foreach collection="idWithAuditStatusBatch" index="id" item="auditStatus" separator=" ">
WHEN #{id} THEN #{auditStatus}
</foreach>
END
WHERE protect_object_id IN
<foreach collection="idWithAuditStatusBatch" index="id" open="(" separator="," close=")">
#{id}
</foreach>
</update>
</mapper>