Commit 2c01377b by libin

接处警查询添加案事件编号的条件和返回值

parent d8219d98
...@@ -145,7 +145,7 @@ public class XxcxController { ...@@ -145,7 +145,7 @@ public class XxcxController {
List<TbZhzxJjxxView> tbZhzxJjxxViews = new ArrayList<>(); List<TbZhzxJjxxView> tbZhzxJjxxViews = new ArrayList<>();
try { try {
if(StringUtils.isEmpty(param.getJjdbh()) && StringUtils.isEmpty(param.getBjrxm())&& StringUtils.isEmpty(param.getJjyxm())){ if(StringUtils.isEmpty(param.getJjdbh()) && StringUtils.isEmpty(param.getBjrxm()) && StringUtils.isEmpty(param.getJjyxm()) && StringUtils.isEmpty(param.getAsjbh())){
reslt.setData(new ArrayList<>()); reslt.setData(new ArrayList<>());
reslt.setMsg("查询参数为空,不能查询!"); reslt.setMsg("查询参数为空,不能查询!");
reslt.setStatus("fail"); reslt.setStatus("fail");
...@@ -178,7 +178,7 @@ public class XxcxController { ...@@ -178,7 +178,7 @@ public class XxcxController {
List<TbZhzxCjxxView> tbZhzxCjxxViews = new ArrayList<>(); List<TbZhzxCjxxView> tbZhzxCjxxViews = new ArrayList<>();
try { try {
if(StringUtils.isEmpty(param.getJjdbh()) && StringUtils.isEmpty(param.getPjdbh())&& StringUtils.isEmpty(param.getPjyxm())){ if(StringUtils.isEmpty(param.getJjdbh()) && StringUtils.isEmpty(param.getPjdbh()) && StringUtils.isEmpty(param.getPjyxm()) && StringUtils.isEmpty(param.getAsjbh())){
reslt.setData(new ArrayList<>()); reslt.setData(new ArrayList<>());
reslt.setMsg("查询参数为空,不能查询!"); reslt.setMsg("查询参数为空,不能查询!");
reslt.setStatus("fail"); reslt.setStatus("fail");
......
...@@ -162,6 +162,9 @@ public class TbZhzxCjxx implements Serializable { ...@@ -162,6 +162,9 @@ public class TbZhzxCjxx implements Serializable {
//派警时间 //派警时间
private String formPjsj; private String formPjsj;
//案事件编号
private String asjbh;
public String getFormXfsj() { public String getFormXfsj() {
return formXfsj; return formXfsj;
} }
...@@ -585,4 +588,12 @@ public class TbZhzxCjxx implements Serializable { ...@@ -585,4 +588,12 @@ public class TbZhzxCjxx implements Serializable {
public void setFormPjsj(String formPjsj) { public void setFormPjsj(String formPjsj) {
this.formPjsj = formPjsj; this.formPjsj = formPjsj;
} }
public String getAsjbh() {
return asjbh;
}
public void setAsjbh(String asjbh) {
this.asjbh = asjbh;
}
} }
...@@ -32,6 +32,16 @@ public class TbZhzxCjxxView implements Serializable { ...@@ -32,6 +32,16 @@ public class TbZhzxCjxxView implements Serializable {
private String zbqk; private String zbqk;
//派警意见 //派警意见
private String pjyj; private String pjyj;
//案事件编号
private String asjbh;
public String getAsjbh() {
return asjbh;
}
public void setAsjbh(String asjbh) {
this.asjbh = asjbh;
}
public String getPjyj() { public String getPjyj() {
return pjyj; return pjyj;
......
...@@ -219,6 +219,9 @@ public class TbZhzxJjxx implements Serializable { ...@@ -219,6 +219,9 @@ public class TbZhzxJjxx implements Serializable {
//接入时间 //接入时间
private String formJrsj; private String formJrsj;
//案事件编号
private String asjbh;
public String getJjdw() { public String getJjdw() {
return jjdw; return jjdw;
} }
...@@ -794,4 +797,12 @@ public class TbZhzxJjxx implements Serializable { ...@@ -794,4 +797,12 @@ public class TbZhzxJjxx implements Serializable {
public void setFormJrsj(String formJrsj) { public void setFormJrsj(String formJrsj) {
this.formJrsj = formJrsj; this.formJrsj = formJrsj;
} }
public String getAsjbh() {
return asjbh;
}
public void setAsjbh(String asjbh) {
this.asjbh = asjbh;
}
} }
...@@ -40,6 +40,8 @@ public class TbZhzxJjxxView implements Serializable { ...@@ -40,6 +40,8 @@ public class TbZhzxJjxxView implements Serializable {
private String dicBjfsdm; private String dicBjfsdm;
//受理单编号 //受理单编号
private String sldbh; private String sldbh;
//案事件编号
private String asjbh;
public String getBjdh() { public String getBjdh() {
return bjdh; return bjdh;
...@@ -184,4 +186,12 @@ public class TbZhzxJjxxView implements Serializable { ...@@ -184,4 +186,12 @@ public class TbZhzxJjxxView implements Serializable {
public void setSldbh(String sldbh) { public void setSldbh(String sldbh) {
this.sldbh = sldbh; this.sldbh = sldbh;
} }
public String getAsjbh() {
return asjbh;
}
public void setAsjbh(String asjbh) {
this.asjbh = asjbh;
}
} }
...@@ -166,6 +166,7 @@ public class XxcxServiceImpl implements XxcxService { ...@@ -166,6 +166,7 @@ public class XxcxServiceImpl implements XxcxService {
view.setLxdh(entity.getLxdh()); view.setLxdh(entity.getLxdh());
view.setSfdd(entity.getSfdd()); view.setSfdd(entity.getSfdd());
view.setYhdz(entity.getYhdz()); view.setYhdz(entity.getYhdz());
view.setAsjbh(entity.getAsjbh());
result.add(view); result.add(view);
} }
} }
...@@ -190,6 +191,7 @@ public class XxcxServiceImpl implements XxcxService { ...@@ -190,6 +191,7 @@ public class XxcxServiceImpl implements XxcxService {
view.setPjyj(entity.getPjyj()); view.setPjyj(entity.getPjyj());
view.setPjyxm(entity.getPjyxm()); view.setPjyxm(entity.getPjyxm());
view.setZbqk(entity.getZbqk()); view.setZbqk(entity.getZbqk());
view.setAsjbh(entity.getAsjbh());
result.add(view); result.add(view);
} }
} }
......
...@@ -430,7 +430,8 @@ ...@@ -430,7 +430,8 @@
FORM_RKSJ as formRksj, FORM_RKSJ as formRksj,
FORM_CJSJ as formCjsj, FORM_CJSJ as formCjsj,
FORM_ODS_RKSJ as formOdsRksj, FORM_ODS_RKSJ as formOdsRksj,
FORM_JRSJ as formJrsj FORM_JRSJ as formJrsj,
ASJBH as asjbh
from TB_M_ZHZX_JJXX from TB_M_ZHZX_JJXX
where 1=1 where 1=1
<if test="jjdw != null and jjdw != ''"> AND JJDW = #{jjdw , jdbcType=VARCHAR } </if> <if test="jjdw != null and jjdw != ''"> AND JJDW = #{jjdw , jdbcType=VARCHAR } </if>
...@@ -448,6 +449,7 @@ ...@@ -448,6 +449,7 @@
<if test="bjxldm != null and bjxldm != ''"> AND BJXLDM = #{bjxldm , jdbcType=VARCHAR } </if> <if test="bjxldm != null and bjxldm != ''"> AND BJXLDM = #{bjxldm , jdbcType=VARCHAR } </if>
<if test="dicJjdw != null and dicJjdw != ''"> AND DIC_JJDW = #{dicJjdw , jdbcType=VARCHAR } </if> <if test="dicJjdw != null and dicJjdw != ''"> AND DIC_JJDW = #{dicJjdw , jdbcType=VARCHAR } </if>
<if test="dicBjfsdm != null and dicBjfsdm != ''"> AND DIC_BJFSDM = #{dicBjfsdm , jdbcType=VARCHAR } </if> <if test="dicBjfsdm != null and dicBjfsdm != ''"> AND DIC_BJFSDM = #{dicBjfsdm , jdbcType=VARCHAR } </if>
<if test="asjbh != null and asjbh != ''"> AND ASJBH = #{asjbh , jdbcType=VARCHAR } </if>
</select> </select>
<select id="queryCjxx" resultType="com.founder.model.TbZhzxCjxx" parameterType="com.founder.model.TbZhzxCjxxView"> <select id="queryCjxx" resultType="com.founder.model.TbZhzxCjxx" parameterType="com.founder.model.TbZhzxCjxxView">
...@@ -503,7 +505,8 @@ ...@@ -503,7 +505,8 @@
ODS_RKSJ as odsRksj, ODS_RKSJ as odsRksj,
JRSJ as jrsj, JRSJ as jrsj,
DIC_XZQH as dicXzqh, DIC_XZQH as dicXzqh,
FORM_PJSJ as formPjsj FORM_PJSJ as formPjsj,
ASJBH as asjbh
from TB_M_ZHZX_CJXX from TB_M_ZHZX_CJXX
where 1=1 where 1=1
<if test="pjdbh != null and pjdbh != ''"> AND PJDBH = #{pjdbh , jdbcType=VARCHAR } </if> <if test="pjdbh != null and pjdbh != ''"> AND PJDBH = #{pjdbh , jdbcType=VARCHAR } </if>
...@@ -511,5 +514,6 @@ ...@@ -511,5 +514,6 @@
<if test="pjyxm != null and pjyxm != ''"> AND PJYXM = #{pjyxm , jdbcType=VARCHAR } </if> <if test="pjyxm != null and pjyxm != ''"> AND PJYXM = #{pjyxm , jdbcType=VARCHAR } </if>
<if test="ddsj != null and ddsj != ''"> AND DDSJ = #{ddsj , jdbcType=VARCHAR } </if> <if test="ddsj != null and ddsj != ''"> AND DDSJ = #{ddsj , jdbcType=VARCHAR } </if>
<if test="pjsj != null and pjsj != ''"> AND PJSJ = #{pjsj , jdbcType=VARCHAR } </if> <if test="pjsj != null and pjsj != ''"> AND PJSJ = #{pjsj , jdbcType=VARCHAR } </if>
<if test="asjbh != null and asjbh != ''"> AND ASJBH = #{asjbh , jdbcType=VARCHAR } </if>
</select> </select>
</mapper> </mapper>
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