wangjinsheng пре 3 година
родитељ
комит
32a4888630

+ 126 - 0
mybusiness/src/main/java/com/sooka/system/controller/TGuijiHousingconstructionJfpzxxController.java

@@ -0,0 +1,126 @@
+package com.sooka.system.controller;
+
+import java.util.List;
+import com.sooka.common.annotation.Log;
+import com.sooka.common.core.controller.BaseController;
+import com.sooka.common.core.domain.AjaxResult;
+import com.sooka.common.core.page.TableDataInfo;
+import com.sooka.common.enums.BusinessType;
+import com.sooka.common.utils.poi.ExcelUtil;
+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;
+import com.sooka.system.domain.TGuijiHousingconstructionJfpzxx;
+import com.sooka.system.service.ITGuijiHousingconstructionJfpzxxService;
+
+/**
+ * 缴费凭证信息Controller
+ * 
+ * @author lei
+ * @date 2021-11-05
+ */
+@Controller
+@RequestMapping("/system/jfpzxx")
+public class TGuijiHousingconstructionJfpzxxController extends BaseController
+{
+    private String prefix = "system/jfpzxx";
+
+    @Autowired
+    private ITGuijiHousingconstructionJfpzxxService tGuijiHousingconstructionJfpzxxService;
+
+    @RequiresPermissions("system:jfpzxx:view")
+    @GetMapping()
+    public String jfpzxx()
+    {
+        return prefix + "/jfpzxx";
+    }
+
+    /**
+     * 查询缴费凭证信息列表
+     */
+    @RequiresPermissions("system:jfpzxx:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        startPage();
+        List<TGuijiHousingconstructionJfpzxx> list = tGuijiHousingconstructionJfpzxxService.selectTGuijiHousingconstructionJfpzxxList(tGuijiHousingconstructionJfpzxx);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出缴费凭证信息列表
+     */
+    @RequiresPermissions("system:jfpzxx:export")
+    @Log(title = "缴费凭证信息", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        List<TGuijiHousingconstructionJfpzxx> list = tGuijiHousingconstructionJfpzxxService.selectTGuijiHousingconstructionJfpzxxList(tGuijiHousingconstructionJfpzxx);
+        ExcelUtil<TGuijiHousingconstructionJfpzxx> util = new ExcelUtil<TGuijiHousingconstructionJfpzxx>(TGuijiHousingconstructionJfpzxx.class);
+        return util.exportExcel(list, "jfpzxx");
+    }
+
+    /**
+     * 新增缴费凭证信息
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存缴费凭证信息
+     */
+    @RequiresPermissions("system:jfpzxx:add")
+    @Log(title = "缴费凭证信息", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        return toAjax(tGuijiHousingconstructionJfpzxxService.insertTGuijiHousingconstructionJfpzxx(tGuijiHousingconstructionJfpzxx));
+    }
+
+    /**
+     * 修改缴费凭证信息
+     */
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx = tGuijiHousingconstructionJfpzxxService.selectTGuijiHousingconstructionJfpzxxById(id);
+        mmap.put("tGuijiHousingconstructionJfpzxx", tGuijiHousingconstructionJfpzxx);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存缴费凭证信息
+     */
+    @RequiresPermissions("system:jfpzxx:edit")
+    @Log(title = "缴费凭证信息", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        return toAjax(tGuijiHousingconstructionJfpzxxService.updateTGuijiHousingconstructionJfpzxx(tGuijiHousingconstructionJfpzxx));
+    }
+
+    /**
+     * 删除缴费凭证信息
+     */
+    @RequiresPermissions("system:jfpzxx:remove")
+    @Log(title = "缴费凭证信息", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(tGuijiHousingconstructionJfpzxxService.deleteTGuijiHousingconstructionJfpzxxByIds(ids));
+    }
+}

+ 190 - 0
mybusiness/src/main/java/com/sooka/system/domain/TGuijiHousingconstructionJfpzxx.java

@@ -0,0 +1,190 @@
+package com.sooka.system.domain;
+
+import com.sooka.common.annotation.Excel;
+import com.sooka.common.core.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 缴费凭证信息对象 t_guiji_housingconstruction_yhjbxx
+ * 
+ * @author lei
+ * @date 2021-11-05
+ */
+public class TGuijiHousingconstructionJfpzxx extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 主键ID */
+    private String id;
+
+    /** 推送时间 */
+    @Excel(name = "推送时间")
+    private String cdTime;
+
+    /** 批次号 */
+    @Excel(name = "批次号")
+    private String cdBatch;
+
+    /** 操作状态 */
+    @Excel(name = "操作状态")
+    private String cdOperation;
+
+    /** 数据来源 */
+    @Excel(name = "数据来源")
+    private String cdSource;
+
+    /** 用户编号 */
+    @Excel(name = "用户编号")
+    private String yhbh;
+
+    /** 用户名称 */
+    @Excel(name = "用户名称")
+    private String yhmc;
+
+    /** 用户地址 */
+    @Excel(name = "用户地址")
+    private String yhdz;
+
+    /** 用水月份 */
+    private String ysyf;
+
+    /** 用水量 */
+    private String ysl;
+
+    /** 是否缴费 */
+    @Excel(name = "是否缴费")
+    private String sfjf;
+
+    /** 缴费时间 */
+    @Excel(name = "缴费时间")
+    private String jfsj;
+
+    public void setId(String id) 
+    {
+        this.id = id;
+    }
+
+    public String getId() 
+    {
+        return id;
+    }
+    public void setCdTime(String cdTime) 
+    {
+        this.cdTime = cdTime;
+    }
+
+    public String getCdTime() 
+    {
+        return cdTime;
+    }
+    public void setCdBatch(String cdBatch) 
+    {
+        this.cdBatch = cdBatch;
+    }
+
+    public String getCdBatch() 
+    {
+        return cdBatch;
+    }
+    public void setCdOperation(String cdOperation) 
+    {
+        this.cdOperation = cdOperation;
+    }
+
+    public String getCdOperation() 
+    {
+        return cdOperation;
+    }
+    public void setCdSource(String cdSource) 
+    {
+        this.cdSource = cdSource;
+    }
+
+    public String getCdSource() 
+    {
+        return cdSource;
+    }
+    public void setYhbh(String yhbh) 
+    {
+        this.yhbh = yhbh;
+    }
+
+    public String getYhbh() 
+    {
+        return yhbh;
+    }
+    public void setYhmc(String yhmc) 
+    {
+        this.yhmc = yhmc;
+    }
+
+    public String getYhmc() 
+    {
+        return yhmc;
+    }
+    public void setYhdz(String yhdz) 
+    {
+        this.yhdz = yhdz;
+    }
+
+    public String getYhdz() 
+    {
+        return yhdz;
+    }
+    public void setYsyf(String ysyf) 
+    {
+        this.ysyf = ysyf;
+    }
+
+    public String getYsyf() 
+    {
+        return ysyf;
+    }
+    public void setYsl(String ysl) 
+    {
+        this.ysl = ysl;
+    }
+
+    public String getYsl() 
+    {
+        return ysl;
+    }
+    public void setSfjf(String sfjf) 
+    {
+        this.sfjf = sfjf;
+    }
+
+    public String getSfjf() 
+    {
+        return sfjf;
+    }
+    public void setJfsj(String jfsj) 
+    {
+        this.jfsj = jfsj;
+    }
+
+    public String getJfsj() 
+    {
+        return jfsj;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("createTime", getCreateTime())
+            .append("cdTime", getCdTime())
+            .append("cdBatch", getCdBatch())
+            .append("cdOperation", getCdOperation())
+            .append("cdSource", getCdSource())
+            .append("yhbh", getYhbh())
+            .append("yhmc", getYhmc())
+            .append("yhdz", getYhdz())
+            .append("ysyf", getYsyf())
+            .append("ysl", getYsl())
+            .append("sfjf", getSfjf())
+            .append("jfsj", getJfsj())
+            .toString();
+    }
+}

