parent
169d64bc1d
commit
18c98da1f2
|
|
@ -32,6 +32,6 @@ public class CorpInfoPageQry extends PageQuery {
|
|||
* 2025-11-05 罗刚提出将相关方中的普通相关方企业、驻港单位、货主单位合并成同一个列表
|
||||
* 0:监管 1:企业 2:相关方
|
||||
*/
|
||||
private String corpType;
|
||||
private String enterpriseType;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ public class CorpInfoRepositoryImpl extends BaseRepositoryImpl<CorpInfoMapper, C
|
|||
IPage<CorpInfoDO> iPage = new Query<CorpInfoDO>().getPage(params);
|
||||
QueryWrapper<CorpInfoDO> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper = PageQueryHelper.createPageQueryWrapper(queryWrapper, params);
|
||||
if ("0".equals(params.get("corpType"))){
|
||||
if ("0".equals(params.get("enterpriseType"))){
|
||||
queryWrapper.eq("type", "2");
|
||||
} else if ("1".equals(params.get("corpType"))) {
|
||||
} else if ("1".equals(params.get("enterpriseType"))) {
|
||||
queryWrapper.in("type", Arrays.asList("0", "1"));
|
||||
}else {
|
||||
queryWrapper.in("type", Arrays.asList("3", "4","5"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue