清除审核状态不正确的加分记录

This commit is contained in:
zhy
2025-09-13 20:20:17 +08:00
parent b27f522eee
commit 7b66a16a40
5 changed files with 49 additions and 0 deletions

View File

@@ -170,4 +170,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="cancelCphAudiDetailsById" parameterType="Long">
update cph_audit_details set status_code=1 where project_id=#{id}
</update>
<select id="listCancelRecord" resultType="SrsAddRecord">
select a.*
from srs_add_record as a
left join cph_iam as b on a.iam_id = b.id
where b.audit_status not in (6,12)
</select>
</mapper>