Merge branch 'master' of http://42.192.7.176:3000/suojin/mediation-platform
commit
f2719bc46d
3 changed files with 232 additions and 0 deletions
@ -0,0 +1,52 @@ |
|||||||
|
/* |
||||||
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||||
|
* |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions are met: |
||||||
|
* |
||||||
|
* Redistributions of source code must retain the above copyright notice, |
||||||
|
* this list of conditions and the following disclaimer. |
||||||
|
* Redistributions in binary form must reproduce the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer in the |
||||||
|
* documentation and/or other materials provided with the distribution. |
||||||
|
* Neither the name of the dreamlu.net developer nor the names of its |
||||||
|
* contributors may be used to endorse or promote products derived from |
||||||
|
* this software without specific prior written permission. |
||||||
|
* Author: Chill 庄骞 (smallchill@163.com) |
||||||
|
*/ |
||||||
|
package org.springblade.modules.business.service; |
||||||
|
|
||||||
|
|
||||||
|
import org.springblade.modules.business.entity.Appeal; |
||||||
|
|
||||||
|
import java.util.Date; |
||||||
|
import java.util.List; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* 服务类 |
||||||
|
* |
||||||
|
* @author BladeX |
||||||
|
*/ |
||||||
|
public interface ILargeScreenService { |
||||||
|
|
||||||
|
Map<String, Object> getMediateFinish(); |
||||||
|
|
||||||
|
Map<String, Object> getAppealSubmit(); |
||||||
|
|
||||||
|
List<Appeal> getAppealList(); |
||||||
|
|
||||||
|
Map<String, Object> getAppealByMon(); |
||||||
|
|
||||||
|
Map<String, Object> getAppealTypePercent(); |
||||||
|
|
||||||
|
Map<String, Object> getAppealSubmitCountByLoc(Integer timeFrame, Date startTime, Date endTime); |
||||||
|
|
||||||
|
Map<String, Object> getAppealFinishCountByLoc(Integer timeFrame, Date startTime, Date endTime); |
||||||
|
|
||||||
|
Map<String, Object> getImmediateCountByLoc(Integer timeFrame, Date startTime, Date endTime); |
||||||
|
|
||||||
|
List<Appeal> getImmediateList(String streetId); |
||||||
|
|
||||||
|
Map<String, Object> getAppealHot(); |
||||||
|
} |
||||||
@ -0,0 +1,95 @@ |
|||||||
|
/* |
||||||
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved. |
||||||
|
* |
||||||
|
* Redistribution and use in source and binary forms, with or without |
||||||
|
* modification, are permitted provided that the following conditions are met: |
||||||
|
* |
||||||
|
* Redistributions of source code must retain the above copyright notice, |
||||||
|
* this list of conditions and the following disclaimer. |
||||||
|
* Redistributions in binary form must reproduce the above copyright |
||||||
|
* notice, this list of conditions and the following disclaimer in the |
||||||
|
* documentation and/or other materials provided with the distribution. |
||||||
|
* Neither the name of the dreamlu.net developer nor the names of its |
||||||
|
* contributors may be used to endorse or promote products derived from |
||||||
|
* this software without specific prior written permission. |
||||||
|
* Author: Chill 庄骞 (smallchill@163.com) |
||||||
|
*/ |
||||||
|
package org.springblade.modules.business.service.impl; |
||||||
|
|
||||||
|
import lombok.AllArgsConstructor; |
||||||
|
import org.springblade.modules.business.entity.Appeal; |
||||||
|
import org.springblade.modules.business.service.IAppealService; |
||||||
|
import org.springblade.modules.business.service.ILargeScreenService; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
import java.util.Date; |
||||||
|
import java.util.List; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* 服务实现类 |
||||||
|
* |
||||||
|
* @author BladeX |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
@AllArgsConstructor |
||||||
|
public class LargeScreenServiceImpl implements ILargeScreenService { |
||||||
|
|
||||||
|
private final IAppealService appealService; |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getMediateFinish() { |
||||||
|
// 总化解数
|
||||||
|
// 本年化解数
|
||||||
|
// 本季度化解数
|
||||||
|
// 本月化解数
|
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealSubmit() { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public List<Appeal> getAppealList() { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealByMon() { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealTypePercent() { |
||||||
|
// 先查所有
|
||||||
|
// 根据纠纷类型分组(输入的纠纷类型算其他纠纷)
|
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealSubmitCountByLoc(Integer timeFrame, Date startTime, Date endTime) { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealFinishCountByLoc(Integer timeFrame, Date startTime, Date endTime) { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getImmediateCountByLoc(Integer timeFrame, Date startTime, Date endTime) { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public List<Appeal> getImmediateList(String streetId) { |
||||||
|
return null; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public Map<String, Object> getAppealHot() { |
||||||
|
return null; |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue