Merge remote-tracking branch 'origin/master'

master
wanglei 1 year ago
commit e6ef9730f9

@ -9,9 +9,7 @@ import com.da.common.core.page.TableDataInfo;
import com.da.common.enums.BusinessType; import com.da.common.enums.BusinessType;
import com.da.common.utils.poi.ExcelUtil; import com.da.common.utils.poi.ExcelUtil;
import com.da.dangan.domain.DaBirthDj; import com.da.dangan.domain.DaBirthDj;
import com.da.dangan.domain.DaPicturesRecard;
import com.da.dangan.service.IDaBirthDjService; import com.da.dangan.service.IDaBirthDjService;
import com.da.dangan.service.IDaPicturesRecardService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@ -31,8 +29,6 @@ public class DaBirthDjController extends BaseController
{ {
@Autowired @Autowired
private IDaBirthDjService daBirthDjService; private IDaBirthDjService daBirthDjService;
@Autowired
private IDaPicturesRecardService daPicturesRecardService;
/** /**
* *
*/ */
@ -75,16 +71,6 @@ public class DaBirthDjController extends BaseController
return success(daBirthDjService.selectDaBirthDjById(id)); return success(daBirthDjService.selectDaBirthDjById(id));
} }
/**
*
*/
/*@PreAuthorize("@ss.hasPermi('dangan:birthDJ:add')")
@Log(title = "出生登记", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DaBirthDj daBirthDj)
{
return toAjax(daBirthDjService.insertDaBirthDj(daBirthDj));
}*/
/** /**
* *
*/ */
@ -93,15 +79,7 @@ public class DaBirthDjController extends BaseController
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaBirthDj daBirthDj) public AjaxResult add(@RequestBody DaBirthDj daBirthDj)
{ {
String[] picIds = daBirthDj.getPicIds().split(","); daBirthDj.setCreateBy(getUsername());
if(picIds!=null&&picIds.length>0){
for(String picid:picIds){
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardService.updateDaPicturesRecard(picRecard);
}
}
return toAjax(daBirthDjService.insertDaBirthDj(daBirthDj)); return toAjax(daBirthDjService.insertDaBirthDj(daBirthDj));
} }

@ -10,13 +10,11 @@ import com.da.common.core.page.TableDataInfo;
import com.da.common.enums.BusinessType; import com.da.common.enums.BusinessType;
import com.da.common.utils.poi.ExcelUtil; import com.da.common.utils.poi.ExcelUtil;
import com.da.dangan.domain.DaCzrkdj; import com.da.dangan.domain.DaCzrkdj;
import com.da.dangan.domain.DaPicturesRecard;
import com.da.dangan.domain.vo.Czrkdj1; import com.da.dangan.domain.vo.Czrkdj1;
import com.da.dangan.domain.vo.Czrkdj2; import com.da.dangan.domain.vo.Czrkdj2;
import com.da.dangan.domain.vo.Czrkdj3; import com.da.dangan.domain.vo.Czrkdj3;
import com.da.dangan.domain.vo.Czrkdjczk; import com.da.dangan.domain.vo.Czrkdjczk;
import com.da.dangan.service.IDaCzrkdjService; import com.da.dangan.service.IDaCzrkdjService;
import com.da.dangan.service.IDaPicturesRecardService;
import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
@ -38,8 +36,6 @@ import java.util.stream.Collectors;
public class DaCzrkdjController extends BaseController { public class DaCzrkdjController extends BaseController {
@Autowired @Autowired
private IDaCzrkdjService daCzrkdjService; private IDaCzrkdjService daCzrkdjService;
@Autowired
private IDaPicturesRecardService daPicturesRecardService;
/** /**
* *
@ -129,17 +125,6 @@ public class DaCzrkdjController extends BaseController {
return success(daCzrkdjService.selectDaCzrkdjById(id)); return success(daCzrkdjService.selectDaCzrkdjById(id));
} }
/* *//**
*
*//*
@PreAuthorize("@ss.hasPermi('dangan:czrkdj:add')")
@Log(title = "常住人口登记", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody DaCzrkdj daCzrkdj)
{
return toAjax(daCzrkdjService.insertDaCzrkdj(daCzrkdj));
}*/
/** /**
* *
*/ */
@ -147,15 +132,7 @@ public class DaCzrkdjController extends BaseController {
@Log(title = "常住人口登记", businessType = BusinessType.INSERT) @Log(title = "常住人口登记", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaCzrkdj daCzrkdj) { public AjaxResult add(@RequestBody DaCzrkdj daCzrkdj) {
String[] picIds = daCzrkdj.getPicIds().split(","); daCzrkdj.setCreateBy(getUsername());
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardService.updateDaPicturesRecard(picRecard);
}
}
return toAjax(daCzrkdjService.insertDaCzrkdj(daCzrkdj)); return toAjax(daCzrkdjService.insertDaCzrkdj(daCzrkdj));
} }

@ -62,6 +62,18 @@ public class DaPicturesRecardController extends BaseController
return getDataTable(list); return getDataTable(list);
} }
/**
*
*/
// @PreAuthorize("@ss.hasPermi('dangan:pictureRecard:list')")
@GetMapping("/listByIds")
public TableDataInfo listByIds(Long[] ids)
{
startPage();
List<DaPicturesRecard> list = daPicturesRecardService.selectDaPicturesRecardByIds(ids);
return getDataTable(list);
}
/** /**
* *
*/ */