+ 61 - 0
mybusiness/src/main/java/com/sooka/system/mapper/TGuijiHousingconstructionJfpzxxMapper.java

@@ -0,0 +1,61 @@
+package com.sooka.system.mapper;
+
+import java.util.List;
+import com.sooka.system.domain.TGuijiHousingconstructionJfpzxx;
+
+/**
+ * 缴费凭证信息Mapper接口
+ * 
+ * @author lei
+ * @date 2021-11-05
+ */
+public interface TGuijiHousingconstructionJfpzxxMapper 
+{
+    /**
+     * 查询缴费凭证信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 缴费凭证信息
+     */
+    public TGuijiHousingconstructionJfpzxx selectTGuijiHousingconstructionJfpzxxById(String id);
+
+    /**
+     * 查询缴费凭证信息列表
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 缴费凭证信息集合
+     */
+    public List<TGuijiHousingconstructionJfpzxx> selectTGuijiHousingconstructionJfpzxxList(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 新增缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    public int insertTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 修改缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    public int updateTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 删除缴费凭证信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 结果
+     */
+    public int deleteTGuijiHousingconstructionJfpzxxById(String id);
+
+    /**
+     * 批量删除缴费凭证信息
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiHousingconstructionJfpzxxByIds(String[] ids);
+}

+ 61 - 0
mybusiness/src/main/java/com/sooka/system/service/ITGuijiHousingconstructionJfpzxxService.java

@@ -0,0 +1,61 @@
+package com.sooka.system.service;
+
+import java.util.List;
+import com.sooka.system.domain.TGuijiHousingconstructionJfpzxx;
+
+/**
+ * 缴费凭证信息Service接口
+ * 
+ * @author lei
+ * @date 2021-11-05
+ */
+public interface ITGuijiHousingconstructionJfpzxxService 
+{
+    /**
+     * 查询缴费凭证信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 缴费凭证信息
+     */
+    public TGuijiHousingconstructionJfpzxx selectTGuijiHousingconstructionJfpzxxById(String id);
+
+    /**
+     * 查询缴费凭证信息列表
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 缴费凭证信息集合
+     */
+    public List<TGuijiHousingconstructionJfpzxx> selectTGuijiHousingconstructionJfpzxxList(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 新增缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    public int insertTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 修改缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    public int updateTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx);
+
+    /**
+     * 批量删除缴费凭证信息
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTGuijiHousingconstructionJfpzxxByIds(String ids);
+
+    /**
+     * 删除缴费凭证信息信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 结果
+     */
+    public int deleteTGuijiHousingconstructionJfpzxxById(String id);
+}

+ 97 - 0
mybusiness/src/main/java/com/sooka/system/service/impl/TGuijiHousingconstructionJfpzxxServiceImpl.java

@@ -0,0 +1,97 @@
+package com.sooka.system.service.impl;
+
+import java.util.List;
+
+import com.sooka.common.core.text.Convert;
+import com.sooka.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.sooka.system.mapper.TGuijiHousingconstructionJfpzxxMapper;
+import com.sooka.system.domain.TGuijiHousingconstructionJfpzxx;
+import com.sooka.system.service.ITGuijiHousingconstructionJfpzxxService;
+
+/**
+ * 缴费凭证信息Service业务层处理
+ * 
+ * @author lei
+ * @date 2021-11-05
+ */
+@Service
+public class TGuijiHousingconstructionJfpzxxServiceImpl implements ITGuijiHousingconstructionJfpzxxService 
+{
+    @Autowired
+    private TGuijiHousingconstructionJfpzxxMapper tGuijiHousingconstructionJfpzxxMapper;
+
+    /**
+     * 查询缴费凭证信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 缴费凭证信息
+     */
+    @Override
+    public TGuijiHousingconstructionJfpzxx selectTGuijiHousingconstructionJfpzxxById(String id)
+    {
+        return tGuijiHousingconstructionJfpzxxMapper.selectTGuijiHousingconstructionJfpzxxById(id);
+    }
+
+    /**
+     * 查询缴费凭证信息列表
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 缴费凭证信息
+     */
+    @Override
+    public List<TGuijiHousingconstructionJfpzxx> selectTGuijiHousingconstructionJfpzxxList(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        return tGuijiHousingconstructionJfpzxxMapper.selectTGuijiHousingconstructionJfpzxxList(tGuijiHousingconstructionJfpzxx);
+    }
+
+    /**
+     * 新增缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    @Override
+    public int insertTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        tGuijiHousingconstructionJfpzxx.setCreateTime(DateUtils.getNowDate());
+        return tGuijiHousingconstructionJfpzxxMapper.insertTGuijiHousingconstructionJfpzxx(tGuijiHousingconstructionJfpzxx);
+    }
+
+    /**
+     * 修改缴费凭证信息
+     * 
+     * @param tGuijiHousingconstructionJfpzxx 缴费凭证信息
+     * @return 结果
+     */
+    @Override
+    public int updateTGuijiHousingconstructionJfpzxx(TGuijiHousingconstructionJfpzxx tGuijiHousingconstructionJfpzxx)
+    {
+        return tGuijiHousingconstructionJfpzxxMapper.updateTGuijiHousingconstructionJfpzxx(tGuijiHousingconstructionJfpzxx);
+    }
+
+    /**
+     * 删除缴费凭证信息对象
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiHousingconstructionJfpzxxByIds(String ids)
+    {
+        return tGuijiHousingconstructionJfpzxxMapper.deleteTGuijiHousingconstructionJfpzxxByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除缴费凭证信息信息
+     * 
+     * @param id 缴费凭证信息ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTGuijiHousingconstructionJfpzxxById(String id)
+    {
+        return tGuijiHousingconstructionJfpzxxMapper.deleteTGuijiHousingconstructionJfpzxxById(id);
+    }
+}

+ 104 - 0
mybusiness/src/main/resources/mapper/system/TGuijiHousingconstructionJfpzxxMapper.xml

@@ -0,0 +1,104 @@
+<?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="com.sooka.system.mapper.TGuijiHousingconstructionJfpzxxMapper">
+    
+    <resultMap type="TGuijiHousingconstructionJfpzxx" id="TGuijiHousingconstructionJfpzxxResult">
+        <result property="id"    column="id"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="cdTime"    column="cd_time"    />
+        <result property="cdBatch"    column="cd_batch"    />
+        <result property="cdOperation"    column="cd_operation"    />
+        <result property="cdSource"    column="cd_source"    />
+        <result property="yhbh"    column="yhbh"    />
+        <result property="yhmc"    column="yhmc"    />
+        <result property="yhdz"    column="yhdz"    />
+        <result property="ysyf"    column="ysyf"    />
+        <result property="ysl"    column="ysl"    />
+        <result property="sfjf"    column="sfjf"    />
+        <result property="jfsj"    column="jfsj"    />
+    </resultMap>
+
+    <sql id="selectTGuijiHousingconstructionJfpzxxVo">
+        select id, create_time, cd_time, cd_batch, cd_operation, cd_source, yhbh, yhmc, yhdz, ysyf, ysl, sfjf, jfsj from t_guiji_housingconstruction_yhjbxx
+    </sql>
+
+    <select id="selectTGuijiHousingconstructionJfpzxxList" parameterType="TGuijiHousingconstructionJfpzxx" resultMap="TGuijiHousingconstructionJfpzxxResult">
+        <include refid="selectTGuijiHousingconstructionJfpzxxVo"/>
+        <where>  
+            <if test="yhbh != null  and yhbh != ''"> and yhbh = #{yhbh}</if>
+            <if test="yhmc != null  and yhmc != ''"> and yhmc = #{yhmc}</if>
+        </where>
+    </select>
+    
+    <select id="selectTGuijiHousingconstructionJfpzxxById" parameterType="String" resultMap="TGuijiHousingconstructionJfpzxxResult">
+        <include refid="selectTGuijiHousingconstructionJfpzxxVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTGuijiHousingconstructionJfpzxx" parameterType="TGuijiHousingconstructionJfpzxx">
+        insert into t_guiji_housingconstruction_yhjbxx
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="cdTime != null">cd_time,</if>
+            <if test="cdBatch != null">cd_batch,</if>
+            <if test="cdOperation != null">cd_operation,</if>
+            <if test="cdSource != null">cd_source,</if>
+            <if test="yhbh != null">yhbh,</if>
+            <if test="yhmc != null">yhmc,</if>
+            <if test="yhdz != null">yhdz,</if>
+            <if test="ysyf != null">ysyf,</if>
+            <if test="ysl != null">ysl,</if>
+            <if test="sfjf != null">sfjf,</if>
+            <if test="jfsj != null">jfsj,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="cdTime != null">#{cdTime},</if>
+            <if test="cdBatch != null">#{cdBatch},</if>
+            <if test="cdOperation != null">#{cdOperation},</if>
+            <if test="cdSource != null">#{cdSource},</if>
+            <if test="yhbh != null">#{yhbh},</if>
+            <if test="yhmc != null">#{yhmc},</if>
+            <if test="yhdz != null">#{yhdz},</if>
+            <if test="ysyf != null">#{ysyf},</if>
+            <if test="ysl != null">#{ysl},</if>
+            <if test="sfjf != null">#{sfjf},</if>
+            <if test="jfsj != null">#{jfsj},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTGuijiHousingconstructionJfpzxx" parameterType="TGuijiHousingconstructionJfpzxx">
+        update t_guiji_housingconstruction_yhjbxx
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="cdTime != null">cd_time = #{cdTime},</if>
+            <if test="cdBatch != null">cd_batch = #{cdBatch},</if>
+            <if test="cdOperation != null">cd_operation = #{cdOperation},</if>
+            <if test="cdSource != null">cd_source = #{cdSource},</if>
+            <if test="yhbh != null">yhbh = #{yhbh},</if>
+            <if test="yhmc != null">yhmc = #{yhmc},</if>
+            <if test="yhdz != null">yhdz = #{yhdz},</if>
+            <if test="ysyf != null">ysyf = #{ysyf},</if>
+            <if test="ysl != null">ysl = #{ysl},</if>
+            <if test="sfjf != null">sfjf = #{sfjf},</if>
+            <if test="jfsj != null">jfsj = #{jfsj},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteTGuijiHousingconstructionJfpzxxById" parameterType="String">
+        delete from t_guiji_housingconstruction_yhjbxx where id = #{id}
+    </delete>
+
+    <delete id="deleteTGuijiHousingconstructionJfpzxxByIds" parameterType="String">
+        delete from t_guiji_housingconstruction_yhjbxx where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>

+ 91 - 0
mybusiness/src/main/resources/templates/system/jfpzxx/add.html

@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('新增缴费凭证信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-jfpzxx-add">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户编号:</label>
+                <div class="col-sm-8">
+                    <input name="yhbh" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户名称:</label>
+                <div class="col-sm-8">
+                    <input name="yhmc" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户地址:</label>
+                <div class="col-sm-8">
+                    <input name="yhdz" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用水月份:</label>
+                <div class="col-sm-8">
+                    <input name="ysyf" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用水量:</label>
+                <div class="col-sm-8">
+                    <input name="ysl" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否缴费:</label>
+                <div class="col-sm-8">
+                    <input name="sfjf" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">缴费时间:</label>
+                <div class="col-sm-8">
+                    <input name="jfsj" class="form-control" type="text">
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var prefix = ctx + "system/jfpzxx"
+        $("#form-jfpzxx-add").validate({
+            focusCleanup: true
+        });
+
+        function submitHandler() {
+            if ($.validate.form()) {
+                $.operate.save(prefix + "/add", $('#form-jfpzxx-add').serialize());
+            }
+        }
+    </script>
+</body>
+</html>

+ 50 - 0
mybusiness/src/main/resources/templates/system/jfpzxx/edit.html

@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('查看缴费凭证信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-jfpzxx-edit" th:object="${tGuijiHousingconstructionJfpzxx}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.cdTime}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.cdBatch}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.cdOperation}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.cdSource}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户编号:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.yhbh}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户名称:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.yhmc}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户地址:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.yhdz}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否缴费:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.sfjf}"></div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">缴费时间:</label>
+                <div class="form-control-static" th:text="${tGuijiHousingconstructionJfpzxx.jfsj}"></div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+</body>
+</html>

+ 113 - 0
mybusiness/src/main/resources/templates/system/jfpzxx/jfpzxx.html

@@ -0,0 +1,113 @@
+<!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('缴费凭证信息列表')" />
+</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="yhbh"/>
+                            </li>
+                            <li>
+                                <label>用户名称:</label>
+                                <input type="text" name="yhmc"/>
+                            </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="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:jfpzxx:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:jfpzxx:remove')}]];
+        var prefix = ctx + "system/jfpzxx";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                detailUrl: prefix + "/edit/{id}",
+                modalName: "缴费凭证信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: '主键ID',
+                    visible: false
+                },
+                {
+                    field: 'cdTime',
+                    title: '推送时间',
+                    visible: false
+                },
+                {
+                    field: 'cdBatch',
+                    title: '批次号',
+                    visible: false
+                },
+                {
+                    field: 'cdOperation',
+                    title: '操作状态',
+                    visible: false
+                },
+                {
+                    field: 'cdSource',
+                    title: '数据来源',
+                    visible: false
+                },
+                {
+                    field: 'yhbh',
+                    title: '用户编号'
+                },
+                {
+                    field: 'yhmc',
+                    title: '用户名称'
+                },
+                {
+                    field: 'yhdz',
+                    title: '用户地址'
+                },
+                {
+                    field: 'sfjf',
+                    title: '是否缴费'
+                },
+                {
+                    field: 'jfsj',
+                    title: '缴费时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        actions.push('<a class="btn btn-warning btn-xs  ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\''
+                            + row.id + '\')"><i class="fa fa-search"></i>详细</a> ');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>