Commit 958a5507 by ilal

Merge branch 'lal' into develop

parents cb075799 143ef91d
......@@ -92,6 +92,9 @@ public class HtzzAdminZzda extends Model<HtzzAdminZzda> {
@ApiModelProperty(value = "0:未发;1:已发", example = "0")
private Integer sendingStatus;
@ApiModelProperty(value = "1:合同;2:证照", example = "1")
private Integer documentType;
@Transient
@TableField(exist = false)
private List<NotifyPersonDto> ids;
......
......@@ -162,7 +162,7 @@ public class HtzzController {
QueryWrapper<HtzzAdminZzda> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("org_code", userBean.getOrgCode())
.select("id", "zjmc", "czry", "czrdh", "fzrq", "yxdqr", "txkg_type").eq("is_delete", 0)
.select("id", "zjmc", "czry", "czrdh", "fzrq", "yxdqr", "txkg_type").eq("is_delete", 0).eq("document_type", htzzQueryDto.getDocumentType())
.gt(!StrUtil.hasBlank(e), "yxdqr", !StrUtil.hasBlank(e) ? e : "9999-01-01 00:00:00")
.and(!StrUtil.hasBlank(q), wq -> wq.like("zjmc", q).or().like("czry", q)).orderByDesc("lrsj_time");
......
......@@ -23,5 +23,8 @@ public class HtzzQueryDto extends Page implements Serializable{
@ApiModelProperty(value="名称、型号、供应商",example="张三")
private String query;
@ApiModelProperty(value="1:合同;2:证照",example="1")
private Integer documentType;
}
......@@ -21,6 +21,7 @@
<result column="is_delete" property="isDelete" />
<result column="template_id" property="templateId" />
<result column="sending_status" property="sendingStatus" />
<result column="document_type" property="documentType" />
</resultMap>
<sql id="Base_Column_List">
......@@ -40,7 +41,8 @@
zjmc,
is_delete,
template_id,
sending_status
sending_status,
document_type
</sql>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment