|
@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isAuto != null ">AND t1.is_auto = #{isAuto}</if>
|
|
|
|
|
|
</trim>
|
|
|
- order by ( case when t1.status = 0 then 3 else t1.status end) desc, t1.create_time asc
|
|
|
+ order by t1.production_plan_detail_id ,t1.lot_code
|
|
|
</select>
|
|
|
<select id="getInfoByIds" resultMap="BizProcessInspecionResult">
|
|
|
select t1.*,t3.id as process_id,t3.process_alias,t4.technology_version,t5.drawing_number from biz_process_inspecion t1
|