Commit 09e49de5 by yangyang

态势分析案件提交(湖南)

parent 4432a347
......@@ -57,7 +57,7 @@ public class TbStAsjParm implements Serializable {
private String ajxlb;
@ApiModelProperty(value = "案件类别代码")
private String afdXzqhdm;
private String afdxzqhdm;
@ApiModelProperty(value = "案件名称")
private int ajmc;
......
......@@ -78,8 +78,8 @@
<if test="larqEnd!= null and larqEnd!=''">
AND T.LARQ <![CDATA[<]]> DATE_FORMAT(#{larqEnd,jdbcType=VARCHAR},'%Y-%m-%d %H:%i:%s')
</if>
<if test="afdXzqhdm!= null and afdXzqhdm!=''">
AND T.ASJFSDD_XZQHDM like concat(#{afdXzqhdm , jdbcType=VARCHAR }, '%')
<if test="afdxzqhdm!= null and afdxzqhdm!=''">
AND T.ASJFSDD_XZQHDM like concat(#{afdxzqhdm , jdbcType=VARCHAR }, '%')
</if>
<if test="zcjddm!= null and zcjddm!=''">
AND T.ZCJDDM= #{ zcjddm , jdbcType=VARCHAR }
......
......@@ -61,18 +61,18 @@ public class TbStAsjServiceImpl extends ServiceImpl<TbStAsjMapper, TbStAsj> impl
}
// 案发地区划代码模糊查询
if (StringUtils.isNotEmpty(tbStAsjParm.getAfdXzqhdm())) {
if (StringUtils.isNotEmpty(tbStAsjParm.getAfdxzqhdm())) {
// 根据规则截取前两位
String xzqh = "";
if(tbStAsjParm.getAfdXzqhdm().endsWith("0000")){
xzqh = tbStAsjParm.getAfdXzqhdm().substring(0,2);
}else if(tbStAsjParm.getAfdXzqhdm().endsWith("00")){
xzqh = tbStAsjParm.getAfdXzqhdm().substring(0,4);
if(tbStAsjParm.getAfdxzqhdm().endsWith("0000")){
xzqh = tbStAsjParm.getAfdxzqhdm().substring(0,2);
}else if(tbStAsjParm.getAfdxzqhdm().endsWith("00")){
xzqh = tbStAsjParm.getAfdxzqhdm().substring(0,4);
}else{
xzqh = tbStAsjParm.getAfdXzqhdm();
xzqh = tbStAsjParm.getAfdxzqhdm();
}
tbStAsjParm.setAfdXzqhdm(xzqh);
tbStAsjParm.getAfdxzqhdm(xzqh);
}
return tbStAsjMapper.selectAsjxxByReceivingList(tbStAsjParm);
}
......
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