设备保养记录 完成状态 逻辑处理修改
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | emt.real_start_time AS realStartTime, | 22 | emt.real_start_time AS realStartTime, |
23 | emt.real_end_time AS realEndTime, | 23 | emt.real_end_time AS realEndTime, |
24 | emt.working_hours AS workingHours, | 24 | emt.working_hours AS workingHours, |
25 | case when (emt.real_end_time <= emt.end_time and emt.working_hours <= emp.limit_duration) then 1 else 2 end AS complete_tag, | 25 | case when (emt.real_end_time <= emt.end_time and CAST(emt.working_hours AS DECIMAL(10, 2)) <= CAST(emp.limit_duration AS DECIMAL(10, 2))) then 1 else 2 end AS complete_tag, |
26 | emt.picture_url AS pictureUrl, | 26 | emt.picture_url AS pictureUrl, |
27 | emt.equipment_id AS equipmentId, | 27 | emt.equipment_id AS equipmentId, |
28 | emt.results_enforcement AS resultsEnforcement, | 28 | emt.results_enforcement AS resultsEnforcement, | ... | ... |
-
请 注册 或 登录 后发表评论