Merge remote-tracking branch 'origin/master'

master
wanglei 2 years ago
commit d53656abc1

@ -0,0 +1,104 @@
package com.da.dangan.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.da.common.annotation.Log;
import com.da.common.core.controller.BaseController;
import com.da.common.core.domain.AjaxResult;
import com.da.common.enums.BusinessType;
import com.da.dangan.domain.DaQyz;
import com.da.dangan.service.IDaQyzService;
import com.da.common.utils.poi.ExcelUtil;
import com.da.common.core.page.TableDataInfo;
/**
* Controller
*
* @author hs
* @date 2024-06-14
*/
@RestController
@RequestMapping("/dangan/qyz")
public class DaQyzController extends BaseController
{
@Autowired
private IDaQyzService daQyzService;
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:list')")
@GetMapping("/list")
public TableDataInfo list(DaQyz daQyz)
{
startPage();
List<DaQyz> list = daQyzService.selectDaQyzList(daQyz);
return getDataTable(list);
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:export')")
@Log(title = "迁移证", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DaQyz daQyz)
{
List<DaQyz> list = daQyzService.selectDaQyzList(daQyz);
ExcelUtil<DaQyz> util = new ExcelUtil<DaQyz>(DaQyz.class);
util.exportExcel(response, list, "迁移证数据");
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(daQyzService.selectDaQyzById(id));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:add')")
@Log(title = "迁移证", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DaQyz daQyz)
{
return toAjax(daQyzService.insertDaQyz(daQyz));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:edit')")
@Log(title = "迁移证", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody DaQyz daQyz)
{
return toAjax(daQyzService.updateDaQyz(daQyz));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:qyz:remove')")
@Log(title = "迁移证", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(daQyzService.deleteDaQyzByIds(ids));
}
}

@ -0,0 +1,104 @@
package com.da.dangan.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.da.common.annotation.Log;
import com.da.common.core.controller.BaseController;
import com.da.common.core.domain.AjaxResult;
import com.da.common.enums.BusinessType;
import com.da.dangan.domain.DaZfnyhkcg;
import com.da.dangan.service.IDaZfnyhkcgService;
import com.da.common.utils.poi.ExcelUtil;
import com.da.common.core.page.TableDataInfo;
/**
* Controller
*
* @author hs
* @date 2024-06-14
*/
@RestController
@RequestMapping("/dangan/zfnyhkcg")
public class DaZfnyhkcgController extends BaseController
{
@Autowired
private IDaZfnyhkcgService daZfnyhkcgService;
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:list')")
@GetMapping("/list")
public TableDataInfo list(DaZfnyhkcg daZfnyhkcg)
{
startPage();
List<DaZfnyhkcg> list = daZfnyhkcgService.selectDaZfnyhkcgList(daZfnyhkcg);
return getDataTable(list);
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:export')")
@Log(title = "转非农业人口批复存根", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, DaZfnyhkcg daZfnyhkcg)
{
List<DaZfnyhkcg> list = daZfnyhkcgService.selectDaZfnyhkcgList(daZfnyhkcg);
ExcelUtil<DaZfnyhkcg> util = new ExcelUtil<DaZfnyhkcg>(DaZfnyhkcg.class);
util.exportExcel(response, list, "转非农业人口批复存根数据");
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(daZfnyhkcgService.selectDaZfnyhkcgById(id));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:add')")
@Log(title = "转非农业人口批复存根", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DaZfnyhkcg daZfnyhkcg)
{
return toAjax(daZfnyhkcgService.insertDaZfnyhkcg(daZfnyhkcg));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:edit')")
@Log(title = "转非农业人口批复存根", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody DaZfnyhkcg daZfnyhkcg)
{
return toAjax(daZfnyhkcgService.updateDaZfnyhkcg(daZfnyhkcg));
}
/**
*
*/
@PreAuthorize("@ss.hasPermi('dangan:zfnyhkcg:remove')")
@Log(title = "转非农业人口批复存根", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(daZfnyhkcgService.deleteDaZfnyhkcgByIds(ids));
}
}

@ -0,0 +1,476 @@
package com.da.dangan.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.da.common.annotation.Excel;
import com.da.common.core.domain.BaseEntity;
/**
* da_qyz
*
* @author hs
* @date 2024-06-14
*/
public class DaQyz extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 业务类型(字典) */
@Excel(name = "业务类型(字典)")
private String ywType;
/** 目录id */
@Excel(name = "目录id")
private Long muId;
/** 发文单位 */
@Excel(name = "发文单位")
private String fwUnit;
/** 文件序号 */
@Excel(name = "文件序号")
private String wjXh;
/** 姓名1 */
@Excel(name = "姓名1")
private String name1;
/** 性别1 */
@Excel(name = "性别1")
private String sex1;
/** 居民身份证编号1 */
@Excel(name = "居民身份证编号1")
private String cardId1;
/** 姓名2 */
@Excel(name = "姓名2")
private String name2;
/** 性别2 */
@Excel(name = "性别2")
private String sex2;
/** 居民身份证编号2 */
@Excel(name = "居民身份证编号2")
private String cardId2;
/** 姓名3 */
@Excel(name = "姓名3")
private String name3;
/** 性别3 */
@Excel(name = "性别3")
private String sex3;
/** 居民身份证编号3 */
@Excel(name = "居民身份证编号3")
private String cardId3;
/** 姓名4 */
@Excel(name = "姓名4")
private String name4;
/** 性别4 */
@Excel(name = "性别4")
private String sex4;
/** 居民身份证编号4 */
@Excel(name = "居民身份证编号4")
private String cardId4;
/** 迁移原因 */
@Excel(name = "迁移原因")
private String qyReason;
/** 原住址 */
@Excel(name = "原住址")
private String yAddress;
/** 迁往地址 */
@Excel(name = "迁往地址")
private String qwAddress;
/** 签发有效时间起 */
@Excel(name = "签发有效时间起")
private String sDate;
/** 签发有效时间止 */
@Excel(name = "签发有效时间止")
private String eDate;
/** 承办人 */
@Excel(name = "承办人")
private String cbr;
/** 识别图片id */
@Excel(name = "识别图片id")
private String picIds;
/** 识别图片 */
@Excel(name = "识别图片")
private String pictures;
/** 相关图片id */
@Excel(name = "相关图片id")
private String allPicIds;
/** 相关图片 */
@Excel(name = "相关图片")
private String allPics;
/** 是否纠错(字典0否1是) */
@Excel(name = "是否纠错(字典0否1是)")
private String errorCorrect;
/** 审核状态(字典) */
@Excel(name = "审核状态(字典)")
private String auditStatus;
/** 审核人 */
@Excel(name = "审核人")
private String auditName;
/** 审核结果 */
@Excel(name = "审核结果")
private String auditResult;
/** 审核原由 */
@Excel(name = "审核原由")
private String auditReason;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setYwType(String ywType)
{
this.ywType = ywType;
}
public String getYwType()
{
return ywType;
}
public void setMuId(Long muId)
{
this.muId = muId;
}
public Long getMuId()
{
return muId;
}
public void setFwUnit(String fwUnit)
{
this.fwUnit = fwUnit;
}
public String getFwUnit()
{
return fwUnit;
}
public void setWjXh(String wjXh)
{
this.wjXh = wjXh;
}
public String getWjXh()
{
return wjXh;
}
public void setName1(String name1)
{
this.name1 = name1;
}
public String getName1()
{
return name1;
}
public void setSex1(String sex1)
{
this.sex1 = sex1;
}
public String getSex1()
{
return sex1;
}
public void setCardId1(String cardId1)
{
this.cardId1 = cardId1;
}
public String getCardId1()
{
return cardId1;
}
public void setName2(String name2)
{
this.name2 = name2;
}
public String getName2()
{
return name2;
}
public void setSex2(String sex2)
{
this.sex2 = sex2;
}
public String getSex2()
{
return sex2;
}
public void setCardId2(String cardId2)
{
this.cardId2 = cardId2;
}
public String getCardId2()
{
return cardId2;
}
public void setName3(String name3)
{
this.name3 = name3;
}
public String getName3()
{
return name3;
}
public void setSex3(String sex3)
{
this.sex3 = sex3;
}
public String getSex3()
{
return sex3;
}
public void setCardId3(String cardId3)
{
this.cardId3 = cardId3;
}
public String getCardId3()
{
return cardId3;
}
public void setName4(String name4)
{
this.name4 = name4;
}
public String getName4()
{
return name4;
}
public void setSex4(String sex4)
{
this.sex4 = sex4;
}
public String getSex4()
{
return sex4;
}
public void setCardId4(String cardId4)
{
this.cardId4 = cardId4;
}
public String getCardId4()
{
return cardId4;
}
public void setQyReason(String qyReason)
{
this.qyReason = qyReason;
}
public String getQyReason()
{
return qyReason;
}
public void setyAddress(String yAddress)
{
this.yAddress = yAddress;
}
public String getyAddress()
{
return yAddress;
}
public void setQwAddress(String qwAddress)
{
this.qwAddress = qwAddress;
}
public String getQwAddress()
{
return qwAddress;
}
public void setsDate(String sDate)
{
this.sDate = sDate;
}
public String getsDate()
{
return sDate;
}
public void seteDate(String eDate)
{
this.eDate = eDate;
}
public String geteDate()
{
return eDate;
}
public void setCbr(String cbr)
{
this.cbr = cbr;
}
public String getCbr()
{
return cbr;
}
public void setPicIds(String picIds)
{
this.picIds = picIds;
}
public String getPicIds()
{
return picIds;
}
public void setPictures(String pictures)
{
this.pictures = pictures;
}
public String getPictures()
{
return pictures;
}
public void setAllPicIds(String allPicIds)
{
this.allPicIds = allPicIds;
}
public String getAllPicIds()
{
return allPicIds;
}
public void setAllPics(String allPics)
{
this.allPics = allPics;
}
public String getAllPics()
{
return allPics;
}
public void setErrorCorrect(String errorCorrect)
{
this.errorCorrect = errorCorrect;
}
public String getErrorCorrect()
{
return errorCorrect;
}
public void setAuditStatus(String auditStatus)
{
this.auditStatus = auditStatus;
}
public String getAuditStatus()
{
return auditStatus;
}
public void setAuditName(String auditName)
{
this.auditName = auditName;
}
public String getAuditName()
{
return auditName;
}
public void setAuditResult(String auditResult)
{
this.auditResult = auditResult;
}
public String getAuditResult()
{
return auditResult;
}
public void setAuditReason(String auditReason)
{
this.auditReason = auditReason;
}
public String getAuditReason()
{
return auditReason;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("ywType", getYwType())
.append("muId", getMuId())
.append("fwUnit", getFwUnit())
.append("wjXh", getWjXh())
.append("name1", getName1())
.append("sex1", getSex1())
.append("cardId1", getCardId1())
.append("name2", getName2())
.append("sex2", getSex2())
.append("cardId2", getCardId2())
.append("name3", getName3())
.append("sex3", getSex3())
.append("cardId3", getCardId3())
.append("name4", getName4())
.append("sex4", getSex4())
.append("cardId4", getCardId4())
.append("qyReason", getQyReason())
.append("yAddress", getyAddress())
.append("qwAddress", getQwAddress())
.append("sDate", getsDate())
.append("eDate", geteDate())
.append("cbr", getCbr())
.append("picIds", getPicIds())
.append("pictures", getPictures())
.append("allPicIds", getAllPicIds())
.append("allPics", getAllPics())
.append("errorCorrect", getErrorCorrect())
.append("auditStatus", getAuditStatus())
.append("auditName", getAuditName())
.append("auditResult", getAuditResult())
.append("auditReason", getAuditReason())
.append("remark", getRemark())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

@ -0,0 +1,507 @@
package com.da.dangan.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.da.common.annotation.Excel;
import com.da.common.core.domain.BaseEntity;
/**
* da_zfnyhkcg
*
* @author hs
* @date 2024-06-14
*/
public class DaZfnyhkcg extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 业务类型(字典) */
@Excel(name = "业务类型(字典)")
private String ywType;
/** 目录id */
@Excel(name = "目录id")
private Long muId;
/** 编号 */
@Excel(name = "编号")
private String num;
/** 申请人姓名 */
@Excel(name = "申请人姓名")
private String name;
/** 住址 */
@Excel(name = "住址")
private String address;
/** 与申请人关系1 */
@Excel(name = "与申请人关系1")
private String relation1;
/** 姓名1 */
@Excel(name = "姓名1")
private String name1;
/** 性别1 */
@Excel(name = "性别1")
private String sex1;
/** 与申请人关系2 */
@Excel(name = "与申请人关系2")
private String relation2;
/** 姓名2 */
@Excel(name = "姓名2")
private String name2;
/** 性别2 */
@Excel(name = "性别2")
private String sex2;
/** 与申请人关系3 */
@Excel(name = "与申请人关系3")
private String relation3;
/** 姓名3 */
@Excel(name = "姓名3")
private String name3;
/** 性别3 */
@Excel(name = "性别3")
private String sex3;
/** 与申请人关系4 */
@Excel(name = "与申请人关系4")
private String relation4;
/** 姓名4 */
@Excel(name = "姓名4")
private String name4;
/** 性别4 */
@Excel(name = "性别4")
private String sex4;
/** 与申请人关系5 */
@Excel(name = "与申请人关系5")
private String relation5;
/** 姓名5 */
@Excel(name = "姓名5")
private String name5;
/** 性别5 */
@Excel(name = "性别5")
private String sex5;
/** 机关 1 */
@Excel(name = "机关 1")
private String jg1;
/** 机关 2 */
@Excel(name = "机关 2")
private String jg2;
/** 承办人 */
@Excel(name = "承办人")
private String cbr;
/** 承办日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "承办日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date cbDate;
/** 识别图片id */
@Excel(name = "识别图片id")
private String picIds;
/** 识别图片 */
@Excel(name = "识别图片")
private String pictures;
/** 相关图片id */
@Excel(name = "相关图片id")
private String allPicIds;
/** 相关图片 */
@Excel(name = "相关图片")
private String allPics;
/** 是否纠错(字典0否1是) */
@Excel(name = "是否纠错(字典0否1是)")
private String errorCorrect;
/** 审核状态(字典) */
@Excel(name = "审核状态(字典)")
private String auditStatus;
/** 审核人 */
@Excel(name = "审核人")
private String auditName;
/** 审核结果 */
@Excel(name = "审核结果")
private String auditResult;
/** 审核原由 */
@Excel(name = "审核原由")
private String auditReason;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setYwType(String ywType)
{
this.ywType = ywType;
}
public String getYwType()
{
return ywType;
}
public void setMuId(Long muId)
{
this.muId = muId;
}
public Long getMuId()
{
return muId;
}
public void setNum(String num)
{
this.num = num;
}
public String getNum()
{
return num;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setAddress(String address)
{
this.address = address;
}
public String getAddress()
{
return address;
}
public void setRelation1(String relation1)
{
this.relation1 = relation1;
}
public String getRelation1()
{
return relation1;
}
public void setName1(String name1)
{
this.name1 = name1;
}
public String getName1()
{
return name1;
}
public void setSex1(String sex1)
{
this.sex1 = sex1;
}
public String getSex1()
{
return sex1;
}
public void setRelation2(String relation2)
{
this.relation2 = relation2;
}
public String getRelation2()
{
return relation2;
}
public void setName2(String name2)
{
this.name2 = name2;
}
public String getName2()
{
return name2;
}
public void setSex2(String sex2)
{
this.sex2 = sex2;
}
public String getSex2()
{
return sex2;
}
public void setRelation3(String relation3)
{
this.relation3 = relation3;
}
public String getRelation3()
{
return relation3;
}
public void setName3(String name3)
{
this.name3 = name3;
}
public String getName3()
{
return name3;
}
public void setSex3(String sex3)
{
this.sex3 = sex3;
}
public String getSex3()
{
return sex3;
}
public void setRelation4(String relation4)
{
this.relation4 = relation4;
}
public String getRelation4()
{
return relation4;
}
public void setName4(String name4)
{
this.name4 = name4;
}
public String getName4()
{
return name4;
}
public void setSex4(String sex4)
{
this.sex4 = sex4;
}
public String getSex4()
{
return sex4;
}
public void setRelation5(String relation5)
{
this.relation5 = relation5;
}
public String getRelation5()
{
return relation5;
}
public void setName5(String name5)
{
this.name5 = name5;
}
public String getName5()
{
return name5;
}
public void setSex5(String sex5)
{
this.sex5 = sex5;
}
public String getSex5()
{
return sex5;
}
public void setJg1(String jg1)
{
this.jg1 = jg1;
}
public String getJg1()
{
return jg1;
}
public void setJg2(String jg2)
{
this.jg2 = jg2;
}
public String getJg2()
{
return jg2;
}
public void setCbr(String cbr)
{
this.cbr = cbr;
}
public String getCbr()
{
return cbr;
}
public void setCbDate(Date cbDate)
{
this.cbDate = cbDate;
}
public Date getCbDate()
{
return cbDate;
}
public void setPicIds(String picIds)
{
this.picIds = picIds;
}
public String getPicIds()
{
return picIds;
}
public void setPictures(String pictures)
{
this.pictures = pictures;
}
public String getPictures()
{
return pictures;
}
public void setAllPicIds(String allPicIds)
{
this.allPicIds = allPicIds;
}
public String getAllPicIds()
{
return allPicIds;
}
public void setAllPics(String allPics)
{
this.allPics = allPics;
}
public String getAllPics()
{
return allPics;
}
public void setErrorCorrect(String errorCorrect)
{
this.errorCorrect = errorCorrect;
}
public String getErrorCorrect()
{
return errorCorrect;
}
public void setAuditStatus(String auditStatus)
{
this.auditStatus = auditStatus;
}
public String getAuditStatus()
{
return auditStatus;
}
public void setAuditName(String auditName)
{
this.auditName = auditName;
}
public String getAuditName()
{
return auditName;
}
public void setAuditResult(String auditResult)
{
this.auditResult = auditResult;
}
public String getAuditResult()
{
return auditResult;
}
public void setAuditReason(String auditReason)
{
this.auditReason = auditReason;
}
public String getAuditReason()
{
return auditReason;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("ywType", getYwType())
.append("muId", getMuId())
.append("num", getNum())
.append("name", getName())
.append("address", getAddress())
.append("relation1", getRelation1())
.append("name1", getName1())
.append("sex1", getSex1())
.append("relation2", getRelation2())
.append("name2", getName2())
.append("sex2", getSex2())
.append("relation3", getRelation3())
.append("name3", getName3())
.append("sex3", getSex3())
.append("relation4", getRelation4())
.append("name4", getName4())
.append("sex4", getSex4())
.append("relation5", getRelation5())
.append("name5", getName5())
.append("sex5", getSex5())
.append("jg1", getJg1())
.append("jg2", getJg2())
.append("cbr", getCbr())
.append("cbDate", getCbDate())
.append("picIds", getPicIds())
.append("pictures", getPictures())
.append("allPicIds", getAllPicIds())
.append("allPics", getAllPics())
.append("errorCorrect", getErrorCorrect())
.append("auditStatus", getAuditStatus())
.append("auditName", getAuditName())
.append("auditResult", getAuditResult())
.append("auditReason", getAuditReason())
.append("remark", getRemark())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}

@ -0,0 +1,62 @@
package com.da.dangan.mapper;
import com.da.dangan.domain.DaQyz;
import java.util.List;
/**
* Mapper
*
* @author hs
* @date 2024-06-14
*/
public interface DaQyzMapper
{
/**
*
*
* @param id
* @return
*/
public DaQyz selectDaQyzById(Long id);
/**
*
*
* @param daQyz
* @return
*/
public List<DaQyz> selectDaQyzList(DaQyz daQyz);
/**
*
*
* @param daQyz
* @return
*/
public int insertDaQyz(DaQyz daQyz);
/**
*
*
* @param daQyz
* @return
*/
public int updateDaQyz(DaQyz daQyz);
/**
*
*
* @param id
* @return
*/
public int deleteDaQyzById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteDaQyzByIds(Long[] ids);
}

@ -0,0 +1,61 @@
package com.da.dangan.mapper;
import java.util.List;
import com.da.dangan.domain.DaZfnyhkcg;
/**
* Mapper
*
* @author hs
* @date 2024-06-14
*/
public interface DaZfnyhkcgMapper
{
/**
*
*
* @param id
* @return
*/
public DaZfnyhkcg selectDaZfnyhkcgById(Long id);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public List<DaZfnyhkcg> selectDaZfnyhkcgList(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public int insertDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public int updateDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param id
* @return
*/
public int deleteDaZfnyhkcgById(Long id);
/**
*
*
* @param ids
* @return
*/
public int deleteDaZfnyhkcgByIds(Long[] ids);
}

@ -0,0 +1,62 @@
package com.da.dangan.service;
import com.da.dangan.domain.DaQyz;
import java.util.List;
/**
* Service
*
* @author hs
* @date 2024-06-14
*/
public interface IDaQyzService
{
/**
*
*
* @param id
* @return
*/
public DaQyz selectDaQyzById(Long id);
/**
*
*
* @param daQyz
* @return
*/
public List<DaQyz> selectDaQyzList(DaQyz daQyz);
/**
*
*
* @param daQyz
* @return
*/
public int insertDaQyz(DaQyz daQyz);
/**
*
*
* @param daQyz
* @return
*/
public int updateDaQyz(DaQyz daQyz);
/**
*
*
* @param ids
* @return
*/
public int deleteDaQyzByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteDaQyzById(Long id);
}

@ -0,0 +1,61 @@
package com.da.dangan.service;
import java.util.List;
import com.da.dangan.domain.DaZfnyhkcg;
/**
* Service
*
* @author hs
* @date 2024-06-14
*/
public interface IDaZfnyhkcgService
{
/**
*
*
* @param id
* @return
*/
public DaZfnyhkcg selectDaZfnyhkcgById(Long id);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public List<DaZfnyhkcg> selectDaZfnyhkcgList(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public int insertDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param daZfnyhkcg
* @return
*/
public int updateDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg);
/**
*
*
* @param ids
* @return
*/
public int deleteDaZfnyhkcgByIds(Long[] ids);
/**
*
*
* @param id
* @return
*/
public int deleteDaZfnyhkcgById(Long id);
}

@ -0,0 +1,97 @@
package com.da.dangan.service.impl;
import com.da.common.utils.DateUtils;
import com.da.dangan.domain.DaQyz;
import com.da.dangan.mapper.DaQyzMapper;
import com.da.dangan.service.IDaQyzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Service
*
* @author hs
* @date 2024-06-14
*/
@Service
public class DaQyzServiceImpl implements IDaQyzService
{
@Autowired
private DaQyzMapper daQyzMapper;
/**
*
*
* @param id
* @return
*/
@Override
public DaQyz selectDaQyzById(Long id)
{
return daQyzMapper.selectDaQyzById(id);
}
/**
*
*
* @param daQyz
* @return
*/
@Override
public List<DaQyz> selectDaQyzList(DaQyz daQyz)
{
return daQyzMapper.selectDaQyzList(daQyz);
}
/**
*
*
* @param daQyz
* @return
*/
@Override
public int insertDaQyz(DaQyz daQyz)
{
daQyz.setCreateTime(DateUtils.getNowDate());
return daQyzMapper.insertDaQyz(daQyz);
}
/**
*
*
* @param daQyz
* @return
*/
@Override
public int updateDaQyz(DaQyz daQyz)
{
daQyz.setUpdateTime(DateUtils.getNowDate());
return daQyzMapper.updateDaQyz(daQyz);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteDaQyzByIds(Long[] ids)
{
return daQyzMapper.deleteDaQyzByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteDaQyzById(Long id)
{
return daQyzMapper.deleteDaQyzById(id);
}
}

@ -0,0 +1,96 @@
package com.da.dangan.service.impl;
import java.util.List;
import com.da.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.da.dangan.mapper.DaZfnyhkcgMapper;
import com.da.dangan.domain.DaZfnyhkcg;
import com.da.dangan.service.IDaZfnyhkcgService;
/**
* Service
*
* @author hs
* @date 2024-06-14
*/
@Service
public class DaZfnyhkcgServiceImpl implements IDaZfnyhkcgService
{
@Autowired
private DaZfnyhkcgMapper daZfnyhkcgMapper;
/**
*
*
* @param id
* @return
*/
@Override
public DaZfnyhkcg selectDaZfnyhkcgById(Long id)
{
return daZfnyhkcgMapper.selectDaZfnyhkcgById(id);
}
/**
*
*
* @param daZfnyhkcg
* @return
*/
@Override
public List<DaZfnyhkcg> selectDaZfnyhkcgList(DaZfnyhkcg daZfnyhkcg)
{
return daZfnyhkcgMapper.selectDaZfnyhkcgList(daZfnyhkcg);
}
/**
*
*
* @param daZfnyhkcg
* @return
*/
@Override
public int insertDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg)
{
daZfnyhkcg.setCreateTime(DateUtils.getNowDate());
return daZfnyhkcgMapper.insertDaZfnyhkcg(daZfnyhkcg);
}
/**
*
*
* @param daZfnyhkcg
* @return
*/
@Override
public int updateDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg)
{
daZfnyhkcg.setUpdateTime(DateUtils.getNowDate());
return daZfnyhkcgMapper.updateDaZfnyhkcg(daZfnyhkcg);
}
/**
*
*
* @param ids
* @return
*/
@Override
public int deleteDaZfnyhkcgByIds(Long[] ids)
{
return daZfnyhkcgMapper.deleteDaZfnyhkcgByIds(ids);
}
/**
*
*
* @param id
* @return
*/
@Override
public int deleteDaZfnyhkcgById(Long id)
{
return daZfnyhkcgMapper.deleteDaZfnyhkcgById(id);
}
}

@ -0,0 +1,73 @@
/*
package com.da.dangan.thread;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import java.util.concurrent.ThreadPoolExecutor;
//跟若依自带的线程池配置类重复了
@Configuration
//@EnableAsync
public class ThreadPoolConfig
{
*/
/**
* 线线线0线
* 线线corePoolSize
* 线线maxPoolSize使
*//*
*/
/**
* Java + 1
*//*
private static final int THREADS = Runtime.getRuntime().availableProcessors() + 1;
@Value("${async.executor.thread.core_pool_size:0}")
public static int corePoolSizeConfig;
// 核心线程池大小
public static int corePoolSize = corePoolSizeConfig ==0 ? THREADS : corePoolSizeConfig;
// 最大可创建的线程数
//@Value("${async.executor.thread.max_pool_size}")
private int maxPoolSize = 2 * THREADS;;
// 队列最大长度
//@Value("${async.executor.thread.queue_capacity}")
private int queueCapacity = 1024;
// 线程池维护线程所允许的空闲时间
//@Value("${async.executor.thread.keep_alive_seconds}")
private int keepAliveSeconds = 300;
//线程池名前缀
//@Value("${async.executor.thread.threadNamePrefix}")
private static final String threadNamePrefix = "Async-Service-";
@Bean(name = "threadPoolTaskExecutor")
public ThreadPoolTaskExecutor threadPoolTaskExecutor()
{
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setMaxPoolSize(maxPoolSize);
executor.setCorePoolSize(corePoolSize);
executor.setQueueCapacity(queueCapacity);
executor.setKeepAliveSeconds(keepAliveSeconds);
executor.setThreadNamePrefix(threadNamePrefix);
// 线程池对拒绝任务(无线程可用)的处理策略
// CallerRunsPolicy由调用线程提交任务的线程处理该任务
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
// 初始化
executor.initialize();
return executor;
}
}
*/

@ -0,0 +1,226 @@
<?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.da.dangan.mapper.DaQyzMapper">
<resultMap type="DaQyz" id="DaQyzResult">
<result property="id" column="id" />
<result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" />
<result property="fwUnit" column="fw_unit" />
<result property="wjXh" column="wj_xh" />
<result property="name1" column="name1" />
<result property="sex1" column="sex1" />
<result property="cardId1" column="card_id1" />
<result property="name2" column="name2" />
<result property="sex2" column="sex2" />
<result property="cardId2" column="card_id2" />
<result property="name3" column="name3" />
<result property="sex3" column="sex3" />
<result property="cardId3" column="card_id3" />
<result property="name4" column="name4" />
<result property="sex4" column="sex4" />
<result property="cardId4" column="card_id4" />
<result property="qyReason" column="qy_reason" />
<result property="yAddress" column="y_address" />
<result property="qwAddress" column="qw_address" />
<result property="sDate" column="s_date" />
<result property="eDate" column="e_date" />
<result property="cbr" column="cbr" />
<result property="picIds" column="pic_ids" />
<result property="pictures" column="pictures" />
<result property="allPicIds" column="all_pic_ids" />
<result property="allPics" column="all_pics" />
<result property="errorCorrect" column="error_correct" />
<result property="auditStatus" column="audit_status" />
<result property="auditName" column="audit_name" />
<result property="auditResult" column="audit_result" />
<result property="auditReason" column="audit_reason" />
<result property="remark" column="remark" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectDaQyzVo">
select id, yw_type, mu_id, fw_unit, wj_xh, name1, sex1, card_id1, name2, sex2, card_id2, name3, sex3, card_id3, name4, sex4, card_id4, qy_reason, y_address, qw_address, s_date, e_date, cbr, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_qyz
</sql>
<select id="selectDaQyzList" parameterType="DaQyz" resultMap="DaQyzResult">
<include refid="selectDaQyzVo"/>
<where>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and mu_id = #{muId}</if>
<if test="fwUnit != null and fwUnit != ''"> and fw_unit = #{fwUnit}</if>
<if test="wjXh != null and wjXh != ''"> and wj_xh = #{wjXh}</if>
<if test="name1 != null and name1 != ''"> and name1 = #{name1}</if>
<if test="sex1 != null and sex1 != ''"> and sex1 = #{sex1}</if>
<if test="cardId1 != null and cardId1 != ''"> and card_id1 = #{cardId1}</if>
<if test="name2 != null and name2 != ''"> and name2 = #{name2}</if>
<if test="sex2 != null and sex2 != ''"> and sex2 = #{sex2}</if>
<if test="cardId2 != null and cardId2 != ''"> and card_id2 = #{cardId2}</if>
<if test="name3 != null and name3 != ''"> and name3 = #{name3}</if>
<if test="sex3 != null and sex3 != ''"> and sex3 = #{sex3}</if>
<if test="cardId3 != null and cardId3 != ''"> and card_id3 = #{cardId3}</if>
<if test="name4 != null and name4 != ''"> and name4 = #{name4}</if>
<if test="sex4 != null and sex4 != ''"> and sex4 = #{sex4}</if>
<if test="cardId4 != null and cardId4 != ''"> and card_id4 = #{cardId4}</if>
<if test="qyReason != null and qyReason != ''"> and qy_reason = #{qyReason}</if>
<if test="yAddress != null and yAddress != ''"> and y_address = #{yAddress}</if>
<if test="qwAddress != null and qwAddress != ''"> and qw_address = #{qwAddress}</if>
<if test="sDate != null and sDate != ''"> and s_date = #{sDate}</if>
<if test="eDate != null and eDate != ''"> and e_date = #{eDate}</if>
<if test="cbr != null and cbr != ''"> and cbr = #{cbr}</if>
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
<if test="pictures != null and pictures != ''"> and pictures = #{pictures}</if>
<if test="allPicIds != null and allPicIds != ''"> and all_pic_ids = #{allPicIds}</if>
<if test="allPics != null and allPics != ''"> and all_pics = #{allPics}</if>
<if test="errorCorrect != null and errorCorrect != ''"> and error_correct = #{errorCorrect}</if>
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
</where>
</select>
<select id="selectDaQyzById" parameterType="Long" resultMap="DaQyzResult">
<include refid="selectDaQyzVo"/>
where id = #{id}
</select>
<insert id="insertDaQyz" parameterType="DaQyz" useGeneratedKeys="true" keyProperty="id">
insert into da_qyz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if>
<if test="fwUnit != null">fw_unit,</if>
<if test="wjXh != null">wj_xh,</if>
<if test="name1 != null">name1,</if>
<if test="sex1 != null">sex1,</if>
<if test="cardId1 != null">card_id1,</if>
<if test="name2 != null">name2,</if>
<if test="sex2 != null">sex2,</if>
<if test="cardId2 != null">card_id2,</if>
<if test="name3 != null">name3,</if>
<if test="sex3 != null">sex3,</if>
<if test="cardId3 != null">card_id3,</if>
<if test="name4 != null">name4,</if>
<if test="sex4 != null">sex4,</if>
<if test="cardId4 != null">card_id4,</if>
<if test="qyReason != null">qy_reason,</if>
<if test="yAddress != null">y_address,</if>
<if test="qwAddress != null">qw_address,</if>
<if test="sDate != null">s_date,</if>
<if test="eDate != null">e_date,</if>
<if test="cbr != null">cbr,</if>
<if test="picIds != null">pic_ids,</if>
<if test="pictures != null">pictures,</if>
<if test="allPicIds != null">all_pic_ids,</if>
<if test="allPics != null">all_pics,</if>
<if test="errorCorrect != null">error_correct,</if>
<if test="auditStatus != null">audit_status,</if>
<if test="auditName != null">audit_name,</if>
<if test="auditResult != null">audit_result,</if>
<if test="auditReason != null">audit_reason,</if>
<if test="remark != null">remark,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if>
<if test="fwUnit != null">#{fwUnit},</if>
<if test="wjXh != null">#{wjXh},</if>
<if test="name1 != null">#{name1},</if>
<if test="sex1 != null">#{sex1},</if>
<if test="cardId1 != null">#{cardId1},</if>
<if test="name2 != null">#{name2},</if>
<if test="sex2 != null">#{sex2},</if>
<if test="cardId2 != null">#{cardId2},</if>
<if test="name3 != null">#{name3},</if>
<if test="sex3 != null">#{sex3},</if>
<if test="cardId3 != null">#{cardId3},</if>
<if test="name4 != null">#{name4},</if>
<if test="sex4 != null">#{sex4},</if>
<if test="cardId4 != null">#{cardId4},</if>
<if test="qyReason != null">#{qyReason},</if>
<if test="yAddress != null">#{yAddress},</if>
<if test="qwAddress != null">#{qwAddress},</if>
<if test="sDate != null">#{sDate},</if>
<if test="eDate != null">#{eDate},</if>
<if test="cbr != null">#{cbr},</if>
<if test="picIds != null">#{picIds},</if>
<if test="pictures != null">#{pictures},</if>
<if test="allPicIds != null">#{allPicIds},</if>
<if test="allPics != null">#{allPics},</if>
<if test="errorCorrect != null">#{errorCorrect},</if>
<if test="auditStatus != null">#{auditStatus},</if>
<if test="auditName != null">#{auditName},</if>
<if test="auditResult != null">#{auditResult},</if>
<if test="auditReason != null">#{auditReason},</if>
<if test="remark != null">#{remark},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateDaQyz" parameterType="DaQyz">
update da_qyz
<trim prefix="SET" suffixOverrides=",">
<if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if>
<if test="fwUnit != null">fw_unit = #{fwUnit},</if>
<if test="wjXh != null">wj_xh = #{wjXh},</if>
<if test="name1 != null">name1 = #{name1},</if>
<if test="sex1 != null">sex1 = #{sex1},</if>
<if test="cardId1 != null">card_id1 = #{cardId1},</if>
<if test="name2 != null">name2 = #{name2},</if>
<if test="sex2 != null">sex2 = #{sex2},</if>
<if test="cardId2 != null">card_id2 = #{cardId2},</if>
<if test="name3 != null">name3 = #{name3},</if>
<if test="sex3 != null">sex3 = #{sex3},</if>
<if test="cardId3 != null">card_id3 = #{cardId3},</if>
<if test="name4 != null">name4 = #{name4},</if>
<if test="sex4 != null">sex4 = #{sex4},</if>
<if test="cardId4 != null">card_id4 = #{cardId4},</if>
<if test="qyReason != null">qy_reason = #{qyReason},</if>
<if test="yAddress != null">y_address = #{yAddress},</if>
<if test="qwAddress != null">qw_address = #{qwAddress},</if>
<if test="sDate != null">s_date = #{sDate},</if>
<if test="eDate != null">e_date = #{eDate},</if>
<if test="cbr != null">cbr = #{cbr},</if>
<if test="picIds != null">pic_ids = #{picIds},</if>
<if test="pictures != null">pictures = #{pictures},</if>
<if test="allPicIds != null">all_pic_ids = #{allPicIds},</if>
<if test="allPics != null">all_pics = #{allPics},</if>
<if test="errorCorrect != null">error_correct = #{errorCorrect},</if>
<if test="auditStatus != null">audit_status = #{auditStatus},</if>
<if test="auditName != null">audit_name = #{auditName},</if>
<if test="auditResult != null">audit_result = #{auditResult},</if>
<if test="auditReason != null">audit_reason = #{auditReason},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteDaQyzById" parameterType="Long">
delete from da_qyz where id = #{id}
</delete>
<delete id="deleteDaQyzByIds" parameterType="String">
delete from da_qyz where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

@ -0,0 +1,236 @@
<?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.da.dangan.mapper.DaZfnyhkcgMapper">
<resultMap type="DaZfnyhkcg" id="DaZfnyhkcgResult">
<result property="id" column="id" />
<result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" />
<result property="num" column="num" />
<result property="name" column="name" />
<result property="address" column="address" />
<result property="relation1" column="relation1" />
<result property="name1" column="name1" />
<result property="sex1" column="sex1" />
<result property="relation2" column="relation2" />
<result property="name2" column="name2" />
<result property="sex2" column="sex2" />
<result property="relation3" column="relation3" />
<result property="name3" column="name3" />
<result property="sex3" column="sex3" />
<result property="relation4" column="relation4" />
<result property="name4" column="name4" />
<result property="sex4" column="sex4" />
<result property="relation5" column="relation5" />
<result property="name5" column="name5" />
<result property="sex5" column="sex5" />
<result property="jg1" column="jg1" />
<result property="jg2" column="jg2" />
<result property="cbr" column="cbr" />
<result property="cbDate" column="cb_date" />
<result property="picIds" column="pic_ids" />
<result property="pictures" column="pictures" />
<result property="allPicIds" column="all_pic_ids" />
<result property="allPics" column="all_pics" />
<result property="errorCorrect" column="error_correct" />
<result property="auditStatus" column="audit_status" />
<result property="auditName" column="audit_name" />
<result property="auditResult" column="audit_result" />
<result property="auditReason" column="audit_reason" />
<result property="remark" column="remark" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
</resultMap>
<sql id="selectDaZfnyhkcgVo">
select id, yw_type, mu_id, num, name, address, relation1, name1, sex1, relation2, name2, sex2, relation3, name3, sex3, relation4, name4, sex4, relation5, name5, sex5, jg1, jg2, cbr, cb_date, pic_ids, pictures, all_pic_ids, all_pics, error_correct, audit_status, audit_name, audit_result, audit_reason, remark, create_by, create_time, update_by, update_time from da_zfnyhkcg
</sql>
<select id="selectDaZfnyhkcgList" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult">
<include refid="selectDaZfnyhkcgVo"/>
<where>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and mu_id = #{muId}</if>
<if test="num != null and num != ''"> and num = #{num}</if>
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
<if test="address != null and address != ''"> and address = #{address}</if>
<if test="relation1 != null and relation1 != ''"> and relation1 = #{relation1}</if>
<if test="name1 != null and name1 != ''"> and name1 = #{name1}</if>
<if test="sex1 != null and sex1 != ''"> and sex1 = #{sex1}</if>
<if test="relation2 != null and relation2 != ''"> and relation2 = #{relation2}</if>
<if test="name2 != null and name2 != ''"> and name2 = #{name2}</if>
<if test="sex2 != null and sex2 != ''"> and sex2 = #{sex2}</if>
<if test="relation3 != null and relation3 != ''"> and relation3 = #{relation3}</if>
<if test="name3 != null and name3 != ''"> and name3 = #{name3}</if>
<if test="sex3 != null and sex3 != ''"> and sex3 = #{sex3}</if>
<if test="relation4 != null and relation4 != ''"> and relation4 = #{relation4}</if>
<if test="name4 != null and name4 != ''"> and name4 = #{name4}</if>
<if test="sex4 != null and sex4 != ''"> and sex4 = #{sex4}</if>
<if test="relation5 != null and relation5 != ''"> and relation5 = #{relation5}</if>
<if test="name5 != null and name5 != ''"> and name5 = #{name5}</if>
<if test="sex5 != null and sex5 != ''"> and sex5 = #{sex5}</if>
<if test="jg1 != null and jg1 != ''"> and jg1 = #{jg1}</if>
<if test="jg2 != null and jg2 != ''"> and jg2 = #{jg2}</if>
<if test="cbr != null and cbr != ''"> and cbr = #{cbr}</if>
<if test="cbDate != null "> and cb_date = #{cbDate}</if>
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
<if test="pictures != null and pictures != ''"> and pictures = #{pictures}</if>
<if test="allPicIds != null and allPicIds != ''"> and all_pic_ids = #{allPicIds}</if>
<if test="allPics != null and allPics != ''"> and all_pics = #{allPics}</if>
<if test="errorCorrect != null and errorCorrect != ''"> and error_correct = #{errorCorrect}</if>
<if test="auditStatus != null and auditStatus != ''"> and audit_status = #{auditStatus}</if>
<if test="auditName != null and auditName != ''"> and audit_name like concat('%', #{auditName}, '%')</if>
<if test="auditResult != null and auditResult != ''"> and audit_result = #{auditResult}</if>
<if test="auditReason != null and auditReason != ''"> and audit_reason = #{auditReason}</if>
</where>
</select>
<select id="selectDaZfnyhkcgById" parameterType="Long" resultMap="DaZfnyhkcgResult">
<include refid="selectDaZfnyhkcgVo"/>
where id = #{id}
</select>
<insert id="insertDaZfnyhkcg" parameterType="DaZfnyhkcg" useGeneratedKeys="true" keyProperty="id">
insert into da_zfnyhkcg
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if>
<if test="num != null">num,</if>
<if test="name != null">name,</if>
<if test="address != null">address,</if>
<if test="relation1 != null">relation1,</if>
<if test="name1 != null">name1,</if>
<if test="sex1 != null">sex1,</if>
<if test="relation2 != null">relation2,</if>
<if test="name2 != null">name2,</if>
<if test="sex2 != null">sex2,</if>
<if test="relation3 != null">relation3,</if>
<if test="name3 != null">name3,</if>
<if test="sex3 != null">sex3,</if>
<if test="relation4 != null">relation4,</if>
<if test="name4 != null">name4,</if>
<if test="sex4 != null">sex4,</if>
<if test="relation5 != null">relation5,</if>
<if test="name5 != null">name5,</if>
<if test="sex5 != null">sex5,</if>
<if test="jg1 != null">jg1,</if>
<if test="jg2 != null">jg2,</if>
<if test="cbr != null">cbr,</if>
<if test="cbDate != null">cb_date,</if>
<if test="picIds != null">pic_ids,</if>
<if test="pictures != null">pictures,</if>
<if test="allPicIds != null">all_pic_ids,</if>
<if test="allPics != null">all_pics,</if>
<if test="errorCorrect != null">error_correct,</if>
<if test="auditStatus != null">audit_status,</if>
<if test="auditName != null">audit_name,</if>
<if test="auditResult != null">audit_result,</if>
<if test="auditReason != null">audit_reason,</if>
<if test="remark != null">remark,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if>
<if test="num != null">#{num},</if>
<if test="name != null">#{name},</if>
<if test="address != null">#{address},</if>
<if test="relation1 != null">#{relation1},</if>
<if test="name1 != null">#{name1},</if>
<if test="sex1 != null">#{sex1},</if>
<if test="relation2 != null">#{relation2},</if>
<if test="name2 != null">#{name2},</if>
<if test="sex2 != null">#{sex2},</if>
<if test="relation3 != null">#{relation3},</if>
<if test="name3 != null">#{name3},</if>
<if test="sex3 != null">#{sex3},</if>
<if test="relation4 != null">#{relation4},</if>
<if test="name4 != null">#{name4},</if>
<if test="sex4 != null">#{sex4},</if>
<if test="relation5 != null">#{relation5},</if>
<if test="name5 != null">#{name5},</if>
<if test="sex5 != null">#{sex5},</if>
<if test="jg1 != null">#{jg1},</if>
<if test="jg2 != null">#{jg2},</if>
<if test="cbr != null">#{cbr},</if>
<if test="cbDate != null">#{cbDate},</if>
<if test="picIds != null">#{picIds},</if>
<if test="pictures != null">#{pictures},</if>
<if test="allPicIds != null">#{allPicIds},</if>
<if test="allPics != null">#{allPics},</if>
<if test="errorCorrect != null">#{errorCorrect},</if>
<if test="auditStatus != null">#{auditStatus},</if>
<if test="auditName != null">#{auditName},</if>
<if test="auditResult != null">#{auditResult},</if>
<if test="auditReason != null">#{auditReason},</if>
<if test="remark != null">#{remark},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateDaZfnyhkcg" parameterType="DaZfnyhkcg">
update da_zfnyhkcg
<trim prefix="SET" suffixOverrides=",">
<if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if>
<if test="num != null">num = #{num},</if>
<if test="name != null">name = #{name},</if>
<if test="address != null">address = #{address},</if>
<if test="relation1 != null">relation1 = #{relation1},</if>
<if test="name1 != null">name1 = #{name1},</if>
<if test="sex1 != null">sex1 = #{sex1},</if>
<if test="relation2 != null">relation2 = #{relation2},</if>
<if test="name2 != null">name2 = #{name2},</if>
<if test="sex2 != null">sex2 = #{sex2},</if>
<if test="relation3 != null">relation3 = #{relation3},</if>
<if test="name3 != null">name3 = #{name3},</if>
<if test="sex3 != null">sex3 = #{sex3},</if>
<if test="relation4 != null">relation4 = #{relation4},</if>
<if test="name4 != null">name4 = #{name4},</if>
<if test="sex4 != null">sex4 = #{sex4},</if>
<if test="relation5 != null">relation5 = #{relation5},</if>
<if test="name5 != null">name5 = #{name5},</if>
<if test="sex5 != null">sex5 = #{sex5},</if>
<if test="jg1 != null">jg1 = #{jg1},</if>
<if test="jg2 != null">jg2 = #{jg2},</if>
<if test="cbr != null">cbr = #{cbr},</if>
<if test="cbDate != null">cb_date = #{cbDate},</if>
<if test="picIds != null">pic_ids = #{picIds},</if>
<if test="pictures != null">pictures = #{pictures},</if>
<if test="allPicIds != null">all_pic_ids = #{allPicIds},</if>
<if test="allPics != null">all_pics = #{allPics},</if>
<if test="errorCorrect != null">error_correct = #{errorCorrect},</if>
<if test="auditStatus != null">audit_status = #{auditStatus},</if>
<if test="auditName != null">audit_name = #{auditName},</if>
<if test="auditResult != null">audit_result = #{auditResult},</if>
<if test="auditReason != null">audit_reason = #{auditReason},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteDaZfnyhkcgById" parameterType="Long">
delete from da_zfnyhkcg where id = #{id}
</delete>
<delete id="deleteDaZfnyhkcgByIds" parameterType="String">
delete from da_zfnyhkcg where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询迁移证列表
export function listQyz(query) {
return request({
url: '/dangan/qyz/list',
method: 'get',
params: query
})
}
// 查询迁移证详细
export function getQyz(id) {
return request({
url: '/dangan/qyz/' + id,
method: 'get'
})
}
// 新增迁移证
export function addQyz(data) {
return request({
url: '/dangan/qyz',
method: 'post',
data: data
})
}
// 修改迁移证
export function updateQyz(data) {
return request({
url: '/dangan/qyz',
method: 'put',
data: data
})
}
// 删除迁移证
export function delQyz(id) {
return request({
url: '/dangan/qyz/' + id,
method: 'delete'
})
}

@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询转非农业人口批复存根列表
export function listZfnyhkcg(query) {
return request({
url: '/dangan/zfnyhkcg/list',
method: 'get',
params: query
})
}
// 查询转非农业人口批复存根详细
export function getZfnyhkcg(id) {
return request({
url: '/dangan/zfnyhkcg/' + id,
method: 'get'
})
}
// 新增转非农业人口批复存根
export function addZfnyhkcg(data) {
return request({
url: '/dangan/zfnyhkcg',
method: 'post',
data: data
})
}
// 修改转非农业人口批复存根
export function updateZfnyhkcg(data) {
return request({
url: '/dangan/zfnyhkcg',
method: 'put',
data: data
})
}
// 删除转非农业人口批复存根
export function delZfnyhkcg(id) {
return request({
url: '/dangan/zfnyhkcg/' + id,
method: 'delete'
})
}

@ -0,0 +1,639 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="目录id" prop="muId">
<el-input
v-model="queryParams.muId"
placeholder="请输入目录id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="发文单位" prop="fwUnit">
<el-input
v-model="queryParams.fwUnit"
placeholder="请输入发文单位"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="文件序号" prop="wjXh">
<el-input
v-model="queryParams.wjXh"
placeholder="请输入文件序号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名1" prop="name1">
<el-input
v-model="queryParams.name1"
placeholder="请输入姓名1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别1" prop="sex1">
<el-input
v-model="queryParams.sex1"
placeholder="请输入性别1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="居民身份证编号1" prop="cardId1">
<el-input
v-model="queryParams.cardId1"
placeholder="请输入居民身份证编号1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名2" prop="name2">
<el-input
v-model="queryParams.name2"
placeholder="请输入姓名2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别2" prop="sex2">
<el-input
v-model="queryParams.sex2"
placeholder="请输入性别2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="居民身份证编号2" prop="cardId2">
<el-input
v-model="queryParams.cardId2"
placeholder="请输入居民身份证编号2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名3" prop="name3">
<el-input
v-model="queryParams.name3"
placeholder="请输入姓名3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别3" prop="sex3">
<el-input
v-model="queryParams.sex3"
placeholder="请输入性别3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="居民身份证编号3" prop="cardId3">
<el-input
v-model="queryParams.cardId3"
placeholder="请输入居民身份证编号3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名4" prop="name4">
<el-input
v-model="queryParams.name4"
placeholder="请输入姓名4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别4" prop="sex4">
<el-input
v-model="queryParams.sex4"
placeholder="请输入性别4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="居民身份证编号4" prop="cardId4">
<el-input
v-model="queryParams.cardId4"
placeholder="请输入居民身份证编号4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="迁移原因" prop="qyReason">
<el-input
v-model="queryParams.qyReason"
placeholder="请输入迁移原因"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="原住址" prop="yAddress">
<el-input
v-model="queryParams.yAddress"
placeholder="请输入原住址"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="迁往地址" prop="qwAddress">
<el-input
v-model="queryParams.qwAddress"
placeholder="请输入迁往地址"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="签发有效时间起" prop="sDate">
<el-input
v-model="queryParams.sDate"
placeholder="请输入签发有效时间起"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="签发有效时间止" prop="eDate">
<el-input
v-model="queryParams.eDate"
placeholder="请输入签发有效时间止"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="承办人" prop="cbr">
<el-input
v-model="queryParams.cbr"
placeholder="请输入承办人"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="识别图片id" prop="picIds">
<el-input
v-model="queryParams.picIds"
placeholder="请输入识别图片id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="相关图片id" prop="allPicIds">
<el-input
v-model="queryParams.allPicIds"
placeholder="请输入相关图片id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
<el-input
v-model="queryParams.errorCorrect"
placeholder="请输入是否纠错(字典0否1是)"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核人" prop="auditName">
<el-input
v-model="queryParams.auditName"
placeholder="请输入审核人"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核结果" prop="auditResult">
<el-input
v-model="queryParams.auditResult"
placeholder="请输入审核结果"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核原由" prop="auditReason">
<el-input
v-model="queryParams.auditReason"
placeholder="请输入审核原由"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['dangan:qyz:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['dangan:qyz:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['dangan:qyz:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:qyz:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="qyzList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="id" align="center" prop="id" />
<el-table-column label="业务类型(字典)" align="center" prop="ywType" />
<el-table-column label="目录id" align="center" prop="muId" />
<el-table-column label="发文单位" align="center" prop="fwUnit" />
<el-table-column label="文件序号" align="center" prop="wjXh" />
<el-table-column label="姓名1" align="center" prop="name1" />
<el-table-column label="性别1" align="center" prop="sex1" />
<el-table-column label="居民身份证编号1" align="center" prop="cardId1" />
<el-table-column label="姓名2" align="center" prop="name2" />
<el-table-column label="性别2" align="center" prop="sex2" />
<el-table-column label="居民身份证编号2" align="center" prop="cardId2" />
<el-table-column label="姓名3" align="center" prop="name3" />
<el-table-column label="性别3" align="center" prop="sex3" />
<el-table-column label="居民身份证编号3" align="center" prop="cardId3" />
<el-table-column label="姓名4" align="center" prop="name4" />
<el-table-column label="性别4" align="center" prop="sex4" />
<el-table-column label="居民身份证编号4" align="center" prop="cardId4" />
<el-table-column label="迁移原因" align="center" prop="qyReason" />
<el-table-column label="原住址" align="center" prop="yAddress" />
<el-table-column label="迁往地址" align="center" prop="qwAddress" />
<el-table-column label="签发有效时间起" align="center" prop="sDate" />
<el-table-column label="签发有效时间止" align="center" prop="eDate" />
<el-table-column label="承办人" align="center" prop="cbr" />
<el-table-column label="识别图片id" align="center" prop="picIds" />
<el-table-column label="识别图片" align="center" prop="pictures" />
<el-table-column label="相关图片id" align="center" prop="allPicIds" />
<el-table-column label="相关图片" align="center" prop="allPics" />
<el-table-column label="是否纠错(字典0否1是)" align="center" prop="errorCorrect" />
<el-table-column label="审核状态(字典)" align="center" prop="auditStatus" />
<el-table-column label="审核人" align="center" prop="auditName" />
<el-table-column label="审核结果" align="center" prop="auditResult" />
<el-table-column label="审核原由" align="center" prop="auditReason" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['dangan:qyz:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['dangan:qyz:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改迁移证对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="目录id" prop="muId">
<el-input v-model="form.muId" placeholder="请输入目录id" />
</el-form-item>
<el-form-item label="发文单位" prop="fwUnit">
<el-input v-model="form.fwUnit" placeholder="请输入发文单位" />
</el-form-item>
<el-form-item label="文件序号" prop="wjXh">
<el-input v-model="form.wjXh" placeholder="请输入文件序号" />
</el-form-item>
<el-form-item label="姓名1" prop="name1">
<el-input v-model="form.name1" placeholder="请输入姓名1" />
</el-form-item>
<el-form-item label="性别1" prop="sex1">
<el-input v-model="form.sex1" placeholder="请输入性别1" />
</el-form-item>
<el-form-item label="居民身份证编号1" prop="cardId1">
<el-input v-model="form.cardId1" placeholder="请输入居民身份证编号1" />
</el-form-item>
<el-form-item label="姓名2" prop="name2">
<el-input v-model="form.name2" placeholder="请输入姓名2" />
</el-form-item>
<el-form-item label="性别2" prop="sex2">
<el-input v-model="form.sex2" placeholder="请输入性别2" />
</el-form-item>
<el-form-item label="居民身份证编号2" prop="cardId2">
<el-input v-model="form.cardId2" placeholder="请输入居民身份证编号2" />
</el-form-item>
<el-form-item label="姓名3" prop="name3">
<el-input v-model="form.name3" placeholder="请输入姓名3" />
</el-form-item>
<el-form-item label="性别3" prop="sex3">
<el-input v-model="form.sex3" placeholder="请输入性别3" />
</el-form-item>
<el-form-item label="居民身份证编号3" prop="cardId3">
<el-input v-model="form.cardId3" placeholder="请输入居民身份证编号3" />
</el-form-item>
<el-form-item label="姓名4" prop="name4">
<el-input v-model="form.name4" placeholder="请输入姓名4" />
</el-form-item>
<el-form-item label="性别4" prop="sex4">
<el-input v-model="form.sex4" placeholder="请输入性别4" />
</el-form-item>
<el-form-item label="居民身份证编号4" prop="cardId4">
<el-input v-model="form.cardId4" placeholder="请输入居民身份证编号4" />
</el-form-item>
<el-form-item label="迁移原因" prop="qyReason">
<el-input v-model="form.qyReason" placeholder="请输入迁移原因" />
</el-form-item>
<el-form-item label="原住址" prop="yAddress">
<el-input v-model="form.yAddress" placeholder="请输入原住址" />
</el-form-item>
<el-form-item label="迁往地址" prop="qwAddress">
<el-input v-model="form.qwAddress" placeholder="请输入迁往地址" />
</el-form-item>
<el-form-item label="签发有效时间起" prop="sDate">
<el-input v-model="form.sDate" placeholder="请输入签发有效时间起" />
</el-form-item>
<el-form-item label="签发有效时间止" prop="eDate">
<el-input v-model="form.eDate" placeholder="请输入签发有效时间止" />
</el-form-item>
<el-form-item label="承办人" prop="cbr">
<el-input v-model="form.cbr" placeholder="请输入承办人" />
</el-form-item>
<el-form-item label="识别图片id" prop="picIds">
<el-input v-model="form.picIds" placeholder="请输入识别图片id" />
</el-form-item>
<el-form-item label="识别图片" prop="pictures">
<el-input v-model="form.pictures" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="相关图片id" prop="allPicIds">
<el-input v-model="form.allPicIds" placeholder="请输入相关图片id" />
</el-form-item>
<el-form-item label="相关图片" prop="allPics">
<el-input v-model="form.allPics" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
<el-input v-model="form.errorCorrect" placeholder="请输入是否纠错(字典0否1是)" />
</el-form-item>
<el-form-item label="审核人" prop="auditName">
<el-input v-model="form.auditName" placeholder="请输入审核人" />
</el-form-item>
<el-form-item label="审核结果" prop="auditResult">
<el-input v-model="form.auditResult" placeholder="请输入审核结果" />
</el-form-item>
<el-form-item label="审核原由" prop="auditReason">
<el-input v-model="form.auditReason" placeholder="请输入审核原由" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listQyz, getQyz, delQyz, addQyz, updateQyz } from "@/api/dangan/qyz";
export default {
name: "Qyz",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
qyzList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ywType: null,
muId: null,
fwUnit: null,
wjXh: null,
name1: null,
sex1: null,
cardId1: null,
name2: null,
sex2: null,
cardId2: null,
name3: null,
sex3: null,
cardId3: null,
name4: null,
sex4: null,
cardId4: null,
qyReason: null,
yAddress: null,
qwAddress: null,
sDate: null,
eDate: null,
cbr: null,
picIds: null,
pictures: null,
allPicIds: null,
allPics: null,
errorCorrect: null,
auditStatus: null,
auditName: null,
auditResult: null,
auditReason: null,
},
//
form: {},
//
rules: {
muId: [
{ required: true, message: "目录id不能为空", trigger: "blur" }
],
}
};
},
created() {
this.getList();
},
methods: {
/** 查询迁移证列表 */
getList() {
this.loading = true;
listQyz(this.queryParams).then(response => {
this.qyzList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
ywType: null,
muId: null,
fwUnit: null,
wjXh: null,
name1: null,
sex1: null,
cardId1: null,
name2: null,
sex2: null,
cardId2: null,
name3: null,
sex3: null,
cardId3: null,
name4: null,
sex4: null,
cardId4: null,
qyReason: null,
yAddress: null,
qwAddress: null,
sDate: null,
eDate: null,
cbr: null,
picIds: null,
pictures: null,
allPicIds: null,
allPics: null,
errorCorrect: null,
auditStatus: null,
auditName: null,
auditResult: null,
auditReason: null,
remark: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加迁移证";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getQyz(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改迁移证";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateQyz(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addQyz(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除迁移证编号为"' + ids + '"的数据项?').then(function() {
return delQyz(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('dangan/qyz/export', {
...this.queryParams
}, `qyz_${new Date().getTime()}.xlsx`)
}
}
};
</script>

@ -0,0 +1,676 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="目录id" prop="muId">
<el-input
v-model="queryParams.muId"
placeholder="请输入目录id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="编号" prop="num">
<el-input
v-model="queryParams.num"
placeholder="请输入编号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="申请人姓名" prop="name">
<el-input
v-model="queryParams.name"
placeholder="请输入申请人姓名"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="住址" prop="address">
<el-input
v-model="queryParams.address"
placeholder="请输入住址"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="与申请人关系1" prop="relation1">
<el-input
v-model="queryParams.relation1"
placeholder="请输入与申请人关系1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名1" prop="name1">
<el-input
v-model="queryParams.name1"
placeholder="请输入姓名1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别1" prop="sex1">
<el-input
v-model="queryParams.sex1"
placeholder="请输入性别1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="与申请人关系2" prop="relation2">
<el-input
v-model="queryParams.relation2"
placeholder="请输入与申请人关系2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名2" prop="name2">
<el-input
v-model="queryParams.name2"
placeholder="请输入姓名2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别2" prop="sex2">
<el-input
v-model="queryParams.sex2"
placeholder="请输入性别2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="与申请人关系3" prop="relation3">
<el-input
v-model="queryParams.relation3"
placeholder="请输入与申请人关系3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名3" prop="name3">
<el-input
v-model="queryParams.name3"
placeholder="请输入姓名3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别3" prop="sex3">
<el-input
v-model="queryParams.sex3"
placeholder="请输入性别3"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="与申请人关系4" prop="relation4">
<el-input
v-model="queryParams.relation4"
placeholder="请输入与申请人关系4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名4" prop="name4">
<el-input
v-model="queryParams.name4"
placeholder="请输入姓名4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别4" prop="sex4">
<el-input
v-model="queryParams.sex4"
placeholder="请输入性别4"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="与申请人关系5" prop="relation5">
<el-input
v-model="queryParams.relation5"
placeholder="请输入与申请人关系5"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="姓名5" prop="name5">
<el-input
v-model="queryParams.name5"
placeholder="请输入姓名5"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="性别5" prop="sex5">
<el-input
v-model="queryParams.sex5"
placeholder="请输入性别5"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="机关 1" prop="jg1">
<el-input
v-model="queryParams.jg1"
placeholder="请输入机关 1"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="机关 2" prop="jg2">
<el-input
v-model="queryParams.jg2"
placeholder="请输入机关 2"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="承办人" prop="cbr">
<el-input
v-model="queryParams.cbr"
placeholder="请输入承办人"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="承办日期" prop="cbDate">
<el-date-picker clearable
v-model="queryParams.cbDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择承办日期">
</el-date-picker>
</el-form-item>
<el-form-item label="识别图片id" prop="picIds">
<el-input
v-model="queryParams.picIds"
placeholder="请输入识别图片id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="相关图片id" prop="allPicIds">
<el-input
v-model="queryParams.allPicIds"
placeholder="请输入相关图片id"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
<el-input
v-model="queryParams.errorCorrect"
placeholder="请输入是否纠错(字典0否1是)"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核人" prop="auditName">
<el-input
v-model="queryParams.auditName"
placeholder="请输入审核人"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核结果" prop="auditResult">
<el-input
v-model="queryParams.auditResult"
placeholder="请输入审核结果"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="审核原由" prop="auditReason">
<el-input
v-model="queryParams.auditReason"
placeholder="请输入审核原由"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery"></el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
</el-form-item>
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="primary"
plain
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['dangan:zfnyhkcg:add']"
>新增</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="success"
plain
icon="el-icon-edit"
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['dangan:zfnyhkcg:edit']"
>修改</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="danger"
plain
icon="el-icon-delete"
size="mini"
:disabled="multiple"
@click="handleDelete"
v-hasPermi="['dangan:zfnyhkcg:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['dangan:zfnyhkcg:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="zfnyhkcgList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="id" align="center" prop="id" />
<el-table-column label="业务类型(字典)" align="center" prop="ywType" />
<el-table-column label="目录id" align="center" prop="muId" />
<el-table-column label="编号" align="center" prop="num" />
<el-table-column label="申请人姓名" align="center" prop="name" />
<el-table-column label="住址" align="center" prop="address" />
<el-table-column label="与申请人关系1" align="center" prop="relation1" />
<el-table-column label="姓名1" align="center" prop="name1" />
<el-table-column label="性别1" align="center" prop="sex1" />
<el-table-column label="与申请人关系2" align="center" prop="relation2" />
<el-table-column label="姓名2" align="center" prop="name2" />
<el-table-column label="性别2" align="center" prop="sex2" />
<el-table-column label="与申请人关系3" align="center" prop="relation3" />
<el-table-column label="姓名3" align="center" prop="name3" />
<el-table-column label="性别3" align="center" prop="sex3" />
<el-table-column label="与申请人关系4" align="center" prop="relation4" />
<el-table-column label="姓名4" align="center" prop="name4" />
<el-table-column label="性别4" align="center" prop="sex4" />
<el-table-column label="与申请人关系5" align="center" prop="relation5" />
<el-table-column label="姓名5" align="center" prop="name5" />
<el-table-column label="性别5" align="center" prop="sex5" />
<el-table-column label="机关 1" align="center" prop="jg1" />
<el-table-column label="机关 2" align="center" prop="jg2" />
<el-table-column label="承办人" align="center" prop="cbr" />
<el-table-column label="承办日期" align="center" prop="cbDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.cbDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="识别图片id" align="center" prop="picIds" />
<el-table-column label="识别图片" align="center" prop="pictures" />
<el-table-column label="相关图片id" align="center" prop="allPicIds" />
<el-table-column label="相关图片" align="center" prop="allPics" />
<el-table-column label="是否纠错(字典0否1是)" align="center" prop="errorCorrect" />
<el-table-column label="审核状态(字典)" align="center" prop="auditStatus" />
<el-table-column label="审核人" align="center" prop="auditName" />
<el-table-column label="审核结果" align="center" prop="auditResult" />
<el-table-column label="审核原由" align="center" prop="auditReason" />
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['dangan:zfnyhkcg:edit']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['dangan:zfnyhkcg:remove']"
>删除</el-button>
</template>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
:page.sync="queryParams.pageNum"
:limit.sync="queryParams.pageSize"
@pagination="getList"
/>
<!-- 添加或修改转非农业人口批复存根对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="目录id" prop="muId">
<el-input v-model="form.muId" placeholder="请输入目录id" />
</el-form-item>
<el-form-item label="编号" prop="num">
<el-input v-model="form.num" placeholder="请输入编号" />
</el-form-item>
<el-form-item label="申请人姓名" prop="name">
<el-input v-model="form.name" placeholder="请输入申请人姓名" />
</el-form-item>
<el-form-item label="住址" prop="address">
<el-input v-model="form.address" placeholder="请输入住址" />
</el-form-item>
<el-form-item label="与申请人关系1" prop="relation1">
<el-input v-model="form.relation1" placeholder="请输入与申请人关系1" />
</el-form-item>
<el-form-item label="姓名1" prop="name1">
<el-input v-model="form.name1" placeholder="请输入姓名1" />
</el-form-item>
<el-form-item label="性别1" prop="sex1">
<el-input v-model="form.sex1" placeholder="请输入性别1" />
</el-form-item>
<el-form-item label="与申请人关系2" prop="relation2">
<el-input v-model="form.relation2" placeholder="请输入与申请人关系2" />
</el-form-item>
<el-form-item label="姓名2" prop="name2">
<el-input v-model="form.name2" placeholder="请输入姓名2" />
</el-form-item>
<el-form-item label="性别2" prop="sex2">
<el-input v-model="form.sex2" placeholder="请输入性别2" />
</el-form-item>
<el-form-item label="与申请人关系3" prop="relation3">
<el-input v-model="form.relation3" placeholder="请输入与申请人关系3" />
</el-form-item>
<el-form-item label="姓名3" prop="name3">
<el-input v-model="form.name3" placeholder="请输入姓名3" />
</el-form-item>
<el-form-item label="性别3" prop="sex3">
<el-input v-model="form.sex3" placeholder="请输入性别3" />
</el-form-item>
<el-form-item label="与申请人关系4" prop="relation4">
<el-input v-model="form.relation4" placeholder="请输入与申请人关系4" />
</el-form-item>
<el-form-item label="姓名4" prop="name4">
<el-input v-model="form.name4" placeholder="请输入姓名4" />
</el-form-item>
<el-form-item label="性别4" prop="sex4">
<el-input v-model="form.sex4" placeholder="请输入性别4" />
</el-form-item>
<el-form-item label="与申请人关系5" prop="relation5">
<el-input v-model="form.relation5" placeholder="请输入与申请人关系5" />
</el-form-item>
<el-form-item label="姓名5" prop="name5">
<el-input v-model="form.name5" placeholder="请输入姓名5" />
</el-form-item>
<el-form-item label="性别5" prop="sex5">
<el-input v-model="form.sex5" placeholder="请输入性别5" />
</el-form-item>
<el-form-item label="机关 1" prop="jg1">
<el-input v-model="form.jg1" placeholder="请输入机关 1" />
</el-form-item>
<el-form-item label="机关 2" prop="jg2">
<el-input v-model="form.jg2" placeholder="请输入机关 2" />
</el-form-item>
<el-form-item label="承办人" prop="cbr">
<el-input v-model="form.cbr" placeholder="请输入承办人" />
</el-form-item>
<el-form-item label="承办日期" prop="cbDate">
<el-date-picker clearable
v-model="form.cbDate"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择承办日期">
</el-date-picker>
</el-form-item>
<el-form-item label="识别图片id" prop="picIds">
<el-input v-model="form.picIds" placeholder="请输入识别图片id" />
</el-form-item>
<el-form-item label="识别图片" prop="pictures">
<el-input v-model="form.pictures" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="相关图片id" prop="allPicIds">
<el-input v-model="form.allPicIds" placeholder="请输入相关图片id" />
</el-form-item>
<el-form-item label="相关图片" prop="allPics">
<el-input v-model="form.allPics" type="textarea" placeholder="请输入内容" />
</el-form-item>
<el-form-item label="是否纠错(字典0否1是)" prop="errorCorrect">
<el-input v-model="form.errorCorrect" placeholder="请输入是否纠错(字典0否1是)" />
</el-form-item>
<el-form-item label="审核人" prop="auditName">
<el-input v-model="form.auditName" placeholder="请输入审核人" />
</el-form-item>
<el-form-item label="审核结果" prop="auditResult">
<el-input v-model="form.auditResult" placeholder="请输入审核结果" />
</el-form-item>
<el-form-item label="审核原由" prop="auditReason">
<el-input v-model="form.auditReason" placeholder="请输入审核原由" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>
<el-button @click="cancel"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { listZfnyhkcg, getZfnyhkcg, delZfnyhkcg, addZfnyhkcg, updateZfnyhkcg } from "@/api/dangan/zfnyhkcg";
export default {
name: "Zfnyhkcg",
data() {
return {
//
loading: true,
//
ids: [],
//
single: true,
//
multiple: true,
//
showSearch: true,
//
total: 0,
//
zfnyhkcgList: [],
//
title: "",
//
open: false,
//
queryParams: {
pageNum: 1,
pageSize: 10,
ywType: null,
muId: null,
num: null,
name: null,
address: null,
relation1: null,
name1: null,
sex1: null,
relation2: null,
name2: null,
sex2: null,
relation3: null,
name3: null,
sex3: null,
relation4: null,
name4: null,
sex4: null,
relation5: null,
name5: null,
sex5: null,
jg1: null,
jg2: null,
cbr: null,
cbDate: null,
picIds: null,
pictures: null,
allPicIds: null,
allPics: null,
errorCorrect: null,
auditStatus: null,
auditName: null,
auditResult: null,
auditReason: null,
},
//
form: {},
//
rules: {
muId: [
{ required: true, message: "目录id不能为空", trigger: "blur" }
],
}
};
},
created() {
this.getList();
},
methods: {
/** 查询转非农业人口批复存根列表 */
getList() {
this.loading = true;
listZfnyhkcg(this.queryParams).then(response => {
this.zfnyhkcgList = response.rows;
this.total = response.total;
this.loading = false;
});
},
//
cancel() {
this.open = false;
this.reset();
},
//
reset() {
this.form = {
id: null,
ywType: null,
muId: null,
num: null,
name: null,
address: null,
relation1: null,
name1: null,
sex1: null,
relation2: null,
name2: null,
sex2: null,
relation3: null,
name3: null,
sex3: null,
relation4: null,
name4: null,
sex4: null,
relation5: null,
name5: null,
sex5: null,
jg1: null,
jg2: null,
cbr: null,
cbDate: null,
picIds: null,
pictures: null,
allPicIds: null,
allPics: null,
errorCorrect: null,
auditStatus: null,
auditName: null,
auditResult: null,
auditReason: null,
remark: null,
createBy: null,
createTime: null,
updateBy: null,
updateTime: null
};
this.resetForm("form");
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;
this.getList();
},
/** 重置按钮操作 */
resetQuery() {
this.resetForm("queryForm");
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length!==1
this.multiple = !selection.length
},
/** 新增按钮操作 */
handleAdd() {
this.reset();
this.open = true;
this.title = "添加转非农业人口批复存根";
},
/** 修改按钮操作 */
handleUpdate(row) {
this.reset();
const id = row.id || this.ids
getZfnyhkcg(id).then(response => {
this.form = response.data;
this.open = true;
this.title = "修改转非农业人口批复存根";
});
},
/** 提交按钮 */
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
if (this.form.id != null) {
updateZfnyhkcg(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.open = false;
this.getList();
});
} else {
addZfnyhkcg(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
this.open = false;
this.getList();
});
}
}
});
},
/** 删除按钮操作 */
handleDelete(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除转非农业人口批复存根编号为"' + ids + '"的数据项?').then(function() {
return delZfnyhkcg(ids);
}).then(() => {
this.getList();
this.$modal.msgSuccess("删除成功");
}).catch(() => {});
},
/** 导出按钮操作 */
handleExport() {
this.download('dangan/zfnyhkcg/export', {
...this.queryParams
}, `zfnyhkcg_${new Date().getTime()}.xlsx`)
}
}
};
</script>
Loading…
Cancel
Save