夏季行动

master
luyya 2024-07-11 09:22:11 +08:00
parent 9d866913c5
commit ce0c6ba998
16 changed files with 2199 additions and 0 deletions

View File

@ -47,5 +47,7 @@ public interface PcglPcryMapper {
Integer getCheckCountBySfz(String sfz); Integer getCheckCountBySfz(String sfz);
Integer getCountByPeopleSt(PcglPcry pcglPcry);
List<PcglPcry> peopleCheckCount(); List<PcglPcry> peopleCheckCount();
} }

View File

@ -16,4 +16,6 @@ public interface RoadCheckStatisticsMapper {
public RoadCheckStatistics getStuckCheckStatistics(RoadCheckStatistics roadCheckStatistics); public RoadCheckStatistics getStuckCheckStatistics(RoadCheckStatistics roadCheckStatistics);
public RoadCheckStatistics getCheckStatistics(RoadCheckStatistics roadCheckStatistics);
} }

View File

@ -77,5 +77,6 @@ public interface TbStuckMapper
List<TbStuck> selectTbStuckByDept2(String deptId); List<TbStuck> selectTbStuckByDept2(String deptId);
Long selectCount(String deptId);
} }

View File

@ -0,0 +1,62 @@
package basepro.manager.mapper;
import basepro.manager.pojo.TbXjxdzhxxb;
import java.util.List;
/**
* Mapper
*
* @author basepro
* @date 2024-07-10
*/
public interface TbXjxdzhxxbMapper
{
/**
*
*
* @param Id ID
* @return
*/
public TbXjxdzhxxb selectTbXjxdzhxxbById(Long Id);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public List<TbXjxdzhxxb> selectTbXjxdzhxxbList(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public int insertTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public int updateTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param Id ID
* @return
*/
public int deleteTbXjxdzhxxbById(Long Id);
/**
*
*
* @param Ids ID
* @return
*/
public int deleteTbXjxdzhxxbByIds(String[] Ids);
}

View File

@ -154,6 +154,22 @@ checkAddress,checkPerson,kkid,type,remark,yjdw,policeNum,policeXm,deptId,deptNam
select name from tb_check_person where history_id = #{historyId} select name from tb_check_person where history_id = #{historyId}
</select> </select>
<select id="getCountByPeopleSt" resultType="int" parameterType="basepro.manager.pojo.PcglPcry">
select count(1) from tb_check_person where 1=1
<if test='deptId != null and deptId != "0" and deptId.length()>0'>
AND d.dept_id like concat(#{deptId},'%')
</if>
<if test=' peopleStatus != null and peopleStatus != "" '>
and d.people_status like concat('%',#{peopleStatus},'%')
</if>
<if test="params.beginTime != null and params.beginTime != ''">
and date_format(d.check_time,'%y%m%d') &gt;= date_format(#{params.beginTime},'%y%m%d')
</if>
<if test="params.endTime != null and params.endTime != ''">
and date_format(d.check_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
</if>
</select>
<!--查询被核查次数--> <!--查询被核查次数-->
<select id="getCheckCountBySfz" resultType="int"> <select id="getCheckCountBySfz" resultType="int">
select count(1) from tb_check_person where sfz = #{sfz} select count(1) from tb_check_person where sfz = #{sfz}

View File

@ -17,6 +17,7 @@
<result property="commitCarCount" column="commit_car_count"></result> <result property="commitCarCount" column="commit_car_count"></result>
<result property="taskId" column="task_id"></result> <result property="taskId" column="task_id"></result>
<result property="kkid" column="kkid"></result> <result property="kkid" column="kkid"></result>
<result property="ptype" column="ptype"></result>
</resultMap> </resultMap>
<select id="getRoadCheckStatistics" parameterType="basepro.manager.pojo.RoadCheckStatistics" resultMap="RoadResult"> <select id="getRoadCheckStatistics" parameterType="basepro.manager.pojo.RoadCheckStatistics" resultMap="RoadResult">
@ -54,6 +55,23 @@
</select> </select>
<select id="getCheckStatistics" parameterType="basepro.manager.pojo.RoadCheckStatistics" resultMap="RoadResult">
SELECT SUM(all_people_count) people_count, SUM(unusual_people_count) unusual_people_count,SUM(all_car_count) car_count,
SUM(all_things_count) goods_count,SUM(unusual_car_count) unusual_car_count,SUM(commit_car_count) commit_car_count,
SUM(commit_people_count) commit_people_count,ptype
FROM tb_task_statistics WHERE task_id is not null
<if test="kkid != null ">
and kkid = #{kkid}
</if>
<if test="deptId != null ">
and org_code = #{deptId}
</if>
<if test="params.beginTime != null and params.beginTime != '' "><!-- 开始时间检索 -->
and date_format(check_date,'%y%m%d')= date_format(#{params.beginTime},'%y%m%d')
</if>
</select>
<select id="getDept" parameterType="basepro.manager.pojo.RoadCheckStatistics" resultMap="RoadResult"> <select id="getDept" parameterType="basepro.manager.pojo.RoadCheckStatistics" resultMap="RoadResult">
SELECT d.dept_id org_code,d.short_name orgName,d.type FROM sys_dept d SELECT d.dept_id org_code,d.short_name orgName,d.type FROM sys_dept d

View File

@ -52,6 +52,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where id = #{id} where id = #{id}
</select> </select>
<select id="selectCount" parameterType="String" resultType="Long">
select count(id) from tb_stuck
<where>
<if test="deptId != null and deptId != ''">
AND (d.dept_id = #{deptId} OR d.dept_id IN ( SELECT t.dept_id FROM sys_dept t WHERE FIND_IN_SET (#{deptId},ancestors) ))
</if>
</where>
</select>
<select id="selectTbStuckByDept" parameterType="String" resultMap="TbStuckResult"> <select id="selectTbStuckByDept" parameterType="String" resultMap="TbStuckResult">
<include refid="selectTbStuckVo"/> <include refid="selectTbStuckVo"/>
where dept_id = #{deptId} where dept_id = #{deptId}

View File

@ -0,0 +1,264 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="basepro.manager.mapper.TbXjxdzhxxbMapper">
<resultMap type="basepro.manager.pojo.TbXjxdzhxxb" id="TbXjxdzhxxbResult">
<result property="Id" column="id" />
<result property="XZQHDM" column="XZQHDM" />
<result property="XZQHMC" column="XZQHMC" />
<result property="GAJGDM" column="GAJGDM" />
<result property="GAJGMC" column="GAJGMC" />
<result property="ZAFKRQ" column="ZAFKRQ" />
<result property="TRXFJLSL" column="TRXFJLSL" />
<result property="TRXFCLSL" column="TRXFCLSL" />
<result property="QFQZSL" column="QFQZSL" />
<result property="ZAKDSL" column="ZAKDSL" />
<result property="JCCLSL" column="JCCLSL" />
<result property="PCRYSL" column="PCRYSL" />
<result property="XCZDBWSL" column="XCZDBWSL" />
<result property="JCFXYHCSSL" column="JCFXYHCSSL" />
<result property="FxyhcsCzwsl" column="FXYHCS_CZWSL" />
<result property="FxyhcsLgsl" column="FXYHCS_LGSL" />
<result property="FxyhcsYlcssl" column="FXYHCS_YLCSSL" />
<result property="PCAQYHSL" column="PCAQYHSL" />
<result property="XCAQYHSL" column="XCAQYHSL" />
<result property="SjzdwpQz" column="SJZDWP_QZ" />
<result property="SjzdwpZd" column="SJZDWP_ZD" />
<result property="SjzdwpZy" column="SJZDWP_ZY" />
<result property="SjzdwpLg" column="SJZDWP_LG" />
<result property="SjzdwpYzbhxp" column="SJZDWP_YZBHXP" />
<result property="SjzdwpJdhxp" column="SJZDWP_JDHXP" />
<result property="SjzdwpGzdj" column="SJZDWP_GZDJ" />
<result property="PCMDJFSL" column="PCMDJFSL" />
<result property="HJMDJFSL" column="HJMDJFSL" />
<result property="HLJTJFSL" column="HLJTJFSL" />
<result property="HJHLJTJFSL" column="HJHLJTJFSL" />
<result property="LLJFSL" column="LLJFSL" />
<result property="HJLLJFSL" column="HJLLJFSL" />
<result property="JJJFSL" column="JJJFSL" />
<result property="HJJJJFSL" column="HJJJJFSL" />
<result property="YLJFSL" column="YLJFSL" />
<result property="HJYLJFSL" column="HJYLJFSL" />
<result property="YXGAJCZSL" column="YXGAJCZSL" />
<result property="SLZHKDSL" column="SLZHKDSL" />
<result property="ZAPCRYSL" column="ZAPCRYSL" />
<result property="ZAPCCLSL" column="ZAPCCLSL" />
<result property="ZHZTRYSL" column="ZHZTRYSL" />
<result property="QFSFRYSL" column="QFSFRYSL" />
<result property="ChwpGzdj" column="CHWP_GZDJ" />
</resultMap>
<sql id="selectTbXjxdzhxxbVo">
select id, XZQHDM, XZQHMC, GAJGDM, GAJGMC, ZAFKRQ, TRXFJLSL, TRXFCLSL, QFQZSL, ZAKDSL, JCCLSL, PCRYSL, XCZDBWSL, JCFXYHCSSL, FXYHCS_CZWSL, FXYHCS_LGSL, FXYHCS_YLCSSL, PCAQYHSL, XCAQYHSL, SJZDWP_QZ, SJZDWP_ZD, SJZDWP_ZY, SJZDWP_LG, SJZDWP_YZBHXP, SJZDWP_JDHXP, SJZDWP_GZDJ, PCMDJFSL, HJMDJFSL, HLJTJFSL, HJHLJTJFSL, LLJFSL, HJLLJFSL, JJJFSL, HJJJJFSL, YLJFSL, HJYLJFSL, YXGAJCZSL, SLZHKDSL, ZAPCRYSL, ZAPCCLSL, ZHZTRYSL, QFSFRYSL, CHWP_GZDJ from tb_xjxdzhxxb
</sql>
<select id="selectTbXjxdzhxxbList" parameterType="basepro.manager.pojo.TbXjxdzhxxb" resultMap="TbXjxdzhxxbResult">
<include refid="selectTbXjxdzhxxbVo"/>
<where>
<if test="XZQHDM != null and XZQHDM != ''"> and XZQHDM = #{XZQHDM}</if>
<if test="XZQHMC != null and XZQHMC != ''"> and XZQHMC = #{XZQHMC}</if>
<if test="GAJGDM != null and GAJGDM != ''"> and GAJGDM = #{GAJGDM}</if>
<if test="GAJGMC != null and GAJGMC != ''"> and GAJGMC = #{GAJGMC}</if>
<if test="ZAFKRQ != null "> and ZAFKRQ = #{ZAFKRQ}</if>
<if test="TRXFJLSL != null "> and TRXFJLSL = #{TRXFJLSL}</if>
<if test="TRXFCLSL != null "> and TRXFCLSL = #{TRXFCLSL}</if>
<if test="QFQZSL != null "> and QFQZSL = #{QFQZSL}</if>
<if test="ZAKDSL != null "> and ZAKDSL = #{ZAKDSL}</if>
<if test="JCCLSL != null "> and JCCLSL = #{JCCLSL}</if>
<if test="PCRYSL != null "> and PCRYSL = #{PCRYSL}</if>
<if test="XCZDBWSL != null "> and XCZDBWSL = #{XCZDBWSL}</if>
<if test="JCFXYHCSSL != null "> and JCFXYHCSSL = #{JCFXYHCSSL}</if>
<if test="FxyhcsCzwsl != null "> and FXYHCS_CZWSL = #{FxyhcsCzwsl}</if>
<if test="FxyhcsLgsl != null "> and FXYHCS_LGSL = #{FxyhcsLgsl}</if>
<if test="FxyhcsYlcssl != null "> and FXYHCS_YLCSSL = #{FxyhcsYlcssl}</if>
<if test="PCAQYHSL != null "> and PCAQYHSL = #{PCAQYHSL}</if>
<if test="XCAQYHSL != null "> and XCAQYHSL = #{XCAQYHSL}</if>
<if test="SjzdwpQz != null "> and SJZDWP_QZ = #{SjzdwpQz}</if>
<if test="SjzdwpZd != null "> and SJZDWP_ZD = #{SjzdwpZd}</if>
<if test="SjzdwpZy != null "> and SJZDWP_ZY = #{SjzdwpZy}</if>
<if test="SjzdwpLg != null "> and SJZDWP_LG = #{SjzdwpLg}</if>
<if test="SjzdwpYzbhxp != null "> and SJZDWP_YZBHXP = #{SjzdwpYzbhxp}</if>
<if test="SjzdwpJdhxp != null "> and SJZDWP_JDHXP = #{SjzdwpJdhxp}</if>
<if test="SjzdwpGzdj != null "> and SJZDWP_GZDJ = #{SjzdwpGzdj}</if>
<if test="PCMDJFSL != null "> and PCMDJFSL = #{PCMDJFSL}</if>
<if test="HJMDJFSL != null "> and HJMDJFSL = #{HJMDJFSL}</if>
<if test="HLJTJFSL != null "> and HLJTJFSL = #{HLJTJFSL}</if>
<if test="HJHLJTJFSL != null "> and HJHLJTJFSL = #{HJHLJTJFSL}</if>
<if test="LLJFSL != null "> and LLJFSL = #{LLJFSL}</if>
<if test="HJLLJFSL != null "> and HJLLJFSL = #{HJLLJFSL}</if>
<if test="JJJFSL != null "> and JJJFSL = #{JJJFSL}</if>
<if test="HJJJJFSL != null "> and HJJJJFSL = #{HJJJJFSL}</if>
<if test="YLJFSL != null "> and YLJFSL = #{YLJFSL}</if>
<if test="HJYLJFSL != null "> and HJYLJFSL = #{HJYLJFSL}</if>
<if test="YXGAJCZSL != null "> and YXGAJCZSL = #{YXGAJCZSL}</if>
<if test="SLZHKDSL != null "> and SLZHKDSL = #{SLZHKDSL}</if>
<if test="ZAPCRYSL != null "> and ZAPCRYSL = #{ZAPCRYSL}</if>
<if test="ZAPCCLSL != null "> and ZAPCCLSL = #{ZAPCCLSL}</if>
<if test="ZHZTRYSL != null "> and ZHZTRYSL = #{ZHZTRYSL}</if>
<if test="QFSFRYSL != null "> and QFSFRYSL = #{QFSFRYSL}</if>
<if test="ChwpGzdj != null "> and CHWP_GZDJ = #{ChwpGzdj}</if>
</where>
</select>
<select id="selectTbXjxdzhxxbById" parameterType="Long" resultMap="TbXjxdzhxxbResult">
<include refid="selectTbXjxdzhxxbVo"/>
where id = #{Id}
</select>
<insert id="insertTbXjxdzhxxb" parameterType="basepro.manager.pojo.TbXjxdzhxxb">
insert into tb_xjxdzhxxb
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="Id != null ">id,</if>
<if test="XZQHDM != null and XZQHDM != ''">XZQHDM,</if>
<if test="XZQHMC != null and XZQHMC != ''">XZQHMC,</if>
<if test="GAJGDM != null and GAJGDM != ''">GAJGDM,</if>
<if test="GAJGMC != null and GAJGMC != ''">GAJGMC,</if>
<if test="ZAFKRQ != null ">ZAFKRQ,</if>
<if test="TRXFJLSL != null ">TRXFJLSL,</if>
<if test="TRXFCLSL != null ">TRXFCLSL,</if>
<if test="QFQZSL != null ">QFQZSL,</if>
<if test="ZAKDSL != null ">ZAKDSL,</if>
<if test="JCCLSL != null ">JCCLSL,</if>
<if test="PCRYSL != null ">PCRYSL,</if>
<if test="XCZDBWSL != null ">XCZDBWSL,</if>
<if test="JCFXYHCSSL != null ">JCFXYHCSSL,</if>
<if test="FxyhcsCzwsl != null ">FXYHCS_CZWSL,</if>
<if test="FxyhcsLgsl != null ">FXYHCS_LGSL,</if>
<if test="FxyhcsYlcssl != null ">FXYHCS_YLCSSL,</if>
<if test="PCAQYHSL != null ">PCAQYHSL,</if>
<if test="XCAQYHSL != null ">XCAQYHSL,</if>
<if test="SjzdwpQz != null ">SJZDWP_QZ,</if>
<if test="SjzdwpZd != null ">SJZDWP_ZD,</if>
<if test="SjzdwpZy != null ">SJZDWP_ZY,</if>
<if test="SjzdwpLg != null ">SJZDWP_LG,</if>
<if test="SjzdwpYzbhxp != null ">SJZDWP_YZBHXP,</if>
<if test="SjzdwpJdhxp != null ">SJZDWP_JDHXP,</if>
<if test="SjzdwpGzdj != null ">SJZDWP_GZDJ,</if>
<if test="PCMDJFSL != null ">PCMDJFSL,</if>
<if test="HJMDJFSL != null ">HJMDJFSL,</if>
<if test="HLJTJFSL != null ">HLJTJFSL,</if>
<if test="HJHLJTJFSL != null ">HJHLJTJFSL,</if>
<if test="LLJFSL != null ">LLJFSL,</if>
<if test="HJLLJFSL != null ">HJLLJFSL,</if>
<if test="JJJFSL != null ">JJJFSL,</if>
<if test="HJJJJFSL != null ">HJJJJFSL,</if>
<if test="YLJFSL != null ">YLJFSL,</if>
<if test="HJYLJFSL != null ">HJYLJFSL,</if>
<if test="YXGAJCZSL != null ">YXGAJCZSL,</if>
<if test="SLZHKDSL != null ">SLZHKDSL,</if>
<if test="ZAPCRYSL != null ">ZAPCRYSL,</if>
<if test="ZAPCCLSL != null ">ZAPCCLSL,</if>
<if test="ZHZTRYSL != null ">ZHZTRYSL,</if>
<if test="QFSFRYSL != null ">QFSFRYSL,</if>
<if test="ChwpGzdj != null ">CHWP_GZDJ,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="Id != null ">#{Id},</if>
<if test="XZQHDM != null and XZQHDM != ''">#{XZQHDM},</if>
<if test="XZQHMC != null and XZQHMC != ''">#{XZQHMC},</if>
<if test="GAJGDM != null and GAJGDM != ''">#{GAJGDM},</if>
<if test="GAJGMC != null and GAJGMC != ''">#{GAJGMC},</if>
<if test="ZAFKRQ != null ">#{ZAFKRQ},</if>
<if test="TRXFJLSL != null ">#{TRXFJLSL},</if>
<if test="TRXFCLSL != null ">#{TRXFCLSL},</if>
<if test="QFQZSL != null ">#{QFQZSL},</if>
<if test="ZAKDSL != null ">#{ZAKDSL},</if>
<if test="JCCLSL != null ">#{JCCLSL},</if>
<if test="PCRYSL != null ">#{PCRYSL},</if>
<if test="XCZDBWSL != null ">#{XCZDBWSL},</if>
<if test="JCFXYHCSSL != null ">#{JCFXYHCSSL},</if>
<if test="FxyhcsCzwsl != null ">#{FxyhcsCzwsl},</if>
<if test="FxyhcsLgsl != null ">#{FxyhcsLgsl},</if>
<if test="FxyhcsYlcssl != null ">#{FxyhcsYlcssl},</if>
<if test="PCAQYHSL != null ">#{PCAQYHSL},</if>
<if test="XCAQYHSL != null ">#{XCAQYHSL},</if>
<if test="SjzdwpQz != null ">#{SjzdwpQz},</if>
<if test="SjzdwpZd != null ">#{SjzdwpZd},</if>
<if test="SjzdwpZy != null ">#{SjzdwpZy},</if>
<if test="SjzdwpLg != null ">#{SjzdwpLg},</if>
<if test="SjzdwpYzbhxp != null ">#{SjzdwpYzbhxp},</if>
<if test="SjzdwpJdhxp != null ">#{SjzdwpJdhxp},</if>
<if test="SjzdwpGzdj != null ">#{SjzdwpGzdj},</if>
<if test="PCMDJFSL != null ">#{PCMDJFSL},</if>
<if test="HJMDJFSL != null ">#{HJMDJFSL},</if>
<if test="HLJTJFSL != null ">#{HLJTJFSL},</if>
<if test="HJHLJTJFSL != null ">#{HJHLJTJFSL},</if>
<if test="LLJFSL != null ">#{LLJFSL},</if>
<if test="HJLLJFSL != null ">#{HJLLJFSL},</if>
<if test="JJJFSL != null ">#{JJJFSL},</if>
<if test="HJJJJFSL != null ">#{HJJJJFSL},</if>
<if test="YLJFSL != null ">#{YLJFSL},</if>
<if test="HJYLJFSL != null ">#{HJYLJFSL},</if>
<if test="YXGAJCZSL != null ">#{YXGAJCZSL},</if>
<if test="SLZHKDSL != null ">#{SLZHKDSL},</if>
<if test="ZAPCRYSL != null ">#{ZAPCRYSL},</if>
<if test="ZAPCCLSL != null ">#{ZAPCCLSL},</if>
<if test="ZHZTRYSL != null ">#{ZHZTRYSL},</if>
<if test="QFSFRYSL != null ">#{QFSFRYSL},</if>
<if test="ChwpGzdj != null ">#{ChwpGzdj},</if>
</trim>
</insert>
<update id="updateTbXjxdzhxxb" parameterType="basepro.manager.pojo.TbXjxdzhxxb">
update tb_xjxdzhxxb
<trim prefix="SET" suffixOverrides=",">
<if test="XZQHDM != null and XZQHDM != ''">XZQHDM = #{XZQHDM},</if>
<if test="XZQHMC != null and XZQHMC != ''">XZQHMC = #{XZQHMC},</if>
<if test="GAJGDM != null and GAJGDM != ''">GAJGDM = #{GAJGDM},</if>
<if test="GAJGMC != null and GAJGMC != ''">GAJGMC = #{GAJGMC},</if>
<if test="ZAFKRQ != null ">ZAFKRQ = #{ZAFKRQ},</if>
<if test="TRXFJLSL != null ">TRXFJLSL = #{TRXFJLSL},</if>
<if test="TRXFCLSL != null ">TRXFCLSL = #{TRXFCLSL},</if>
<if test="QFQZSL != null ">QFQZSL = #{QFQZSL},</if>
<if test="ZAKDSL != null ">ZAKDSL = #{ZAKDSL},</if>
<if test="JCCLSL != null ">JCCLSL = #{JCCLSL},</if>
<if test="PCRYSL != null ">PCRYSL = #{PCRYSL},</if>
<if test="XCZDBWSL != null ">XCZDBWSL = #{XCZDBWSL},</if>
<if test="JCFXYHCSSL != null ">JCFXYHCSSL = #{JCFXYHCSSL},</if>
<if test="FxyhcsCzwsl != null ">FXYHCS_CZWSL = #{FxyhcsCzwsl},</if>
<if test="FxyhcsLgsl != null ">FXYHCS_LGSL = #{FxyhcsLgsl},</if>
<if test="FxyhcsYlcssl != null ">FXYHCS_YLCSSL = #{FxyhcsYlcssl},</if>
<if test="PCAQYHSL != null ">PCAQYHSL = #{PCAQYHSL},</if>
<if test="XCAQYHSL != null ">XCAQYHSL = #{XCAQYHSL},</if>
<if test="SjzdwpQz != null ">SJZDWP_QZ = #{SjzdwpQz},</if>
<if test="SjzdwpZd != null ">SJZDWP_ZD = #{SjzdwpZd},</if>
<if test="SjzdwpZy != null ">SJZDWP_ZY = #{SjzdwpZy},</if>
<if test="SjzdwpLg != null ">SJZDWP_LG = #{SjzdwpLg},</if>
<if test="SjzdwpYzbhxp != null ">SJZDWP_YZBHXP = #{SjzdwpYzbhxp},</if>
<if test="SjzdwpJdhxp != null ">SJZDWP_JDHXP = #{SjzdwpJdhxp},</if>
<if test="SjzdwpGzdj != null ">SJZDWP_GZDJ = #{SjzdwpGzdj},</if>
<if test="PCMDJFSL != null ">PCMDJFSL = #{PCMDJFSL},</if>
<if test="HJMDJFSL != null ">HJMDJFSL = #{HJMDJFSL},</if>
<if test="HLJTJFSL != null ">HLJTJFSL = #{HLJTJFSL},</if>
<if test="HJHLJTJFSL != null ">HJHLJTJFSL = #{HJHLJTJFSL},</if>
<if test="LLJFSL != null ">LLJFSL = #{LLJFSL},</if>
<if test="HJLLJFSL != null ">HJLLJFSL = #{HJLLJFSL},</if>
<if test="JJJFSL != null ">JJJFSL = #{JJJFSL},</if>
<if test="HJJJJFSL != null ">HJJJJFSL = #{HJJJJFSL},</if>
<if test="YLJFSL != null ">YLJFSL = #{YLJFSL},</if>
<if test="HJYLJFSL != null ">HJYLJFSL = #{HJYLJFSL},</if>
<if test="YXGAJCZSL != null ">YXGAJCZSL = #{YXGAJCZSL},</if>
<if test="SLZHKDSL != null ">SLZHKDSL = #{SLZHKDSL},</if>
<if test="ZAPCRYSL != null ">ZAPCRYSL = #{ZAPCRYSL},</if>
<if test="ZAPCCLSL != null ">ZAPCCLSL = #{ZAPCCLSL},</if>
<if test="ZHZTRYSL != null ">ZHZTRYSL = #{ZHZTRYSL},</if>
<if test="QFSFRYSL != null ">QFSFRYSL = #{QFSFRYSL},</if>
<if test="ChwpGzdj != null ">CHWP_GZDJ = #{ChwpGzdj},</if>
</trim>
where id = #{Id}
</update>
<delete id="deleteTbXjxdzhxxbById" parameterType="Long">
delete from tb_xjxdzhxxb where id = #{Id}
</delete>
<delete id="deleteTbXjxdzhxxbByIds" parameterType="String">
delete from tb_xjxdzhxxb where id in
<foreach item="Id" collection="array" open="(" separator="," close=")">
#{Id}
</foreach>
</delete>
</mapper>

View File

@ -0,0 +1,64 @@
package basepro.manager.service;
import basepro.manager.pojo.TbXjxdzhxxb;
import java.util.List;
/**
* Service
*
* @author basepro
* @date 2024-07-10
*/
public interface ITbXjxdzhxxbService
{
/**
*
*
* @param Id ID
* @return
*/
public TbXjxdzhxxb selectTbXjxdzhxxbById(Long Id);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public List<TbXjxdzhxxb> selectTbXjxdzhxxbList(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public int insertTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
public int updateTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb);
/**
*
*
* @param ids ID
* @return
*/
public int deleteTbXjxdzhxxbByIds(String ids);
/**
*
*
* @param Id ID
* @return
*/
public int deleteTbXjxdzhxxbById(Long Id);
public TbXjxdzhxxb getNumByPctj(String manageDeptId);
}

View File

@ -47,6 +47,8 @@ public class RoadCheckStatistics extends BaseEntity {
//比中分析中单位查询字段 //比中分析中单位查询字段
private String deptId1; private String deptId1;
private String ptype;
public String getDeptId() { public String getDeptId() {
return deptId; return deptId;
} }
@ -166,4 +168,12 @@ public class RoadCheckStatistics extends BaseEntity {
public void setStuckName(String stuckName) { public void setStuckName(String stuckName) {
this.stuckName = stuckName; this.stuckName = stuckName;
} }
public String getPtype() {
return ptype;
}
public void setPtype(String ptype) {
this.ptype = ptype;
}
} }

View File

@ -0,0 +1,627 @@
package basepro.manager.pojo;
import basepro.manager.common.annotation.Excel;
import guo.ping.e3mall.common.pojo.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* tb_xjxdzhxxb
*
* @author basepro
* @date 2024-07-10
*/
public class TbXjxdzhxxb extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long Id;
/** 行政区划代码 */
@Excel(name = "行政区划代码")
private String XZQHDM;
/** 行政区划名称 */
@Excel(name = "行政区划名称")
private String XZQHMC;
/** 公安机关代码 */
@Excel(name = "公安机关代码")
private String GAJGDM;
/** 公安机关名称 */
@Excel(name = "公安机关名称")
private String GAJGMC;
/** 登记日期 */
@Excel(name = "登记日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date ZAFKRQ;
/** 投入民辅警力数量(人次) */
@Excel(name = "投入民辅警力数量", readConverterExp = "人=次")
private Long TRXFJLSL;
/** 投入巡防车辆数量(辆次) */
@Excel(name = "投入巡防车辆数量", readConverterExp = "辆=次")
private Long TRXFCLSL;
/** 发动群防群治力量数量(人次) */
@Excel(name = "发动群防群治力量数量(人次)")
private Long QFQZSL;
/** 抓获现行违法犯罪嫌疑人数量(人) */
@Excel(name = "抓获现行违法犯罪嫌疑人数量", readConverterExp = "人=")
private Long ZAKDSL;
/** 检查车辆数量(辆次) */
@Excel(name = "检查车辆数量", readConverterExp = "辆=次")
private Long JCCLSL;
/** 盘查人员数量(人次) */
@Excel(name = "盘查人员数量", readConverterExp = "人=次")
private Long PCRYSL;
/** 巡查重点部位数量(个) */
@Excel(name = "巡查重点部位数量", readConverterExp = "个=")
private Long XCZDBWSL;
/** 检查场所数量(个) */
@Excel(name = "检查场所数量", readConverterExp = "个=")
private Long JCFXYHCSSL;
/** 检查出租屋、群租房数量(家次) */
@Excel(name = "检查出租屋、群租房数量", readConverterExp = "家=次")
private Long FxyhcsCzwsl;
/** 检查旅馆数量(家次) */
@Excel(name = "检查旅馆数量", readConverterExp = "家=次")
private Long FxyhcsLgsl;
/** 检查娱乐场所数量(家次) */
@Excel(name = "检查娱乐场所数量", readConverterExp = "家=次")
private Long FxyhcsYlcssl;
/** 排查安全隐患数量(处) */
@Excel(name = "排查安全隐患数量", readConverterExp = "处=")
private Long PCAQYHSL;
/** 消除安全隐患数量(处) */
@Excel(name = "消除安全隐患数量", readConverterExp = "处=")
private Long XCAQYHSL;
/** 收缴枪支数量(支) */
@Excel(name = "收缴枪支数量", readConverterExp = "支=")
private Long SjzdwpQz;
/** 收缴子弹数量(发) */
@Excel(name = "收缴子弹数量", readConverterExp = "发=")
private Long SjzdwpZd;
/** 收缴炸药、黑火药数量(公斤) */
@Excel(name = "收缴炸药、黑火药数量", readConverterExp = "公=斤")
private Long SjzdwpZy;
/** 收缴雷管数量(个) */
@Excel(name = "收缴雷管数量", readConverterExp = "个=")
private Long SjzdwpLg;
/** 收缴易制爆化学品数量(公斤) */
@Excel(name = "收缴易制爆化学品数量", readConverterExp = "公=斤")
private Long SjzdwpYzbhxp;
/** 收缴剧毒化学品数量(公斤) */
@Excel(name = "收缴剧毒化学品数量", readConverterExp = "公=斤")
private Long SjzdwpJdhxp;
/** 收缴管制刀具数量(把) */
@Excel(name = "收缴管制刀具数量", readConverterExp = "把=")
private Long SjzdwpGzdj;
/** 排查矛盾纠纷数量(起) */
@Excel(name = "排查矛盾纠纷数量", readConverterExp = "起=")
private Long PCMDJFSL;
/** 化解矛盾纠纷数量(起) */
@Excel(name = "化解矛盾纠纷数量", readConverterExp = "起=")
private Long HJMDJFSL;
/** 婚恋家庭纠纷数量(起) */
@Excel(name = "婚恋家庭纠纷数量", readConverterExp = "起=")
private Long HLJTJFSL;
/** 化解婚恋家庭纠纷数量(起) */
@Excel(name = "化解婚恋家庭纠纷数量", readConverterExp = "起=")
private Long HJHLJTJFSL;
/** 邻里纠纷数量(起) */
@Excel(name = "邻里纠纷数量", readConverterExp = "起=")
private Long LLJFSL;
/** 化解邻里纠纷数量(起) */
@Excel(name = "化解邻里纠纷数量", readConverterExp = "起=")
private Long HJLLJFSL;
/** 经济纠纷数量(起) */
@Excel(name = "经济纠纷数量", readConverterExp = "起=")
private Long JJJFSL;
/** 化解经济纠纷数量(起) */
@Excel(name = "化解经济纠纷数量", readConverterExp = "起=")
private Long HJJJJFSL;
/** 医疗纠纷数量(起) */
@Excel(name = "医疗纠纷数量", readConverterExp = "起=")
private Long YLJFSL;
/** 化解医疗纠纷数量(起) */
@Excel(name = "化解医疗纠纷数量", readConverterExp = "起=")
private Long HJYLJFSL;
/** 运行公安检查站数量(个) */
@Excel(name = "运行公安检查站数量", readConverterExp = "个=")
private Long YXGAJCZSL;
/** 设立临时治安卡点数量(个) */
@Excel(name = "设立临时治安卡点数量", readConverterExp = "个=")
private Long SLZHKDSL;
/** 核查人员数量(人次) */
@Excel(name = "核查人员数量", readConverterExp = "人=次")
private Long ZAPCRYSL;
/** 检查车辆数量(辆次) */
@Excel(name = "检查车辆数量", readConverterExp = "辆=次")
private Long ZAPCCLSL;
/** 抓获在逃人员数量(人) */
@Excel(name = "抓获在逃人员数量", readConverterExp = "人=")
private Long ZHZTRYSL;
/** 劝返涉访人员数量(人) */
@Excel(name = "劝返涉访人员数量", readConverterExp = "人=")
private Long QFSFRYSL;
/** 查获管制刀具数量(把) */
@Excel(name = "查获管制刀具数量", readConverterExp = "把=")
private Long ChwpGzdj;
public void setId(Long Id)
{
this.Id = Id;
}
public Long getId()
{
return Id;
}
public void setXZQHDM(String XZQHDM)
{
this.XZQHDM = XZQHDM;
}
public String getXZQHDM()
{
return XZQHDM;
}
public void setXZQHMC(String XZQHMC)
{
this.XZQHMC = XZQHMC;
}
public String getXZQHMC()
{
return XZQHMC;
}
public void setGAJGDM(String GAJGDM)
{
this.GAJGDM = GAJGDM;
}
public String getGAJGDM()
{
return GAJGDM;
}
public void setGAJGMC(String GAJGMC)
{
this.GAJGMC = GAJGMC;
}
public String getGAJGMC()
{
return GAJGMC;
}
public void setZAFKRQ(Date ZAFKRQ)
{
this.ZAFKRQ = ZAFKRQ;
}
public Date getZAFKRQ()
{
return ZAFKRQ;
}
public void setTRXFJLSL(Long TRXFJLSL)
{
this.TRXFJLSL = TRXFJLSL;
}
public Long getTRXFJLSL()
{
return TRXFJLSL;
}
public void setTRXFCLSL(Long TRXFCLSL)
{
this.TRXFCLSL = TRXFCLSL;
}
public Long getTRXFCLSL()
{
return TRXFCLSL;
}
public void setQFQZSL(Long QFQZSL)
{
this.QFQZSL = QFQZSL;
}
public Long getQFQZSL()
{
return QFQZSL;
}
public void setZAKDSL(Long ZAKDSL)
{
this.ZAKDSL = ZAKDSL;
}
public Long getZAKDSL()
{
return ZAKDSL;
}
public void setJCCLSL(Long JCCLSL)
{
this.JCCLSL = JCCLSL;
}
public Long getJCCLSL()
{
return JCCLSL;
}
public void setPCRYSL(Long PCRYSL)
{
this.PCRYSL = PCRYSL;
}
public Long getPCRYSL()
{
return PCRYSL;
}
public void setXCZDBWSL(Long XCZDBWSL)
{
this.XCZDBWSL = XCZDBWSL;
}
public Long getXCZDBWSL()
{
return XCZDBWSL;
}
public void setJCFXYHCSSL(Long JCFXYHCSSL)
{
this.JCFXYHCSSL = JCFXYHCSSL;
}
public Long getJCFXYHCSSL()
{
return JCFXYHCSSL;
}
public void setFxyhcsCzwsl(Long FxyhcsCzwsl)
{
this.FxyhcsCzwsl = FxyhcsCzwsl;
}
public Long getFxyhcsCzwsl()
{
return FxyhcsCzwsl;
}
public void setFxyhcsLgsl(Long FxyhcsLgsl)
{
this.FxyhcsLgsl = FxyhcsLgsl;
}
public Long getFxyhcsLgsl()
{
return FxyhcsLgsl;
}
public void setFxyhcsYlcssl(Long FxyhcsYlcssl)
{
this.FxyhcsYlcssl = FxyhcsYlcssl;
}
public Long getFxyhcsYlcssl()
{
return FxyhcsYlcssl;
}
public void setPCAQYHSL(Long PCAQYHSL)
{
this.PCAQYHSL = PCAQYHSL;
}
public Long getPCAQYHSL()
{
return PCAQYHSL;
}
public void setXCAQYHSL(Long XCAQYHSL)
{
this.XCAQYHSL = XCAQYHSL;
}
public Long getXCAQYHSL()
{
return XCAQYHSL;
}
public void setSjzdwpQz(Long SjzdwpQz)
{
this.SjzdwpQz = SjzdwpQz;
}
public Long getSjzdwpQz()
{
return SjzdwpQz;
}
public void setSjzdwpZd(Long SjzdwpZd)
{
this.SjzdwpZd = SjzdwpZd;
}
public Long getSjzdwpZd()
{
return SjzdwpZd;
}
public void setSjzdwpZy(Long SjzdwpZy)
{
this.SjzdwpZy = SjzdwpZy;
}
public Long getSjzdwpZy()
{
return SjzdwpZy;
}
public void setSjzdwpLg(Long SjzdwpLg)
{
this.SjzdwpLg = SjzdwpLg;
}
public Long getSjzdwpLg()
{
return SjzdwpLg;
}
public void setSjzdwpYzbhxp(Long SjzdwpYzbhxp)
{
this.SjzdwpYzbhxp = SjzdwpYzbhxp;
}
public Long getSjzdwpYzbhxp()
{
return SjzdwpYzbhxp;
}
public void setSjzdwpJdhxp(Long SjzdwpJdhxp)
{
this.SjzdwpJdhxp = SjzdwpJdhxp;
}
public Long getSjzdwpJdhxp()
{
return SjzdwpJdhxp;
}
public void setSjzdwpGzdj(Long SjzdwpGzdj)
{
this.SjzdwpGzdj = SjzdwpGzdj;
}
public Long getSjzdwpGzdj()
{
return SjzdwpGzdj;
}
public void setPCMDJFSL(Long PCMDJFSL)
{
this.PCMDJFSL = PCMDJFSL;
}
public Long getPCMDJFSL()
{
return PCMDJFSL;
}
public void setHJMDJFSL(Long HJMDJFSL)
{
this.HJMDJFSL = HJMDJFSL;
}
public Long getHJMDJFSL()
{
return HJMDJFSL;
}
public void setHLJTJFSL(Long HLJTJFSL)
{
this.HLJTJFSL = HLJTJFSL;
}
public Long getHLJTJFSL()
{
return HLJTJFSL;
}
public void setHJHLJTJFSL(Long HJHLJTJFSL)
{
this.HJHLJTJFSL = HJHLJTJFSL;
}
public Long getHJHLJTJFSL()
{
return HJHLJTJFSL;
}
public void setLLJFSL(Long LLJFSL)
{
this.LLJFSL = LLJFSL;
}
public Long getLLJFSL()
{
return LLJFSL;
}
public void setHJLLJFSL(Long HJLLJFSL)
{
this.HJLLJFSL = HJLLJFSL;
}
public Long getHJLLJFSL()
{
return HJLLJFSL;
}
public void setJJJFSL(Long JJJFSL)
{
this.JJJFSL = JJJFSL;
}
public Long getJJJFSL()
{
return JJJFSL;
}
public void setHJJJJFSL(Long HJJJJFSL)
{
this.HJJJJFSL = HJJJJFSL;
}
public Long getHJJJJFSL()
{
return HJJJJFSL;
}
public void setYLJFSL(Long YLJFSL)
{
this.YLJFSL = YLJFSL;
}
public Long getYLJFSL()
{
return YLJFSL;
}
public void setHJYLJFSL(Long HJYLJFSL)
{
this.HJYLJFSL = HJYLJFSL;
}
public Long getHJYLJFSL()
{
return HJYLJFSL;
}
public void setYXGAJCZSL(Long YXGAJCZSL)
{
this.YXGAJCZSL = YXGAJCZSL;
}
public Long getYXGAJCZSL()
{
return YXGAJCZSL;
}
public void setSLZHKDSL(Long SLZHKDSL)
{
this.SLZHKDSL = SLZHKDSL;
}
public Long getSLZHKDSL()
{
return SLZHKDSL;
}
public void setZAPCRYSL(Long ZAPCRYSL)
{
this.ZAPCRYSL = ZAPCRYSL;
}
public Long getZAPCRYSL()
{
return ZAPCRYSL;
}
public void setZAPCCLSL(Long ZAPCCLSL)
{
this.ZAPCCLSL = ZAPCCLSL;
}
public Long getZAPCCLSL()
{
return ZAPCCLSL;
}
public void setZHZTRYSL(Long ZHZTRYSL)
{
this.ZHZTRYSL = ZHZTRYSL;
}
public Long getZHZTRYSL()
{
return ZHZTRYSL;
}
public void setQFSFRYSL(Long QFSFRYSL)
{
this.QFSFRYSL = QFSFRYSL;
}
public Long getQFSFRYSL()
{
return QFSFRYSL;
}
public void setChwpGzdj(Long ChwpGzdj)
{
this.ChwpGzdj = ChwpGzdj;
}
public Long getChwpGzdj()
{
return ChwpGzdj;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("Id", getId())
.append("XZQHDM", getXZQHDM())
.append("XZQHMC", getXZQHMC())
.append("GAJGDM", getGAJGDM())
.append("GAJGMC", getGAJGMC())
.append("ZAFKRQ", getZAFKRQ())
.append("TRXFJLSL", getTRXFJLSL())
.append("TRXFCLSL", getTRXFCLSL())
.append("QFQZSL", getQFQZSL())
.append("ZAKDSL", getZAKDSL())
.append("JCCLSL", getJCCLSL())
.append("PCRYSL", getPCRYSL())
.append("XCZDBWSL", getXCZDBWSL())
.append("JCFXYHCSSL", getJCFXYHCSSL())
.append("FxyhcsCzwsl", getFxyhcsCzwsl())
.append("FxyhcsLgsl", getFxyhcsLgsl())
.append("FxyhcsYlcssl", getFxyhcsYlcssl())
.append("PCAQYHSL", getPCAQYHSL())
.append("XCAQYHSL", getXCAQYHSL())
.append("SjzdwpQz", getSjzdwpQz())
.append("SjzdwpZd", getSjzdwpZd())
.append("SjzdwpZy", getSjzdwpZy())
.append("SjzdwpLg", getSjzdwpLg())
.append("SjzdwpYzbhxp", getSjzdwpYzbhxp())
.append("SjzdwpJdhxp", getSjzdwpJdhxp())
.append("SjzdwpGzdj", getSjzdwpGzdj())
.append("PCMDJFSL", getPCMDJFSL())
.append("HJMDJFSL", getHJMDJFSL())
.append("HLJTJFSL", getHLJTJFSL())
.append("HJHLJTJFSL", getHJHLJTJFSL())
.append("LLJFSL", getLLJFSL())
.append("HJLLJFSL", getHJLLJFSL())
.append("JJJFSL", getJJJFSL())
.append("HJJJJFSL", getHJJJJFSL())
.append("YLJFSL", getYLJFSL())
.append("HJYLJFSL", getHJYLJFSL())
.append("YXGAJCZSL", getYXGAJCZSL())
.append("SLZHKDSL", getSLZHKDSL())
.append("ZAPCRYSL", getZAPCRYSL())
.append("ZAPCCLSL", getZAPCCLSL())
.append("ZHZTRYSL", getZHZTRYSL())
.append("QFSFRYSL", getQFSFRYSL())
.append("ChwpGzdj", getChwpGzdj())
.toString();
}
}

View File

@ -0,0 +1,148 @@
package basepro.manager.service.impl;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import basepro.manager.common.core.text.Convert;
import basepro.manager.common.utils.DateUtils;
import basepro.manager.mapper.RoadCheckStatisticsMapper;
import basepro.manager.mapper.TbStuckMapper;
import basepro.manager.mapper.TbXjxdzhxxbMapper;
import basepro.manager.pojo.RoadCheckStatistics;
import basepro.manager.pojo.TbXjxdzhxxb;
import basepro.manager.service.ITbXjxdzhxxbService;
import com.alibaba.dubbo.config.annotation.Service;
import com.alibaba.fastjson.JSONObject;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Service
*
* @author basepro
* @date 2024-07-10
*/
@Service
public class TbXjxdzhxxbServiceImpl implements ITbXjxdzhxxbService
{
@Autowired
private TbXjxdzhxxbMapper tbXjxdzhxxbMapper;
@Autowired
private RoadCheckStatisticsMapper checkStatisticsMapper;
@Autowired
private TbStuckMapper stuckMapper;
/**
*
*
* @param Id ID
* @return
*/
@Override
public TbXjxdzhxxb selectTbXjxdzhxxbById(Long Id)
{
return tbXjxdzhxxbMapper.selectTbXjxdzhxxbById(Id);
}
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
@Override
public List<TbXjxdzhxxb> selectTbXjxdzhxxbList(TbXjxdzhxxb tbXjxdzhxxb)
{
return tbXjxdzhxxbMapper.selectTbXjxdzhxxbList(tbXjxdzhxxb);
}
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
@Override
public int insertTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb)
{
return tbXjxdzhxxbMapper.insertTbXjxdzhxxb(tbXjxdzhxxb);
}
/**
*
*
* @param tbXjxdzhxxb
* @return
*/
@Override
public int updateTbXjxdzhxxb(TbXjxdzhxxb tbXjxdzhxxb)
{
return tbXjxdzhxxbMapper.updateTbXjxdzhxxb(tbXjxdzhxxb);
}
/**
*
*
* @param ids ID
* @return
*/
@Override
public int deleteTbXjxdzhxxbByIds(String ids)
{
return tbXjxdzhxxbMapper.deleteTbXjxdzhxxbByIds(Convert.toStrArray(ids));
}
/**
*
*
* @param Id ID
* @return
*/
@Override
public int deleteTbXjxdzhxxbById(Long Id)
{
return tbXjxdzhxxbMapper.deleteTbXjxdzhxxbById(Id);
}
@Override
public TbXjxdzhxxb getNumByPctj(String manageDeptId) {
TbXjxdzhxxb xjxd = new TbXjxdzhxxb();
String date = DateUtils.getDate();
HashMap map = new HashMap();
map.put("beginTime",date);
map.put("endTime",date);
RoadCheckStatistics statistics = new RoadCheckStatistics();
statistics.setDeptId(manageDeptId);
statistics.setParams(map);
//社会面统计
RoadCheckStatistics shmstatics = checkStatisticsMapper.getRoadCheckStatistics(statistics);
if (null != shmstatics){
xjxd.setZAKDSL(Long.valueOf(shmstatics.getUnusualPeopleCount()));
xjxd.setJCCLSL(Long.valueOf(shmstatics.getAllCarCount()));
xjxd.setPCRYSL(Long.valueOf(shmstatics.getAllPeopleCount()));
}
//卡点统计
RoadCheckStatistics kdstatics = checkStatisticsMapper.getCheckStatistics(statistics);
if (null != kdstatics){
xjxd.setZAPCRYSL(Long.valueOf(kdstatics.getAllPeopleCount()));
xjxd.setZAPCCLSL(Long.valueOf(kdstatics.getAllCarCount()));
if (null != kdstatics.getPtype() && !"".equals(kdstatics.getPtype())){
JSONObject object = JSONObject.parseObject(kdstatics.getPtype());
Long zt = object.getLong("3");
Long sf = object.getLong("7");
xjxd.setZHZTRYSL(zt);
xjxd.setQFSFRYSL(sf);
}
}
//检查站数量
Long kcount = stuckMapper.selectCount(manageDeptId);
xjxd.setYXGAJCZSL(kcount);
return xjxd;
}
}

View File

@ -0,0 +1,133 @@
package basepro.manager.controller;
import java.util.List;
import basepro.manager.common.utils.poi.ExcelUtil;
import basepro.manager.framework.util.ShiroUtils;
import basepro.manager.pojo.SysUser;
import basepro.manager.pojo.TbXjxdzhxxb;
import basepro.manager.service.ITbXjxdzhxxbService;
import com.alibaba.dubbo.config.annotation.Reference;
import guo.ping.e3mall.common.annotation.Log;
import guo.ping.e3mall.common.controller.BaseController;
import guo.ping.e3mall.common.enums.BusinessType;
import guo.ping.e3mall.common.page.TableDataInfo;
import guo.ping.e3mall.common.pojo.AjaxResult;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* Controller
*
* @author basepro
* @date 2024-07-10
*/
@Controller
@RequestMapping("/system/xjxdzhxxb")
public class TbXjxdzhxxbController extends BaseController
{
private String prefix = "xjxd";
@Reference
private ITbXjxdzhxxbService tbXjxdzhxxbService;
@RequiresPermissions("system:xjxdzhxxb:view")
@GetMapping()
public String xjxdzhxxb()
{
return prefix + "/xjxdzhxxb";
}
/**
*
*/
@RequiresPermissions("system:xjxdzhxxb:list")
@PostMapping("/list")
@ResponseBody
public TableDataInfo list(TbXjxdzhxxb tbXjxdzhxxb)
{
startPage();
List<TbXjxdzhxxb> list = tbXjxdzhxxbService.selectTbXjxdzhxxbList(tbXjxdzhxxb);
return getDataTable(list);
}
/**
*
*/
@RequiresPermissions("system:xjxdzhxxb:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(TbXjxdzhxxb tbXjxdzhxxb)
{
List<TbXjxdzhxxb> list = tbXjxdzhxxbService.selectTbXjxdzhxxbList(tbXjxdzhxxb);
ExcelUtil<TbXjxdzhxxb> util = new ExcelUtil<TbXjxdzhxxb>(TbXjxdzhxxb.class);
return util.exportExcel(list, "xjxdzhxxb");
}
/**
*
*/
@GetMapping("/add")
public String add(ModelMap mmap)
{
SysUser user = ShiroUtils.getSysUser();
TbXjxdzhxxb xjxd = tbXjxdzhxxbService.getNumByPctj(user.getManageDeptId());
mmap.put("xjxd",xjxd);
return prefix + "/add";
}
/**
*
*/
@RequiresPermissions("system:xjxdzhxxb:add")
@Log(title = "夏季行动综合信息", businessType = BusinessType.INSERT)
@PostMapping("/add")
@ResponseBody
public AjaxResult addSave(TbXjxdzhxxb tbXjxdzhxxb)
{
return toAjax(tbXjxdzhxxbService.insertTbXjxdzhxxb(tbXjxdzhxxb));
}
/**
*
*/
@GetMapping("/edit/{Id}")
public String edit(@PathVariable("Id") Long Id, ModelMap mmap)
{
TbXjxdzhxxb tbXjxdzhxxb = tbXjxdzhxxbService.selectTbXjxdzhxxbById(Id);
mmap.put("tbXjxdzhxxb", tbXjxdzhxxb);
return prefix + "/edit";
}
/**
*
*/
@RequiresPermissions("system:xjxdzhxxb:edit")
@Log(title = "夏季行动综合信息", businessType = BusinessType.UPDATE)
@PostMapping("/edit")
@ResponseBody
public AjaxResult editSave(TbXjxdzhxxb tbXjxdzhxxb)
{
return toAjax(tbXjxdzhxxbService.updateTbXjxdzhxxb(tbXjxdzhxxb));
}
/**
*
*/
@RequiresPermissions("system:xjxdzhxxb:remove")
@Log(title = "夏季行动综合信息", businessType = BusinessType.DELETE)
@PostMapping( "/remove")
@ResponseBody
public AjaxResult remove(String ids)
{
return toAjax(tbXjxdzhxxbService.deleteTbXjxdzhxxbByIds(ids));
}
}

View File

@ -0,0 +1,288 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增夏季行动综合信息')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-xjxdzhxxb-add">
<div class="form-group">
<label class="col-sm-3 control-label">行政区划代码:</label>
<div class="col-sm-8">
<input name="XZQHDM" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">行政区划名称:</label>
<div class="col-sm-8">
<input name="XZQHMC" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">公安机关代码:</label>
<div class="col-sm-8">
<input name="GAJGDM" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">公安机关名称:</label>
<div class="col-sm-8">
<input name="GAJGMC" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">登记日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<input name="ZAFKRQ" class="form-control" placeholder="yyyy-MM-dd" type="text" required>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">投入民辅警力数量:</label>
<div class="col-sm-8">
<input name="TRXFJLSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">投入巡防车辆数量:</label>
<div class="col-sm-8">
<input name="TRXFCLSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发动群防群治力量数量(人次)</label>
<div class="col-sm-8">
<input name="QFQZSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">抓获现行违法犯罪嫌疑人数量:</label>
<div class="col-sm-8">
<input name="ZAKDSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查车辆数量:</label>
<div class="col-sm-8">
<input name="JCCLSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">盘查人员数量:</label>
<div class="col-sm-8">
<input name="PCRYSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">巡查重点部位数量:</label>
<div class="col-sm-8">
<input name="XCZDBWSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查场所数量:</label>
<div class="col-sm-8">
<input name="JCFXYHCSSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查出租屋、群租房数量:</label>
<div class="col-sm-8">
<input name="FxyhcsCzwsl" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查旅馆数量:</label>
<div class="col-sm-8">
<input name="FxyhcsLgsl" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查娱乐场所数量:</label>
<div class="col-sm-8">
<input name="FxyhcsYlcssl" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">排查安全隐患数量:</label>
<div class="col-sm-8">
<input name="PCAQYHSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消除安全隐患数量:</label>
<div class="col-sm-8">
<input name="XCAQYHSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴枪支数量:</label>
<div class="col-sm-8">
<input name="SjzdwpQz" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴子弹数量:</label>
<div class="col-sm-8">
<input name="SjzdwpZd" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴炸药、黑火药数量:</label>
<div class="col-sm-8">
<input name="SjzdwpZy" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴雷管数量:</label>
<div class="col-sm-8">
<input name="SjzdwpLg" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴易制爆化学品数量:</label>
<div class="col-sm-8">
<input name="SjzdwpYzbhxp" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴剧毒化学品数量:</label>
<div class="col-sm-8">
<input name="SjzdwpJdhxp" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴管制刀具数量:</label>
<div class="col-sm-8">
<input name="SjzdwpGzdj" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">排查矛盾纠纷数量:</label>
<div class="col-sm-8">
<input name="PCMDJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解矛盾纠纷数量:</label>
<div class="col-sm-8">
<input name="HJMDJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">婚恋家庭纠纷数量:</label>
<div class="col-sm-8">
<input name="HLJTJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解婚恋家庭纠纷数量:</label>
<div class="col-sm-8">
<input name="HJHLJTJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">邻里纠纷数量:</label>
<div class="col-sm-8">
<input name="LLJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解邻里纠纷数量:</label>
<div class="col-sm-8">
<input name="HJLLJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">经济纠纷数量:</label>
<div class="col-sm-8">
<input name="JJJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解经济纠纷数量:</label>
<div class="col-sm-8">
<input name="HJJJJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">医疗纠纷数量:</label>
<div class="col-sm-8">
<input name="YLJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解医疗纠纷数量:</label>
<div class="col-sm-8">
<input name="HJYLJFSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">运行公安检查站数量:</label>
<div class="col-sm-8">
<input name="YXGAJCZSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">设立临时治安卡点数量:</label>
<div class="col-sm-8">
<input name="SLZHKDSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">核查人员数量:</label>
<div class="col-sm-8">
<input name="ZAPCRYSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查车辆数量:</label>
<div class="col-sm-8">
<input name="ZAPCCLSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">抓获在逃人员数量:</label>
<div class="col-sm-8">
<input name="ZHZTRYSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">劝返涉访人员数量:</label>
<div class="col-sm-8">
<input name="QFSFRYSL" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">查获管制刀具数量:</label>
<div class="col-sm-8">
<input name="ChwpGzdj" class="form-control" type="text" required>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script type="text/javascript">
var prefix = ctx + "system/xjxdzhxxb"
$("#form-xjxdzhxxb-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-xjxdzhxxb-add').serialize());
}
}
$("input[name='ZAFKRQ']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

View File

@ -0,0 +1,289 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改夏季行动综合信息')" />
<th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-xjxdzhxxb-edit" th:object="${tbXjxdzhxxb}">
<input name="Id" th:field="*{Id}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">行政区划代码:</label>
<div class="col-sm-8">
<input name="XZQHDM" th:field="*{XZQHDM}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">行政区划名称:</label>
<div class="col-sm-8">
<input name="XZQHMC" th:field="*{XZQHMC}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">公安机关代码:</label>
<div class="col-sm-8">
<input name="GAJGDM" th:field="*{GAJGDM}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">公安机关名称:</label>
<div class="col-sm-8">
<input name="GAJGMC" th:field="*{GAJGMC}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">登记日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
<input name="ZAFKRQ" th:value="${#dates.format(tbXjxdzhxxb.ZAFKRQ, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" required>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">投入民辅警力数量:</label>
<div class="col-sm-8">
<input name="TRXFJLSL" th:field="*{TRXFJLSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">投入巡防车辆数量:</label>
<div class="col-sm-8">
<input name="TRXFCLSL" th:field="*{TRXFCLSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发动群防群治力量数量(人次)</label>
<div class="col-sm-8">
<input name="QFQZSL" th:field="*{QFQZSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">抓获现行违法犯罪嫌疑人数量:</label>
<div class="col-sm-8">
<input name="ZAKDSL" th:field="*{ZAKDSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查车辆数量:</label>
<div class="col-sm-8">
<input name="JCCLSL" th:field="*{JCCLSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">盘查人员数量:</label>
<div class="col-sm-8">
<input name="PCRYSL" th:field="*{PCRYSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">巡查重点部位数量:</label>
<div class="col-sm-8">
<input name="XCZDBWSL" th:field="*{XCZDBWSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查场所数量:</label>
<div class="col-sm-8">
<input name="JCFXYHCSSL" th:field="*{JCFXYHCSSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查出租屋、群租房数量:</label>
<div class="col-sm-8">
<input name="FxyhcsCzwsl" th:field="*{FxyhcsCzwsl}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查旅馆数量:</label>
<div class="col-sm-8">
<input name="FxyhcsLgsl" th:field="*{FxyhcsLgsl}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查娱乐场所数量:</label>
<div class="col-sm-8">
<input name="FxyhcsYlcssl" th:field="*{FxyhcsYlcssl}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">排查安全隐患数量:</label>
<div class="col-sm-8">
<input name="PCAQYHSL" th:field="*{PCAQYHSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消除安全隐患数量:</label>
<div class="col-sm-8">
<input name="XCAQYHSL" th:field="*{XCAQYHSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴枪支数量:</label>
<div class="col-sm-8">
<input name="SjzdwpQz" th:field="*{SjzdwpQz}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴子弹数量:</label>
<div class="col-sm-8">
<input name="SjzdwpZd" th:field="*{SjzdwpZd}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴炸药、黑火药数量:</label>
<div class="col-sm-8">
<input name="SjzdwpZy" th:field="*{SjzdwpZy}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴雷管数量:</label>
<div class="col-sm-8">
<input name="SjzdwpLg" th:field="*{SjzdwpLg}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴易制爆化学品数量:</label>
<div class="col-sm-8">
<input name="SjzdwpYzbhxp" th:field="*{SjzdwpYzbhxp}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴剧毒化学品数量:</label>
<div class="col-sm-8">
<input name="SjzdwpJdhxp" th:field="*{SjzdwpJdhxp}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收缴管制刀具数量:</label>
<div class="col-sm-8">
<input name="SjzdwpGzdj" th:field="*{SjzdwpGzdj}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">排查矛盾纠纷数量:</label>
<div class="col-sm-8">
<input name="PCMDJFSL" th:field="*{PCMDJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解矛盾纠纷数量:</label>
<div class="col-sm-8">
<input name="HJMDJFSL" th:field="*{HJMDJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">婚恋家庭纠纷数量:</label>
<div class="col-sm-8">
<input name="HLJTJFSL" th:field="*{HLJTJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解婚恋家庭纠纷数量:</label>
<div class="col-sm-8">
<input name="HJHLJTJFSL" th:field="*{HJHLJTJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">邻里纠纷数量:</label>
<div class="col-sm-8">
<input name="LLJFSL" th:field="*{LLJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解邻里纠纷数量:</label>
<div class="col-sm-8">
<input name="HJLLJFSL" th:field="*{HJLLJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">经济纠纷数量:</label>
<div class="col-sm-8">
<input name="JJJFSL" th:field="*{JJJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解经济纠纷数量:</label>
<div class="col-sm-8">
<input name="HJJJJFSL" th:field="*{HJJJJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">医疗纠纷数量:</label>
<div class="col-sm-8">
<input name="YLJFSL" th:field="*{YLJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">化解医疗纠纷数量:</label>
<div class="col-sm-8">
<input name="HJYLJFSL" th:field="*{HJYLJFSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">运行公安检查站数量:</label>
<div class="col-sm-8">
<input name="YXGAJCZSL" th:field="*{YXGAJCZSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">设立临时治安卡点数量:</label>
<div class="col-sm-8">
<input name="SLZHKDSL" th:field="*{SLZHKDSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">核查人员数量:</label>
<div class="col-sm-8">
<input name="ZAPCRYSL" th:field="*{ZAPCRYSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">检查车辆数量:</label>
<div class="col-sm-8">
<input name="ZAPCCLSL" th:field="*{ZAPCCLSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">抓获在逃人员数量:</label>
<div class="col-sm-8">
<input name="ZHZTRYSL" th:field="*{ZHZTRYSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">劝返涉访人员数量:</label>
<div class="col-sm-8">
<input name="QFSFRYSL" th:field="*{QFSFRYSL}" class="form-control" type="text" required>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">查获管制刀具数量:</label>
<div class="col-sm-8">
<input name="ChwpGzdj" th:field="*{ChwpGzdj}" class="form-control" type="text" required>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script type="text/javascript">
var prefix = ctx + "system/xjxdzhxxb";
$("#form-xjxdzhxxb-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-xjxdzhxxb-edit').serialize());
}
}
$("input[name='ZAFKRQ']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>

View File

@ -0,0 +1,264 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('夏季行动综合信息列表')" />
<th:block th:include="include :: layout-latest-css" />
<th:block th:include="include :: westMedia-css"/>
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
<label>行政区划名称:</label>
<input type="text" name="XZQHMC"/>
</li>
<li>
<label>公安机关名称:</label>
<input type="text" name="GAJGMC"/>
</li>
<li class="select-time">
<label>登记日期:</label>
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginZAFKRQ]"/>
<span>-</span>
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endZAFKRQ]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.addFull()" shiro:hasPermission="system:xjxdzhxxb:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:xjxdzhxxb:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:xjxdzhxxb:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:xjxdzhxxb:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
</div>
</div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: layout-latest-js" />
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:xjxdzhxxb:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:xjxdzhxxb:remove')}]];
var prefix = ctx + "system/xjxdzhxxb";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "夏季行动综合信息",
columns: [{
checkbox: true
},
{
field : 'Id',
title : '主键',
visible: false
},
/*{
field : 'XZQHDM',
title : '行政区划代码'
},*/
{
field : 'XZQHMC',
title : '行政区划名称'
},
/*{
field : 'GAJGDM',
title : '公安机关代码'
},*/
{
field : 'GAJGMC',
title : '公安机关名称'
},
{
field : 'ZAFKRQ',
title : '登记日期'
},
{
field : 'TRXFJLSL',
title : '投入民辅警力数量'
},
{
field : 'TRXFCLSL',
title : '投入巡防车辆数量'
},
{
field : 'QFQZSL',
title : '发动群防群治力量数量(人次)'
},
{
field : 'ZAKDSL',
title : '抓获现行违法犯罪嫌疑人数量'
},
{
field : 'JCCLSL',
title : '检查车辆数量'
},
{
field : 'PCRYSL',
title : '盘查人员数量'
},
{
field : 'XCZDBWSL',
title : '巡查重点部位数量'
},
{
field : 'JCFXYHCSSL',
title : '检查场所数量'
},
{
field : 'FxyhcsCzwsl',
title : '检查出租屋、群租房数量'
},
{
field : 'FxyhcsLgsl',
title : '检查旅馆数量'
},
{
field : 'FxyhcsYlcssl',
title : '检查娱乐场所数量'
},
{
field : 'PCAQYHSL',
title : '排查安全隐患数量'
},
{
field : 'XCAQYHSL',
title : '消除安全隐患数量'
},
{
field : 'SjzdwpQz',
title : '收缴枪支数量'
},
{
field : 'SjzdwpZd',
title : '收缴子弹数量'
},
{
field : 'SjzdwpZy',
title : '收缴炸药、黑火药数量'
},
{
field : 'SjzdwpLg',
title : '收缴雷管数量'
},
{
field : 'SjzdwpYzbhxp',
title : '收缴易制爆化学品数量'
},
{
field : 'SjzdwpJdhxp',
title : '收缴剧毒化学品数量'
},
{
field : 'SjzdwpGzdj',
title : '收缴管制刀具数量'
},
{
field : 'PCMDJFSL',
title : '排查矛盾纠纷数量'
},
{
field : 'HJMDJFSL',
title : '化解矛盾纠纷数量'
},
{
field : 'HLJTJFSL',
title : '婚恋家庭纠纷数量'
},
{
field : 'HJHLJTJFSL',
title : '化解婚恋家庭纠纷数量'
},
{
field : 'LLJFSL',
title : '邻里纠纷数量'
},
{
field : 'HJLLJFSL',
title : '化解邻里纠纷数量'
},
{
field : 'JJJFSL',
title : '经济纠纷数量'
},
{
field : 'HJJJJFSL',
title : '化解经济纠纷数量'
},
{
field : 'YLJFSL',
title : '医疗纠纷数量'
},
{
field : 'HJYLJFSL',
title : '化解医疗纠纷数量'
},
{
field : 'YXGAJCZSL',
title : '运行公安检查站数量'
},
{
field : 'SLZHKDSL',
title : '设立临时治安卡点数量'
},
{
field : 'ZAPCRYSL',
title : '核查人员数量'
},
{
field : 'ZAPCCLSL',
title : '检查车辆数量'
},
{
field : 'ZHZTRYSL',
title : '抓获在逃人员数量'
},
{
field : 'QFSFRYSL',
title : '劝返涉访人员数量'
},
{
field : 'ChwpGzdj',
title : '查获管制刀具数量'
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.Id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.Id + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>