大屏隐患数据
This commit is contained in:
parent
58c78664f0
commit
fe7876523b
|
|
@ -1617,7 +1617,7 @@
|
||||||
left join SysEnterprise se on bc.BaseEntId = se.SysEnterpriseId
|
left join SysEnterprise se on bc.BaseEntId = se.SysEnterpriseId
|
||||||
where se.State = '启用'
|
where se.State = '启用'
|
||||||
and YEAR(bt.CreatedOn)= YEAR(NOW())
|
and YEAR(bt.CreatedOn)= YEAR(NOW())
|
||||||
and se.street_code = #{streetCode}
|
AND FIND_IN_SET(#{streetCode},se.area_path)
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="countDangerNum" resultType="java.lang.Integer">
|
<select id="countDangerNum" resultType="java.lang.Integer">
|
||||||
|
|
|
||||||
|
|
@ -2349,7 +2349,7 @@
|
||||||
select count(*) from SysEnterprise se
|
select count(*) from SysEnterprise se
|
||||||
where se.State = '启用'
|
where se.State = '启用'
|
||||||
<if test="null != areaCode and '' != areaCode">
|
<if test="null != areaCode and '' != areaCode">
|
||||||
and (se.OrgCode = #{areaCode} or se.street_code = #{areaCode} or se.community_code = #{areaCode})
|
AND FIND_IN_SET(#{areaCode},se.area_path)
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
@ -2463,7 +2463,7 @@
|
||||||
from BookEntCheck bc
|
from BookEntCheck bc
|
||||||
left join SysEnterprise se on bc.BaseEntId = se.SysEnterpriseId
|
left join SysEnterprise se on bc.BaseEntId = se.SysEnterpriseId
|
||||||
where se.State = '启用'
|
where se.State = '启用'
|
||||||
and se.street_code = #{streetCode}
|
AND FIND_IN_SET(#{streetCode},se.area_path)
|
||||||
and YEAR(bc.CreatedOn)= YEAR(NOW())
|
and YEAR(bc.CreatedOn)= YEAR(NOW())
|
||||||
<if test="null != inherentRisk">
|
<if test="null != inherentRisk">
|
||||||
and se.InherentRisk = #{inherentRisk}
|
and se.InherentRisk = #{inherentRisk}
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ public class BigdataController extends com.rzyc.controller.BaseController {
|
||||||
|
|
||||||
@ApiOperation(value = "周检查情况", notes = "周检查情况")
|
@ApiOperation(value = "周检查情况", notes = "周检查情况")
|
||||||
@GetMapping("/weekCheckInfo")
|
@GetMapping("/weekCheckInfo")
|
||||||
@ApiImplicitParam(name = "orgCode",value = "街道id 不传为街道检查信息 传为街道下社区检查信息")
|
@ApiImplicitParam(name = "orgCode",value = "地区id")
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public MultiResult<WeekCheckInfo> weekCheckInfo(String orgCode)throws Exception{
|
public MultiResult<WeekCheckInfo> weekCheckInfo(String orgCode)throws Exception{
|
||||||
MultiResult<WeekCheckInfo> result = new MultiResult<>();
|
MultiResult<WeekCheckInfo> result = new MultiResult<>();
|
||||||
|
|
@ -567,9 +567,9 @@ public class BigdataController extends com.rzyc.controller.BaseController {
|
||||||
return controlCheck;
|
return controlCheck;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation(value = "街道监督检查信息", notes = "街道监督检查信息")
|
@ApiOperation(value = "监督检查信息", notes = "监督检查信息")
|
||||||
@GetMapping("/controlCheckStreet/{orgCode}")
|
@GetMapping("/controlCheckStreet/{orgCode}")
|
||||||
@ApiImplicitParam(name = "orgCode",value = "街道id",required = true)
|
@ApiImplicitParam(name = "orgCode",value = "地区编号",required = true)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
public SingleResult<ControlCheck> controlCheckStreet(@PathVariable String orgCode)throws Exception{
|
public SingleResult<ControlCheck> controlCheckStreet(@PathVariable String orgCode)throws Exception{
|
||||||
SingleResult<ControlCheck> result = new SingleResult<>();
|
SingleResult<ControlCheck> result = new SingleResult<>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user