|
|
|
@ -229,11 +229,11 @@
|
|
|
|
|
and check_type = #{checkType}
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getLastTask" resultType="java.lang.String">
|
|
|
|
|
select check_status from qc_check_task
|
|
|
|
|
select top 1 check_status from qc_check_task
|
|
|
|
|
where check_type = #{checkType}
|
|
|
|
|
and order_no= #{orderNo}
|
|
|
|
|
and income_batch_no = #{incomeBatchNo}
|
|
|
|
|
and del_flag='0'
|
|
|
|
|
and del_flag='0' order by create_time desc
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertEquRepairOrder" parameterType="DeviceRepairOrder">
|
|
|
|
|