update 标准统计 返回会议名称
This commit is contained in:
+4
@@ -38,6 +38,10 @@ public class PayMeetingStandardProject {
|
|||||||
@ApiModelProperty(value = "会议id")
|
@ApiModelProperty(value = "会议id")
|
||||||
private String meetingId;
|
private String meetingId;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
@ApiModelProperty(value = "会议名称")
|
||||||
|
private String meetingName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 标准编号
|
* 标准编号
|
||||||
*/
|
*/
|
||||||
|
|||||||
+2
-1
@@ -6,6 +6,7 @@
|
|||||||
<!--@Table pay_meeting_standard_project-->
|
<!--@Table pay_meeting_standard_project-->
|
||||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||||
<result column="meeting_id" jdbcType="VARCHAR" property="meetingId" />
|
<result column="meeting_id" jdbcType="VARCHAR" property="meetingId" />
|
||||||
|
<result column="meeting_name" jdbcType="VARCHAR" property="meetingName" />
|
||||||
<result column="standard_no" jdbcType="VARCHAR" property="standardNo" />
|
<result column="standard_no" jdbcType="VARCHAR" property="standardNo" />
|
||||||
<result column="standard_name" jdbcType="VARCHAR" property="standardName" />
|
<result column="standard_name" jdbcType="VARCHAR" property="standardName" />
|
||||||
<result column="standard_type" jdbcType="BOOLEAN" property="standardType" />
|
<result column="standard_type" jdbcType="BOOLEAN" property="standardType" />
|
||||||
@@ -21,7 +22,7 @@
|
|||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="pageList" resultMap="BaseResultMap">
|
<select id="pageList" resultMap="BaseResultMap">
|
||||||
select * from pay_meeting_standard_project pmsp
|
select pmsp.*, pm.meeting_name from pay_meeting_standard_project pmsp
|
||||||
left join pay_meeting pm on pm.id = pmsp.meeting_id
|
left join pay_meeting pm on pm.id = pmsp.meeting_id
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user