Commit 6654a569 by liulianglang

在逃分析

parent ebb44e37
......@@ -21,6 +21,7 @@ import org.elasticsearch.search.builder.SearchSourceBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -86,4 +87,20 @@ public class ZtryController {
return reslt;
}
@RequestMapping("/doAnalyseZtry")
public Result doAnalyseZtry(@RequestBody ZtryParam ztryParam){
Result reslt = new Result();
Map<String,Object> map = new HashMap<>();
Map mapResult = new HashMap();
mapResult =ztryService.doAnalyseZtry(ztryParam);
reslt.setData(mapResult);
reslt.setMsg("在逃信息查询成功");
reslt.setStatus("success");
return reslt;
}
}
......@@ -8,6 +8,16 @@ import java.util.Date;
public class ZtryParam extends BaseModel {
private boolean ifzttj;//是否为在逃人员统计
private boolean ifjcyla;//是否为检察院立案
public String getFxtjCx() {
return fxtjCx;
}
public void setFxtjCx(String fxtjCx) {
this.fxtjCx = fxtjCx;
}
private String fxtjCx="1";
private String zbdw_gajgjgdm;//主办单位_公安机关机构代码
private String zbdw_gajgmc;//主办单位_公安机关名称
......@@ -319,6 +329,16 @@ public class ZtryParam extends BaseModel {
private String flag;
private String nld;
private String tpsc;
public String getTpsclx() {
return tpsclx;
}
public void setTpsclx(String tpsclx) {
this.tpsclx = tpsclx;
}
private String tpsclx;
private String hjdszd_gajgjgdm;
private String ztzt;//
private String zp;
......
......@@ -9,4 +9,6 @@ import java.util.Map;
public interface ZtryService {
Map<String, Object> ZtryApiQuery(ZtryParam ztry);
Map<String, Object> ZtryApiByDetail(ZtryParam ztry);
Map<String, Object> doAnalyseZtry(ZtryParam ztryParam);
}
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