2026.3.18 晚
This commit is contained in:
@@ -243,10 +243,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="selectMydoJobByEntranceId" parameterType="MydoJob" resultMap="MydoJobResult">
|
||||
select top(1)* from mydo_job mj
|
||||
where in_or_out<20 and mj.entrance_id = #{entranceId}
|
||||
and mj.status = #{status}
|
||||
<if test="lineId != null and lineId != ''"> and mj.line_id = #{lineId}</if>
|
||||
<if test="workshopId != null and workshopId != ''"> and mj.workshop_id = #{workshopId}</if>
|
||||
where in_or_out<20
|
||||
and mj.tray_code = #{trayCode}
|
||||
<!-- <if test="lineId != null and lineId != ''"> and mj.line_id = #{lineId}</if>-->
|
||||
<!-- <if test="workshopId != null and workshopId != ''"> and mj.workshop_id = #{workshopId}</if>-->
|
||||
order by mj.create_time
|
||||
</select>
|
||||
|
||||
|
||||
@@ -181,8 +181,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{status,mode=IN,jdbcType=VARCHAR},
|
||||
#{newStatus,mode=IN,jdbcType=VARCHAR},
|
||||
#{exitId,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_result,mode=OUT,jdbcType=VARCHAR},
|
||||
#{v_resultString,mode=OUT,jdbcType=VARCHAR}
|
||||
#{v_result,mode=OUT,jdbcType=INTEGER},
|
||||
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
||||
)
|
||||
}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user