update 功能安全中心-企业端-分页列表查询 返回subitemId
This commit is contained in:
+7
@@ -117,4 +117,11 @@ public class SafetyCenter {
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 成员id
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value="成员id")
|
||||
private String subitemId;
|
||||
}
|
||||
+2
-2
@@ -22,8 +22,8 @@
|
||||
remarks, create_by, create_time, update_by, update_time
|
||||
</sql>
|
||||
|
||||
<select id="queryCompanyPageList" resultMap="BaseResultMap">
|
||||
select *
|
||||
<select id="queryCompanyPageList" resultType="com.jero.functionalsafetycenter.entity.SafetyCenter">
|
||||
select pfsc.*,pfscs.id as subitem_id
|
||||
from pay_functional_safety_center pfsc
|
||||
left join pay_functional_safety_center_subitem pfscs on pfsc.id = pfscs.project_id
|
||||
left join pay_functional_safety_center_subitem_contacts pfscsc on pfscs.id = pfscsc.subitem_id
|
||||
|
||||
Reference in New Issue
Block a user