Merge remote-tracking branch 'lis8.0/master'

This commit is contained in:
jiangs 2025-09-23 17:53:02 +08:00
commit bfa637c393
3 changed files with 3 additions and 2 deletions

View File

@ -312,7 +312,7 @@
shcs = #{shcs,jdbcType=INTEGER}, shcs = #{shcs,jdbcType=INTEGER},
</if> </if>
<if test="sn_tss != null"> <if test="sn_tss != null">
sn_tss = #{snTss,jdbcType=VARCHAR}, sn_tss = #{sn_tss},
</if> </if>
<if test="mzh != null"> <if test="mzh != null">
mzh = #{mzh,jdbcType=VARCHAR}, mzh = #{mzh,jdbcType=VARCHAR},

View File

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

View File

@ -1601,6 +1601,7 @@ public class LisWorkOperServiceImpl implements LisWorkOperService {
int xh= commonUtil.getLabReqsteplogMax(sqh); int xh= commonUtil.getLabReqsteplogMax(sqh);
xh=xh+1; xh=xh+1;
LabReqsteplog labReqsteplog = new LabReqsteplog(); LabReqsteplog labReqsteplog = new LabReqsteplog();
labReqsteplog.setXh(xh);
labReqsteplog.setSqh(sqh); labReqsteplog.setSqh(sqh);
labReqsteplog.setZt(zt); labReqsteplog.setZt(zt);
labReqsteplog.setUserid(yhdh); labReqsteplog.setUserid(yhdh);