getLabReqsteplogMax错误

This commit is contained in:
tangw 2025-09-23 17:12:06 +08:00
parent f69d4c25f9
commit c07e65b9ce

View File

@ -9,7 +9,7 @@
select * from lab_reqsteplog where sqh = #{sqh}
</select>
<select id="getLabReqsteplogMax" resultType="Integer">
select xh from lab_reqsteplog where sqh = #{sqh}
select MAX(xh) from lab_reqsteplog where sqh = #{sqh}
</select>
<insert id="insertLabReqsteplog" parameterType="com.czlis.common.core.domain.entity.lis.LabReqsteplog">
insert into lab_reqsteplog (sqh, xh, zt, userid,