add 工作组管理列表增加 企业名称搜索条件
This commit is contained in:
@@ -153,4 +153,8 @@ public class PayWorkingGroup implements Serializable {
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "企业联系人")
|
||||
private String companyContactName;
|
||||
|
||||
@TableField(exist = false)
|
||||
@ApiModelProperty(value = "企业名称")
|
||||
private String companyName;
|
||||
}
|
||||
|
||||
+5
-1
@@ -31,7 +31,8 @@
|
||||
left join pay_meeting pm on pwg.id = pm.working_group_id
|
||||
left join pay_meeting_contacts pmc on pm.id = pmc.meeting_id
|
||||
</if>
|
||||
<if test="payWorkingGroup.companyContactName != null and payWorkingGroup.companyContactName != ''">
|
||||
<if test="(payWorkingGroup.companyContactName != null and payWorkingGroup.companyContactName != '')
|
||||
or (payWorkingGroup.companyName != null and payWorkingGroup.companyName != '')">
|
||||
left join pay_working_group_subitem pwgs on pwg.id = pwgs.working_group_id
|
||||
left JOIN pay_working_group_subitem_contacts pwgsc on pwgsc.working_group_sub_id = pwgs.id
|
||||
</if>
|
||||
@@ -55,6 +56,9 @@
|
||||
<if test="payWorkingGroup.companyContactName != null and payWorkingGroup.companyContactName != ''">
|
||||
and pwgsc.contacts_temporary_name like concat('%', #{payWorkingGroup.companyContactName}, '%')
|
||||
</if>
|
||||
<if test="payWorkingGroup.companyName != null and payWorkingGroup.companyName != ''">
|
||||
and pwgs.charge_company_temporary_name like concat('%', #{payWorkingGroup.companyName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY pwg.create_time DESC
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user