EBOM-正式表-通知单号查询

This commit is contained in:
大米 2024-07-19 08:24:50 +08:00
parent e317bdec3d
commit 56c9ed0a66
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ public interface BomNewEbomParentMapper extends BaseMapper<BomNewEbomParentEntit
void delEBomHistory(@Param("parentRowIds") List<Long> parentRowIds);
Page<BomNewEbomParentVO> getSapErrorWorksheet(Page<Object> objectPage, String userCode);
Page<BomNewEbomParentVO> getSapErrorWorksheet(Page<Object> objectPage,@Param("query")BomNewEbomParentQuery query, String userCode);
Integer getSapErrorNum(String userCode);

View File

@ -326,7 +326,7 @@ public class BomNewEbomParentService extends ServiceImpl<BomNewEbomParentMapper,
public Page<BomNewEbomParentVO> formalWorksheet(BomNewEbomParentQuery query) {
Page<BomNewEbomParentVO> result;
if (Objects.equals(query.getQueryErrorList(), 1)) {
result = this.getBaseMapper().getSapErrorWorksheet(new Page<>(query.getPage(), query.getPageSize()), SessionUtil.getUserCode());
result = this.getBaseMapper().getSapErrorWorksheet(new Page<>(query.getPage(), query.getPageSize()), query, SessionUtil.getUserCode());
} else {
result = this.getBaseMapper().formalWorksheet(new Page<>(query.getPage(), query.getPageSize()), query, SessionUtil.getUserCode());
}