@ -28,7 +28,6 @@ import java.util.List;
public class DaQyzController extends BaseController { public class DaQyzController extends BaseController {
@Autowired @Autowired
private IDaQyzService daQyzService; private IDaQyzService daQyzService;
/** /**
* *
*/ */
@ -75,6 +74,7 @@ public class DaQyzController extends BaseController {
@Log(title = "迁移证", businessType = BusinessType.INSERT) @Log(title = "迁移证", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaQyz daQyz) { public AjaxResult add(@RequestBody DaQyz daQyz) {
daQyz.setCreateBy(getUsername());
return toAjax(daQyzService.insertDaQyz(daQyz)); return toAjax(daQyzService.insertDaQyz(daQyz));
} }

@ -28,7 +28,6 @@ import java.util.List;
public class DaYtzmController extends BaseController { public class DaYtzmController extends BaseController {
@Autowired @Autowired
private IDaYtzmService daYtzmService; private IDaYtzmService daYtzmService;
/** /**
* *
*/ */
@ -75,6 +74,7 @@ public class DaYtzmController extends BaseController {
@Log(title = "一胎证明", businessType = BusinessType.INSERT) @Log(title = "一胎证明", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaYtzm daYtzm) { public AjaxResult add(@RequestBody DaYtzm daYtzm) {
daYtzm.setCreateBy(getUsername());
return toAjax(daYtzmService.insertDaYtzm(daYtzm)); return toAjax(daYtzmService.insertDaYtzm(daYtzm));
} }

@ -28,7 +28,6 @@ import java.util.List;
public class DaZfnyhkcgController extends BaseController { public class DaZfnyhkcgController extends BaseController {
@Autowired @Autowired
private IDaZfnyhkcgService daZfnyhkcgService; private IDaZfnyhkcgService daZfnyhkcgService;
/** /**
* *
*/ */
@ -75,6 +74,7 @@ public class DaZfnyhkcgController extends BaseController {
@Log(title = "转非农业人口批复存根", businessType = BusinessType.INSERT) @Log(title = "转非农业人口批复存根", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaZfnyhkcg daZfnyhkcg) { public AjaxResult add(@RequestBody DaZfnyhkcg daZfnyhkcg) {
daZfnyhkcg.setCreateBy(getUsername());
return toAjax(daZfnyhkcgService.insertDaZfnyhkcg(daZfnyhkcg)); return toAjax(daZfnyhkcgService.insertDaZfnyhkcg(daZfnyhkcg));
} }

@ -28,7 +28,6 @@ import java.util.List;
public class DaZqzController extends BaseController { public class DaZqzController extends BaseController {
@Autowired @Autowired
private IDaZqzService daZqzService; private IDaZqzService daZqzService;
/** /**
* *
*/ */
@ -75,6 +74,7 @@ public class DaZqzController extends BaseController {
@Log(title = "准迁证", businessType = BusinessType.INSERT) @Log(title = "准迁证", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DaZqz daZqz) { public AjaxResult add(@RequestBody DaZqz daZqz) {
daZqz.setCreateBy(getUsername());
return toAjax(daZqzService.insertDaZqz(daZqz)); return toAjax(daZqzService.insertDaZqz(daZqz));
} }

@ -19,6 +19,10 @@ public class DaBirthDj extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -488,10 +492,19 @@ public class DaBirthDj extends BaseEntity {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -17,6 +17,10 @@ public class DaCzrkdj extends BaseEntity {
/** id */ /** id */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** 业务类型(字典) */ /** 业务类型(字典) */
//@Excel(name = "业务类型(字典)") //@Excel(name = "业务类型(字典)")
private String ywType; private String ywType;
@ -238,6 +242,14 @@ public class DaCzrkdj extends BaseEntity {
*/ */
private Long userId; private Long userId;
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
public Long getUserId() { public Long getUserId() {
return userId; return userId;
} }
@ -736,6 +748,7 @@ public class DaCzrkdj extends BaseEntity {
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class DaQyz extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -488,10 +492,19 @@ public class DaQyz extends BaseEntity {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -9,76 +9,59 @@ import com.da.common.core.domain.BaseEntity;
* da_task * da_task
* *
* @author hs * @author hs
* @date 2024-06-20 * @date 2024-07-01
*/ */
public class DaTask extends BaseEntity { public class DaTask extends BaseEntity
{
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /** 任务id */
* id
*/
private Long id; private Long id;
/** /** 目录id */
* id
*/
@Excel(name = "目录id") @Excel(name = "目录id")
private Long muId; private Long muId;
/** /** 业务类型 */
*
*/
@Excel(name = "业务类型") @Excel(name = "业务类型")
private String ywType; private String ywType;
/** /** 档案目录路径 */
* ids @Excel(name = "档案目录路径")
*/ private String muPath;
@Excel(name = "任务图片ids")
private String picIds;
/** /** 处理图片数量 */
* @Excel(name = "处理图片数量")
*/
@Excel(name = "任务数量")
private Long num; private Long num;
/** /** 任务图片ids */
* @Excel(name = "任务图片ids")
*/ private String picIds;
@Excel(name = "档案目录路径")
private String muPath;
/** /** 任务状态(字典) */
* ()
*/
@Excel(name = "任务状态(字典)") @Excel(name = "任务状态(字典)")
private String status; private String status;
/** /** 成功数 */
* @Excel(name = "成功数")
*/
@Excel(name = "成功")
private Long successNum; private Long successNum;
/** /** 成功图片ids */
* ids @Excel(name = "成功图片ids")
*/
@Excel(name = "任务图片ids")
private String successIds; private String successIds;
/** /** 失败数 */
* @Excel(name = "失败数")
*/
@Excel(name = "失败")
private Long failNum; private Long failNum;
/** /** 失败图片ids */
* ids @Excel(name = "失败图片ids")
*/
@Excel(name = "任务图片ids")
private String failIds; private String failIds;
/** 返回结果 */
@Excel(name = "返回结果")
private String resultStr;
/** /**
* id * id
*/ */
@ -92,108 +75,130 @@ public class DaTask extends BaseEntity {
this.userId = userId; this.userId = userId;
} }
public void setId(Long id) { public void setId(Long id)
{
this.id = id; this.id = id;
} }
public Long getId() { public Long getId()
{
return id; return id;
} }
public void setMuId(Long muId)
public void setMuId(Long muId) { {
this.muId = muId; this.muId = muId;
} }
public Long getMuId() { public Long getMuId()
{
return muId; return muId;
} }
public void setYwType(String ywType)
public void setYwType(String ywType) { {
this.ywType = ywType; this.ywType = ywType;
} }
public String getYwType() { public String getYwType()
{
return ywType; return ywType;
} }
public void setMuPath(String muPath)
public void setPicIds(String picIds) { {
this.picIds = picIds; this.muPath = muPath;
} }
public String getPicIds() { public String getMuPath()
return picIds; {
return muPath;
} }
public void setNum(Long num)
public void setNum(Long num) { {
this.num = num; this.num = num;
} }
public Long getNum() { public Long getNum()
{
return num; return num;
} }
public void setPicIds(String picIds)
public void setMuPath(String muPath) { {
this.muPath = muPath; this.picIds = picIds;
} }
public String getMuPath() { public String getPicIds()
return muPath; {
return picIds;
} }
public void setStatus(String status)
public void setStatus(String status) { {
this.status = status; this.status = status;
} }
public String getStatus() { public String getStatus()
{
return status; return status;
} }
public void setSuccessNum(Long successNum)
public void setSuccessNum(Long successNum) { {
this.successNum = successNum; this.successNum = successNum;
} }
public Long getSuccessNum() { public Long getSuccessNum()
{
return successNum; return successNum;
} }
public void setSuccessIds(String successIds)
public void setSuccessIds(String successIds) { {
this.successIds = successIds; this.successIds = successIds;
} }
public String getSuccessIds() { public String getSuccessIds()
{
return successIds; return successIds;
} }
public void setFailNum(Long failNum)
public void setFailNum(Long failNum) { {
this.failNum = failNum; this.failNum = failNum;
} }
public Long getFailNum() { public Long getFailNum()
{
return failNum; return failNum;
} }
public void setFailIds(String failIds)
public void setFailIds(String failIds) { {
this.failIds = failIds; this.failIds = failIds;
} }
public String getFailIds() { public String getFailIds()
{
return failIds; return failIds;
} }
public void setResultStr(String resultStr)
{
this.resultStr = resultStr;
}
public String getResultStr()
{
return resultStr;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("muId", getMuId()) .append("muId", getMuId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("picIds", getPicIds())
.append("num", getNum())
.append("muPath", getMuPath()) .append("muPath", getMuPath())
.append("num", getNum())
.append("picIds", getPicIds())
.append("status", getStatus()) .append("status", getStatus())
.append("successNum", getSuccessNum()) .append("successNum", getSuccessNum())
.append("successIds", getSuccessIds()) .append("successIds", getSuccessIds())
.append("failNum", getFailNum()) .append("failNum", getFailNum())
.append("failIds", getFailIds()) .append("failIds", getFailIds())
.append("resultStr", getResultStr())
.append("remark", getRemark()) .append("remark", getRemark())
.append("createBy", getCreateBy()) .append("createBy", getCreateBy())
.append("createTime", getCreateTime()) .append("createTime", getCreateTime())

@ -19,6 +19,10 @@ public class DaYtzm extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -431,11 +435,19 @@ public class DaYtzm extends BaseEntity {
public String getAuditReason() { public String getAuditReason() {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class DaZfnyhkcg extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -515,11 +519,18 @@ public class DaZfnyhkcg extends BaseEntity {
public String getAuditReason() { public String getAuditReason() {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -18,6 +18,10 @@ public class DaZqz extends BaseEntity
/** id */ /** id */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** 业务类型(字典) */ /** 业务类型(字典) */
@Excel(name = "业务类型",dictType = "yw_type") @Excel(name = "业务类型",dictType = "yw_type")
private String ywType; private String ywType;
@ -598,11 +602,18 @@ public class DaZqz extends BaseEntity
{ {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId", getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class Czrkdj1 extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -467,10 +471,23 @@ public class Czrkdj1 extends BaseEntity {
return auditReason; return auditReason;
} }
public void setId(Long id) {
this.id = id;
}
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId",getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class Czrkdj2 extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -582,10 +586,19 @@ public class Czrkdj2 extends BaseEntity {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId",getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class Czrkdj3 extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -604,10 +608,19 @@ public class Czrkdj3 extends BaseEntity {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId",getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -19,6 +19,10 @@ public class Czrkdjczk extends BaseEntity {
*/ */
private Long id; private Long id;
/** 任务id */
@Excel(name = "任务id")
private Long taskId;
/** /**
* () * ()
*/ */
@ -680,10 +684,19 @@ public class Czrkdjczk extends BaseEntity {
return auditReason; return auditReason;
} }
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Override @Override
public String toString() { public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId()) .append("id", getId())
.append("taskId",getTaskId())
.append("ywType", getYwType()) .append("ywType", getYwType())
.append("muId", getMuId()) .append("muId", getMuId())
.append("muPath", getMuPath()) .append("muPath", getMuPath())

@ -59,4 +59,6 @@ public interface DaPicturesRecardMapper
* @return * @return
*/ */
public int deleteDaPicturesRecardByIds(Long[] ids); public int deleteDaPicturesRecardByIds(Long[] ids);
List<DaPicturesRecard> selectDaPicturesRecardByIds(Long[] ids);
} }

@ -53,4 +53,5 @@ public interface IDaPicturesRecardService
*/ */
public AjaxResult deleteDaPicturesRecardByIds(Long[] ids); public AjaxResult deleteDaPicturesRecardByIds(Long[] ids);
List<DaPicturesRecard> selectDaPicturesRecardByIds(Long[] ids);
} }

@ -56,8 +56,19 @@ public class DaBirthDjServiceImpl implements IDaBirthDjService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaBirthDj(DaBirthDj daBirthDj) public int insertDaBirthDj(DaBirthDj daBirthDj)
{ {
//识别图片状态改为已识别
String[] picIds = daBirthDj.getPicIds().split(",");
if(picIds!=null&&picIds.length>0){
for(String picid:picIds){
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daBirthDj.setCreateTime(DateUtils.getNowDate()); daBirthDj.setCreateTime(DateUtils.getNowDate());
return daBirthDjMapper.insertDaBirthDj(daBirthDj); return daBirthDjMapper.insertDaBirthDj(daBirthDj);
} }

@ -6,10 +6,10 @@ import com.da.dangan.domain.DaPicturesRecard;
import com.da.dangan.mapper.DaCzrkdjMapper; import com.da.dangan.mapper.DaCzrkdjMapper;
import com.da.dangan.mapper.DaPicturesRecardMapper; import com.da.dangan.mapper.DaPicturesRecardMapper;
import com.da.dangan.service.IDaCzrkdjService; import com.da.dangan.service.IDaCzrkdjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List; import java.util.List;
/** /**
@ -21,9 +21,9 @@ import java.util.List;
@Service @Service
public class DaCzrkdjServiceImpl implements IDaCzrkdjService public class DaCzrkdjServiceImpl implements IDaCzrkdjService
{ {
@Autowired @Resource
private DaCzrkdjMapper daCzrkdjMapper; private DaCzrkdjMapper daCzrkdjMapper;
@Autowired @Resource
private DaPicturesRecardMapper daPicturesRecardMapper; private DaPicturesRecardMapper daPicturesRecardMapper;
/** /**
* *
@ -56,8 +56,19 @@ public class DaCzrkdjServiceImpl implements IDaCzrkdjService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaCzrkdj(DaCzrkdj daCzrkdj) public int insertDaCzrkdj(DaCzrkdj daCzrkdj)
{ {
//识别图片状态改为已识别
String[] picIds = daCzrkdj.getPicIds().split(",");
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daCzrkdj.setCreateTime(DateUtils.getNowDate()); daCzrkdj.setCreateTime(DateUtils.getNowDate());
return daCzrkdjMapper.insertDaCzrkdj(daCzrkdj); return daCzrkdjMapper.insertDaCzrkdj(daCzrkdj);
} }

@ -94,4 +94,9 @@ public class DaPicturesRecardServiceImpl implements IDaPicturesRecardService
} }
return AjaxResult.error("系统错误!"); return AjaxResult.error("系统错误!");
} }
@Override
public List<DaPicturesRecard> selectDaPicturesRecardByIds(Long[] ids) {
return daPicturesRecardMapper.selectDaPicturesRecardByIds(ids);
}
} }

@ -6,10 +6,10 @@ import com.da.dangan.domain.DaQyz;
import com.da.dangan.mapper.DaPicturesRecardMapper; import com.da.dangan.mapper.DaPicturesRecardMapper;
import com.da.dangan.mapper.DaQyzMapper; import com.da.dangan.mapper.DaQyzMapper;
import com.da.dangan.service.IDaQyzService; import com.da.dangan.service.IDaQyzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List; import java.util.List;
/** /**
@ -21,9 +21,9 @@ import java.util.List;
@Service @Service
public class DaQyzServiceImpl implements IDaQyzService public class DaQyzServiceImpl implements IDaQyzService
{ {
@Autowired @Resource
private DaQyzMapper daQyzMapper; private DaQyzMapper daQyzMapper;
@Autowired @Resource
private DaPicturesRecardMapper daPicturesRecardMapper; private DaPicturesRecardMapper daPicturesRecardMapper;
/** /**
* *
@ -56,8 +56,19 @@ public class DaQyzServiceImpl implements IDaQyzService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaQyz(DaQyz daQyz) public int insertDaQyz(DaQyz daQyz)
{ {
//识别图片状态改为已识别
String[] picIds = daQyz.getPicIds().split(",");
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daQyz.setCreateTime(DateUtils.getNowDate()); daQyz.setCreateTime(DateUtils.getNowDate());
return daQyzMapper.insertDaQyz(daQyz); return daQyzMapper.insertDaQyz(daQyz);
} }

@ -6,10 +6,10 @@ import com.da.dangan.domain.DaYtzm;
import com.da.dangan.mapper.DaPicturesRecardMapper; import com.da.dangan.mapper.DaPicturesRecardMapper;
import com.da.dangan.mapper.DaYtzmMapper; import com.da.dangan.mapper.DaYtzmMapper;
import com.da.dangan.service.IDaYtzmService; import com.da.dangan.service.IDaYtzmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.List; import java.util.List;
/** /**
@ -21,9 +21,9 @@ import java.util.List;
@Service @Service
public class DaYtzmServiceImpl implements IDaYtzmService public class DaYtzmServiceImpl implements IDaYtzmService
{ {
@Autowired @Resource
private DaYtzmMapper daYtzmMapper; private DaYtzmMapper daYtzmMapper;
@Autowired @Resource
private DaPicturesRecardMapper daPicturesRecardMapper; private DaPicturesRecardMapper daPicturesRecardMapper;
/** /**
* *
@ -56,8 +56,19 @@ public class DaYtzmServiceImpl implements IDaYtzmService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaYtzm(DaYtzm daYtzm) public int insertDaYtzm(DaYtzm daYtzm)
{ {
//识别图片状态改为已识别
String[] picIds = daYtzm.getPicIds().split(",");
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daYtzm.setCreateTime(DateUtils.getNowDate()); daYtzm.setCreateTime(DateUtils.getNowDate());
return daYtzmMapper.insertDaYtzm(daYtzm); return daYtzmMapper.insertDaYtzm(daYtzm);
} }

@ -56,8 +56,19 @@ public class DaZfnyhkcgServiceImpl implements IDaZfnyhkcgService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg) public int insertDaZfnyhkcg(DaZfnyhkcg daZfnyhkcg)
{ {
//识别图片状态改为已识别
String[] picIds = daZfnyhkcg.getPicIds().split(",");
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daZfnyhkcg.setCreateTime(DateUtils.getNowDate()); daZfnyhkcg.setCreateTime(DateUtils.getNowDate());
return daZfnyhkcgMapper.insertDaZfnyhkcg(daZfnyhkcg); return daZfnyhkcgMapper.insertDaZfnyhkcg(daZfnyhkcg);
} }

@ -56,8 +56,19 @@ public class DaZqzServiceImpl implements IDaZqzService
* @return * @return
*/ */
@Override @Override
@Transactional
public int insertDaZqz(DaZqz daZqz) public int insertDaZqz(DaZqz daZqz)
{ {
//识别图片状态改为已识别
String[] picIds = daZqz.getPicIds().split(",");
if (picIds != null && picIds.length > 0) {
for (String picid : picIds) {
DaPicturesRecard picRecard = new DaPicturesRecard();
picRecard.setId(Long.parseLong(picid));
picRecard.setRecognize("1");
daPicturesRecardMapper.updateDaPicturesRecard(picRecard);
}
}
daZqz.setCreateTime(DateUtils.getNowDate()); daZqz.setCreateTime(DateUtils.getNowDate());
return daZqzMapper.insertDaZqz(daZqz); return daZqzMapper.insertDaZqz(daZqz);
} }

@ -5,6 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<mapper namespace="com.da.dangan.mapper.DaBirthDjMapper"> <mapper namespace="com.da.dangan.mapper.DaBirthDjMapper">
<resultMap type="DaBirthDj" id="DaBirthDjResult"> <resultMap type="DaBirthDj" id="DaBirthDjResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -45,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaBirthDjVo"> <sql id="selectDaBirthDjVo">
select id, yw_type, mu_id, mu_path ,birth_num, name, birthday, sex, born_address, m_name, m_age, m_gj, m_nation, m_card_id, f_name, f_age, f_gj, f_nation, f_card_id, home_address, mom_sign, jsry_sign, js_unit, dj_type, 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_birth_dj select id, task_id, yw_type, mu_id, mu_path, birth_num, name, birthday, sex, born_address, m_name, m_age, m_gj, m_nation, m_card_id, f_name, f_age, f_gj, f_nation, f_card_id, home_address, mom_sign, jsry_sign, js_unit, dj_type, 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_birth_dj
</sql> </sql>
<select id="selectDaBirthDjList" parameterType="DaBirthDj" resultMap="DaBirthDjResult"> <select id="selectDaBirthDjList" parameterType="DaBirthDj" resultMap="DaBirthDjResult">
@ -53,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on b.mu_id = uc.mu_id left join da_user_catalog uc on b.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and b.mu_id = #{muId}</if> <if test="muId != null "> and b.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -102,6 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaBirthDj" parameterType="DaBirthDj" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaBirthDj" parameterType="DaBirthDj" useGeneratedKeys="true" keyProperty="id">
insert into da_birth_dj insert into da_birth_dj
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -141,6 +144,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -184,6 +188,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaBirthDj" parameterType="DaBirthDj"> <update id="updateDaBirthDj" parameterType="DaBirthDj">
update da_birth_dj update da_birth_dj
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

@ -5,6 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<mapper namespace="com.da.dangan.mapper.DaCzrkdjMapper"> <mapper namespace="com.da.dangan.mapper.DaCzrkdjMapper">
<resultMap type="DaCzrkdj" id="DaCzrkdjResult"> <resultMap type="DaCzrkdj" id="DaCzrkdjResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -66,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaCzrkdjVo"> <sql id="selectDaCzrkdjVo">
select id, yw_type, mu_id, mu_path, relation, name, other_name, used_name, sex, jhr1, jhgx1, jhr2, jhgx2, gmcszqfrq, birthday, address, yj, nation, zjxy, whcd, hyzk, zyjfwcs, bxsqtzz, gmzdhhmqfjgjrq, hsyhdqlbxshsdjhk, hsybxshcqlhsdjhk, hshyqwhd, zxhkrq, zxhkyy, hkdjsxbgjznrsjjblrz1, hkdjsxbgjznrsjjblrz2, jiguan, xzz, hz_name, hb, djrq, byzk, height, blood, zy, sl_reason, sljmsfzqm, qfyj, yxrq, card_id, 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_czrkdj select id, task_id, yw_type, mu_id, mu_path, relation, name, other_name, used_name, sex, jhr1, jhgx1, jhr2, jhgx2, gmcszqfrq, birthday, address, yj, nation, zjxy, whcd, hyzk, zyjfwcs, bxsqtzz, gmzdhhmqfjgjrq, hsyhdqlbxshsdjhk, hsybxshcqlhsdjhk, hshyqwhd, zxhkrq, zxhkyy, hkdjsxbgjznrsjjblrz1, hkdjsxbgjznrsjjblrz2, jiguan, xzz, hz_name, hb, djrq, byzk, height, blood, zy, sl_reason, sljmsfzqm, qfyj, yxrq, card_id, 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_czrkdj
</sql> </sql>
<select id="selectDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult"> <select id="selectDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
@ -74,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on c.mu_id = uc.mu_id left join da_user_catalog uc on c.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and c.mu_id = #{muId}</if> <if test="muId != null "> and c.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -144,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on c.mu_id = uc.mu_id left join da_user_catalog uc on c.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and c.mu_id = #{muId}</if> <if test="muId != null "> and c.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -217,6 +220,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaCzrkdj" parameterType="DaCzrkdj" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaCzrkdj" parameterType="DaCzrkdj" useGeneratedKeys="true" keyProperty="id">
insert into da_czrkdj insert into da_czrkdj
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -277,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -341,6 +346,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaCzrkdj" parameterType="DaCzrkdj"> <update id="updateDaCzrkdj" parameterType="DaCzrkdj">
update da_czrkdj update da_czrkdj
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

@ -51,6 +51,13 @@
where id = #{id} where id = #{id}
</select> </select>
<select id="selectDaPicturesRecardByIds" resultMap="DaPicturesRecardResult">
<include refid="selectDaPicturesRecardVo"/> where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</select>
<insert id="insertDaPicturesRecard" parameterType="DaPicturesRecard" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaPicturesRecard" parameterType="DaPicturesRecard" useGeneratedKeys="true" keyProperty="id">
insert into da_pictures_recard insert into da_pictures_recard
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">

@ -6,6 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="DaQyz" id="DaQyzResult"> <resultMap type="DaQyz" id="DaQyzResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -46,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaQyzVo"> <sql id="selectDaQyzVo">
select id, yw_type, mu_id, mu_path, 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 select id, task_id, yw_type, mu_id, mu_path, 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> </sql>
<select id="selectDaQyzList" parameterType="DaQyz" resultMap="DaQyzResult"> <select id="selectDaQyzList" parameterType="DaQyz" resultMap="DaQyzResult">
@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on q.mu_id = uc.mu_id left join da_user_catalog uc on q.mu_id = uc.mu_id
<where> <where>
<if test="userId != null"> and uc.user_id = #{userId}</if> <if test="userId != null"> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and q.mu_id = #{muId}</if> <if test="muId != null "> and q.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -104,6 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaQyz" parameterType="DaQyz" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaQyz" parameterType="DaQyz" useGeneratedKeys="true" keyProperty="id">
insert into da_qyz insert into da_qyz
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -143,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -186,6 +190,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaQyz" parameterType="DaQyz"> <update id="updateDaQyz" parameterType="DaQyz">
update da_qyz update da_qyz
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

@ -8,14 +8,15 @@
<result property="id" column="id" /> <result property="id" column="id" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="picIds" column="pic_ids" />
<result property="num" column="num" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
<result property="num" column="num" />
<result property="picIds" column="pic_ids" />
<result property="status" column="status" /> <result property="status" column="status" />
<result property="successNum" column="success_num" /> <result property="successNum" column="success_num" />
<result property="successIds" column="success_ids" /> <result property="successIds" column="success_ids" />
<result property="failNum" column="fail_num" /> <result property="failNum" column="fail_num" />
<result property="failIds" column="fail_ids" /> <result property="failIds" column="fail_ids" />
<result property="resultStr" column="result_str" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="createBy" column="create_by" /> <result property="createBy" column="create_by" />
<result property="createTime" column="create_time" /> <result property="createTime" column="create_time" />
@ -24,7 +25,7 @@
</resultMap> </resultMap>
<sql id="selectDaTaskVo"> <sql id="selectDaTaskVo">
select id, mu_id, yw_type, pic_ids, num, mu_path, status, success_num, success_ids, fail_num, fail_ids, remark, create_by, create_time, update_by, update_time from da_task select id, mu_id, yw_type, mu_path, num, pic_ids, status, success_num, success_ids, fail_num, fail_ids, result_str, remark, create_by, create_time, update_by, update_time from da_task
</sql> </sql>
<select id="selectDaTaskList" parameterType="DaTask" resultMap="DaTaskResult"> <select id="selectDaTaskList" parameterType="DaTask" resultMap="DaTaskResult">
@ -32,16 +33,17 @@
left join da_user_catalog uc on t.mu_id = uc.mu_id left join da_user_catalog uc on t.mu_id = uc.mu_id
<where> <where>
<if test="userId != null"> and uc.user_id = #{userId}</if> <if test="userId != null"> and uc.user_id = #{userId}</if>
<if test="muId != null "> and t.mu_id = #{muId}</if> <if test="muId != null "> and mu_id = #{muId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
<if test="num != null "> and num = #{num}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
<if test="num != null "> and num = #{num}</if>
<if test="picIds != null and picIds != ''"> and pic_ids = #{picIds}</if>
<if test="status != null and status != ''"> and status = #{status}</if> <if test="status != null and status != ''"> and status = #{status}</if>
<if test="successNum != null "> and success_num = #{successNum}</if> <if test="successNum != null "> and success_num = #{successNum}</if>
<if test="successIds != null and successIds != ''"> and success_ids = #{successIds}</if> <if test="successIds != null and successIds != ''"> and success_ids = #{successIds}</if>
<if test="failNum != null "> and fail_num = #{failNum}</if> <if test="failNum != null "> and fail_num = #{failNum}</if>
<if test="failIds != null and failIds != ''"> and fail_ids = #{failIds}</if> <if test="failIds != null and failIds != ''"> and fail_ids = #{failIds}</if>
<if test="resultStr != null and resultStr != ''"> and result_str = #{resultStr}</if>
</where> </where>
</select> </select>
@ -55,14 +57,15 @@
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="picIds != null">pic_ids,</if>
<if test="num != null">num,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
<if test="num != null">num,</if>
<if test="picIds != null">pic_ids,</if>
<if test="status != null">status,</if> <if test="status != null">status,</if>
<if test="successNum != null">success_num,</if> <if test="successNum != null">success_num,</if>
<if test="successIds != null">success_ids,</if> <if test="successIds != null">success_ids,</if>
<if test="failNum != null">fail_num,</if> <if test="failNum != null">fail_num,</if>
<if test="failIds != null">fail_ids,</if> <if test="failIds != null">fail_ids,</if>
<if test="resultStr != null">result_str,</if>
<if test="remark != null">remark,</if> <if test="remark != null">remark,</if>
<if test="createBy != null">create_by,</if> <if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if> <if test="createTime != null">create_time,</if>
@ -72,14 +75,15 @@
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="picIds != null">#{picIds},</if>
<if test="num != null">#{num},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
<if test="num != null">#{num},</if>
<if test="picIds != null">#{picIds},</if>
<if test="status != null">#{status},</if> <if test="status != null">#{status},</if>
<if test="successNum != null">#{successNum},</if> <if test="successNum != null">#{successNum},</if>
<if test="successIds != null">#{successIds},</if> <if test="successIds != null">#{successIds},</if>
<if test="failNum != null">#{failNum},</if> <if test="failNum != null">#{failNum},</if>
<if test="failIds != null">#{failIds},</if> <if test="failIds != null">#{failIds},</if>
<if test="resultStr != null">#{resultStr},</if>
<if test="remark != null">#{remark},</if> <if test="remark != null">#{remark},</if>
<if test="createBy != null">#{createBy},</if> <if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if> <if test="createTime != null">#{createTime},</if>
@ -93,14 +97,15 @@
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="picIds != null">pic_ids = #{picIds},</if>
<if test="num != null">num = #{num},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>
<if test="num != null">num = #{num},</if>
<if test="picIds != null">pic_ids = #{picIds},</if>
<if test="status != null">status = #{status},</if> <if test="status != null">status = #{status},</if>
<if test="successNum != null">success_num = #{successNum},</if> <if test="successNum != null">success_num = #{successNum},</if>
<if test="successIds != null">success_ids = #{successIds},</if> <if test="successIds != null">success_ids = #{successIds},</if>
<if test="failNum != null">fail_num = #{failNum},</if> <if test="failNum != null">fail_num = #{failNum},</if>
<if test="failIds != null">fail_ids = #{failIds},</if> <if test="failIds != null">fail_ids = #{failIds},</if>
<if test="resultStr != null">result_str = #{resultStr},</if>
<if test="remark != null">remark = #{remark},</if> <if test="remark != null">remark = #{remark},</if>
<if test="createBy != null">create_by = #{createBy},</if> <if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if> <if test="createTime != null">create_time = #{createTime},</if>

@ -6,6 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="DaYtzm" id="DaYtzmResult"> <resultMap type="DaYtzm" id="DaYtzmResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -42,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaYtzmVo"> <sql id="selectDaYtzmVo">
select id, yw_type, mu_id, mu_path, year, xh, w_name, w_unit, w_card_id, m_name, m_unit, m_card_id, syzh, birthday, hospital, baby_sex, suggest, pcs_address, tb_date1, tb_date2, 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_ytzm select id, task_id, yw_type, mu_id, mu_path, year, xh, w_name, w_unit, w_card_id, m_name, m_unit, m_card_id, syzh, birthday, hospital, baby_sex, suggest, pcs_address, tb_date1, tb_date2, 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_ytzm
</sql> </sql>
<select id="selectDaYtzmList" parameterType="DaYtzm" resultMap="DaYtzmResult"> <select id="selectDaYtzmList" parameterType="DaYtzm" resultMap="DaYtzmResult">
@ -50,6 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on y.mu_id = uc.mu_id left join da_user_catalog uc on y.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and y.mu_id = #{muId}</if> <if test="muId != null "> and y.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -94,6 +96,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaYtzm" parameterType="DaYtzm" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaYtzm" parameterType="DaYtzm" useGeneratedKeys="true" keyProperty="id">
insert into da_ytzm insert into da_ytzm
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -129,6 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -168,6 +172,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaYtzm" parameterType="DaYtzm"> <update id="updateDaYtzm" parameterType="DaYtzm">
update da_ytzm update da_ytzm
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

@ -6,6 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="DaZfnyhkcg" id="DaZfnyhkcgResult"> <resultMap type="DaZfnyhkcg" id="DaZfnyhkcgResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -48,7 +49,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaZfnyhkcgVo"> <sql id="selectDaZfnyhkcgVo">
select id, yw_type, mu_id, mu_path, 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 select id, task_id, yw_type, mu_id, mu_path, 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> </sql>
<select id="selectDaZfnyhkcgList" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult"> <select id="selectDaZfnyhkcgList" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult">
@ -56,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on z.mu_id = uc.mu_id left join da_user_catalog uc on z.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and z.mu_id = #{muId}</if> <if test="muId != null "> and z.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -110,6 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaZfnyhkcg" parameterType="DaZfnyhkcg" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaZfnyhkcg" parameterType="DaZfnyhkcg" useGeneratedKeys="true" keyProperty="id">
insert into da_zfnyhkcg insert into da_zfnyhkcg
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -151,6 +154,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -196,6 +200,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaZfnyhkcg" parameterType="DaZfnyhkcg"> <update id="updateDaZfnyhkcg" parameterType="DaZfnyhkcg">
update da_zfnyhkcg update da_zfnyhkcg
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

@ -6,6 +6,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<resultMap type="DaZqz" id="DaZqzResult"> <resultMap type="DaZqz" id="DaZqzResult">
<result property="id" column="id" /> <result property="id" column="id" />
<result property="taskId" column="task_id" />
<result property="ywType" column="yw_type" /> <result property="ywType" column="yw_type" />
<result property="muId" column="mu_id" /> <result property="muId" column="mu_id" />
<result property="muPath" column="mu_path" /> <result property="muPath" column="mu_path" />
@ -57,7 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectDaZqzVo"> <sql id="selectDaZqzVo">
select id, yw_type, mu_id, mu_path, num, name, card_id, address, dj_jg, relation1, name1, sex1, birth_date1, card_id1, relation2, name2, sex2, birth_date2, card_id2, relation3, name3, sex3, birth_date3, card_id3, relation4, name4, sex4, birth_date4, card_id4, fwdw, qr_address, zq_reason, pzjg, cbr, qf_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_zqz select id, task_id, yw_type, mu_id, mu_path, num, name, card_id, address, dj_jg, relation1, name1, sex1, birth_date1, card_id1, relation2, name2, sex2, birth_date2, card_id2, relation3, name3, sex3, birth_date3, card_id3, relation4, name4, sex4, birth_date4, card_id4, fwdw, qr_address, zq_reason, pzjg, cbr, qf_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_zqz
</sql> </sql>
<select id="selectDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult"> <select id="selectDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult">
@ -65,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join da_user_catalog uc on z.mu_id = uc.mu_id left join da_user_catalog uc on z.mu_id = uc.mu_id
<where> <where>
<if test="userId != null "> and uc.user_id = #{userId}</if> <if test="userId != null "> and uc.user_id = #{userId}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if> <if test="ywType != null and ywType != ''"> and yw_type = #{ywType}</if>
<if test="muId != null "> and z.mu_id = #{muId}</if> <if test="muId != null "> and z.mu_id = #{muId}</if>
<if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if> <if test="muPath != null and muPath != ''"> and mu_path = #{muPath}</if>
@ -127,6 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert id="insertDaZqz" parameterType="DaZqz" useGeneratedKeys="true" keyProperty="id"> <insert id="insertDaZqz" parameterType="DaZqz" useGeneratedKeys="true" keyProperty="id">
insert into da_zqz insert into da_zqz
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="taskId != null">task_id,</if>
<if test="ywType != null">yw_type,</if> <if test="ywType != null">yw_type,</if>
<if test="muId != null">mu_id,</if> <if test="muId != null">mu_id,</if>
<if test="muPath != null">mu_path,</if> <if test="muPath != null">mu_path,</if>
@ -177,6 +180,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateTime != null">update_time,</if> <if test="updateTime != null">update_time,</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskId != null">#{taskId},</if>
<if test="ywType != null">#{ywType},</if> <if test="ywType != null">#{ywType},</if>
<if test="muId != null">#{muId},</if> <if test="muId != null">#{muId},</if>
<if test="muPath != null">#{muPath},</if> <if test="muPath != null">#{muPath},</if>
@ -231,6 +235,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="updateDaZqz" parameterType="DaZqz"> <update id="updateDaZqz" parameterType="DaZqz">
update da_zqz update da_zqz
<trim prefix="SET" suffixOverrides=","> <trim prefix="SET" suffixOverrides=",">
<if test="taskId != null">task_id = #{taskId},</if>
<if test="ywType != null">yw_type = #{ywType},</if> <if test="ywType != null">yw_type = #{ywType},</if>
<if test="muId != null">mu_id = #{muId},</if> <if test="muId != null">mu_id = #{muId},</if>
<if test="muPath != null">mu_path = #{muPath},</if> <if test="muPath != null">mu_path = #{muPath},</if>

Loading…
Cancel
Save