财务服务企业档案特殊排序
This commit is contained in:
parent
52ec2b3f21
commit
cab4955059
@ -191,7 +191,11 @@ public class PsCompanyInfoServiceImpl implements IPsCompanyInfoService {
|
|||||||
sql.append("and business_type = '2' and is_proxy = '2'");
|
sql.append("and business_type = '2' and is_proxy = '2'");
|
||||||
}
|
}
|
||||||
lqw.exists(bo.getType() != 1, sql.toString());
|
lqw.exists(bo.getType() != 1, sql.toString());
|
||||||
|
|
||||||
|
//2025/02/07 财务需求 新完成任务的公司排在最上边。这里专门针对宋姐的号 做特殊排序处理
|
||||||
|
if (!Objects.equals(100L, LoginHelper.getUserId())){
|
||||||
lqw.orderByAsc("CASE WHEN bus.min_end_date IS NULL THEN 1 ELSE 0 END, bus.min_end_date");
|
lqw.orderByAsc("CASE WHEN bus.min_end_date IS NULL THEN 1 ELSE 0 END, bus.min_end_date");
|
||||||
|
}
|
||||||
lqw.orderByDesc("finish_date");
|
lqw.orderByDesc("finish_date");
|
||||||
lqw.eq("com.del_flag", 0);
|
lqw.eq("com.del_flag", 0);
|
||||||
// lqw.groupBy("com.id");
|
// lqw.groupBy("com.id");
|
||||||
|
Loading…
Reference in New Issue
Block a user