领悦法人主体增加是否启用筛选

This commit is contained in:
Harryxzy 2025-04-25 15:56:16 +08:00
parent c259f6c8df
commit 1b27ed68be
2 changed files with 3 additions and 3 deletions

View File

@ -425,7 +425,7 @@ public class LyPZServiceImpl extends Service implements LyPZService {
List<List<String>> partition = Lists.partition(frztNameList, 500);
List<LyFzhsInfo> resultList = new ArrayList<>();
partition.forEach(part -> {
rs.execute("select frzt,sllb,ks,yxzh,nczb from uf_frzt where frzt in ('" +StringUtils.join(part, "','")+ "')");
rs.execute("select frzt,sllb,ks,yxzh,nczb from uf_frzt where (sfqy =0 or sfqy is null) and frzt in ('" +StringUtils.join(part, "','")+ "')");
while (rs.next()) {
String frzt = rs.getString("frzt");
String sllb = rs.getString("sllb");
@ -453,7 +453,7 @@ public class LyPZServiceImpl extends Service implements LyPZService {
public Map<String, String> listAllFrzt() {
RecordSet rs = new RecordSet();
Map<String, String> resultMap = new HashMap<>();
rs.execute("select id,frzt from uf_frzt ");
rs.execute("select id,frzt from uf_frzt where sfqy =0 or sfqy is null");
while (rs.next()) {
String frzt = rs.getString("frzt");
String id = rs.getString("id");

View File

@ -943,7 +943,7 @@ public class LySalaryReportServiceImpl extends Service implements LySalaryReport
return Collections.emptyList();
}
RecordSet rs = new RecordSet();
rs.execute("select frzt,ncbbqxry from uf_frzt ");
rs.execute("select frzt,ncbbqxry from uf_frzt where sfqy =0 or sfqy is null");
HashMap<String, List<Long>> frztInfoMap = new HashMap<>();
while (rs.next()) {
String frzt = rs.getString("frzt");