企业列表

This commit is contained in:
1073413548 2024-09-05 09:27:29 +08:00
parent 46dc374267
commit 73a08ce88f
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public class PsCompanyInfoServiceImpl implements IPsCompanyInfoService {
QueryWrapper<PsCompanyInfo> lqw = Wrappers.query();
lqw.exists(StringUtils.isNotBlank(bo.getCustomManagerName()),"select 1 from sys_user su where su.user_id = cus.custom_manager and su.nick_name like '%"+bo.getCustomManagerName()+"%'");
lqw.eq(bo.getId() != null,"com.id",bo.getId());
lqw.like(bo.getCustomName() != null,"cus.custom_name",bo.getId());
lqw.like(bo.getCustomName() != null,"cus.custom_name",bo.getCustomName());
lqw.like(bo.getCustomMobile() != null,"cus.custom_mobile",bo.getCustomMobile());
lqw.like(bo.getCompanyName() != null,"com.company_name",bo.getCompanyName());
lqw.like(bo.getCustomIntroducer() != null,"cusi.custom_name",bo.getCustomIntroducer());

View File

@ -15,7 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
com.create_time
from ps_company_info com
left join ps_custom_info cus on com.custom_id = cus.id
left join ps_custom_info cusi on cus.custom_introducer, = cusi.id
left join ps_custom_info cusi on cus.custom_introducer = cusi.id
${ew.getCustomSqlSegment}
</select>