审核模块相关接口修改0721

This commit is contained in:
2025-07-21 11:17:44 +08:00
parent 6c7f945d29
commit 39a92d61f3
10 changed files with 272 additions and 126 deletions

View File

@@ -91,13 +91,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND is_delete = '0'
</select>
<select id="selectPhotoUrlByRkId"
<select id="selectPhotoUrlByBillNo"
resultMap="AuditSignatureResult"
parameterType="java.lang.Long">
parameterType="java.lang.String">
SELECT sign_url, audit_result
FROM audit_signature
WHERE is_delete = '0'
AND rk_id = #{rkId}
AND bill_no = #{billNo}
AND image_type = '1'
ORDER BY create_time DESC
LIMIT 1
@@ -177,7 +177,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
is_delete,
create_by,
create_time,
rk_id
rk_id,
pcode,
tray_code
)
VALUES
<foreach collection="list" item="item" separator=",">
@@ -195,7 +197,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item.isDelete},
#{item.createBy},
#{item.createTime},
#{item.rkId}
#{item.rkId},
#{item.pcode},
#{item.trayCode}
)
</foreach>
</insert>
@@ -209,6 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="isCurrent != null">is_current = #{isCurrent},</if>
</set>
WHERE bill_no = #{billNo}
AND is_current = '1'