优化
This commit is contained in:
@ -28,8 +28,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
zpsa.apply_status,
|
||||
fu.username,
|
||||
fu.phone,
|
||||
fu.avatar_name
|
||||
from zbf_project_subcontracting_apply zpsa left join fbs_user fu on zpsa.fbs_user_id = fu.user_id
|
||||
fu.avatar_name,
|
||||
cc.company_name
|
||||
from zbf_project_subcontracting_apply zpsa
|
||||
left join fbs_user fu on zpsa.fbs_user_id = fu.user_id
|
||||
left join common_company cc on fu.company_id = cc.id
|
||||
where zpsa.sub_id = #{dto.subId}
|
||||
<if test="dto.username != null and dto.username != ''">
|
||||
and fu.username like concat('%', #{dto.username}, '%')
|
||||
|
Reference in New Issue
Block a user