|
|
@ -397,6 +397,8 @@
|
|
|
|
create_time createTime
|
|
|
|
create_time createTime
|
|
|
|
from qc_pro_check
|
|
|
|
from qc_pro_check
|
|
|
|
where CONVERT(varchar(10),create_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
where CONVERT(varchar(10),create_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
|
|
|
|
and isqua = '0'
|
|
|
|
|
|
|
|
order by create_time desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="getHFxlInfo" resultType="com.op.system.api.domain.dto.BoardDTO">
|
|
|
|
<select id="getHFxlInfo" resultType="com.op.system.api.domain.dto.BoardDTO">
|
|
|
|
select t2.totalNum0,t1.* from
|
|
|
|
select t2.totalNum0,t1.* from
|
|
|
@ -432,7 +434,7 @@
|
|
|
|
select shift_code shiftId,min(change_time) startTime,work_date,device_code deviceCode
|
|
|
|
select shift_code shiftId,min(change_time) startTime,work_date,device_code deviceCode
|
|
|
|
from mes_changeshift_info
|
|
|
|
from mes_changeshift_info
|
|
|
|
where device_code = #{equipmentCode}
|
|
|
|
where device_code = #{equipmentCode}
|
|
|
|
and work_date in (${ymd})
|
|
|
|
and CONVERT(varchar(10),change_time, 120) in (${ymd})
|
|
|
|
group by shift_code,work_date,device_code
|
|
|
|
group by shift_code,work_date,device_code
|
|
|
|
) t order by t.startTime
|
|
|
|
) t order by t.startTime
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|