Commit b88c2ee5 authored by KeYong's avatar KeYong

增加字段为页面展示用

parent 6804b3ca
...@@ -194,4 +194,9 @@ public class JgTransferNoticeDto extends BaseDto { ...@@ -194,4 +194,9 @@ public class JgTransferNoticeDto extends BaseDto {
private String status; private String status;
@ApiModelProperty(value = "完整地址")
private String equipCateName;
@ApiModelProperty(value = "办理日期")
private Date handleDate;
} }
...@@ -290,4 +290,7 @@ public class JgTransferNotice extends BaseEntity { ...@@ -290,4 +290,7 @@ public class JgTransferNotice extends BaseEntity {
@TableField(value = "promoter") @TableField(value = "promoter")
private String promoter; private String promoter;
@TableField(exist = false)
private String equipCateName;
} }
...@@ -21,9 +21,13 @@ ...@@ -21,9 +21,13 @@
tjtn.promoter AS promoter, tjtn.promoter AS promoter,
tjtn.next_execute_ids AS nextExecuteIds, tjtn.next_execute_ids AS nextExecuteIds,
tjtn.instance_status AS instanceStatus, tjtn.instance_status AS instanceStatus,
tjtn.notice_report_url AS noticeReportUrl tjtn.notice_report_url AS noticeReportUrl,
ec."name" AS equipCateName
FROM FROM
tzs_jg_transfer_notice tjtn tzs_jg_transfer_notice tjtn
LEFT JOIN tzs_jg_transfer_notice_eq re ON re.equip_transfer_id = tjtn.sequence_nbr
LEFT JOIN idx_biz_jg_register_info ri ON ri.record = re.equ_id
LEFT JOIN tz_equipment_category ec ON ec.code = ri.equ_category
<where> <where>
tjtn.is_delete = false tjtn.is_delete = false
<if test="param != null "> <if test="param != null ">
......
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