Commit f1459872 authored by zhangyingbin's avatar zhangyingbin

燃气气瓶概览修改

parent 62275435
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
select select
IFNULL( IFNULL(
sum( sum(
case f.is_valid+f.same+f.is_regulations+f.is_complete+f.have_still_pressure+f.is_complete+f.have_security_documents case f.is_valid+f.same+f.is_regulations+f.is_compliance_withGBT+f.have_still_pressure+f.is_complete+f.have_security_documents
when 7 then 1 when 7 then 1
else else
0 end ),0) from tz_cylinder_filling f where date_format(f.inspection_date,'%Y-%m') = date_format(#{time},'%Y-%m') and app_id = #{appId} 0 end ),0) from tz_cylinder_filling f where date_format(f.inspection_date,'%Y-%m') = date_format(#{time},'%Y-%m') and app_id = #{appId}
......
...@@ -52,7 +52,13 @@ public class CylinderUnitServiceImpl extends BaseService<CylinderUnitDto,Cylinde ...@@ -52,7 +52,13 @@ public class CylinderUnitServiceImpl extends BaseService<CylinderUnitDto,Cylinde
} }
/**
* 后边对接需要更改,目前没值默认0
* @param code
* @return
*/
public Integer getWarnNum(String code) { public Integer getWarnNum(String code) {
return baseMapper.getWarnNum(code); // return baseMapper.getWarnNum(code);
return 0;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment