磅单列表业务员查询

product
bawei 2 years ago
parent f8bece5c1d
commit d4e9d82be2

@ -41,6 +41,7 @@ public class PoundlistPagination extends Pagination {
private String purchaseOrderId;
private String salesOrderId;
private List<String> poundlistIds;
private String businessId;
/**
*

@ -6,6 +6,7 @@ import jnpf.customer.entity.CustomerEntity;
import jnpf.customer.service.CustomerService;
import jnpf.materialvo.entity.MaterialEntity;
import jnpf.materialvo.service.MaterialService;
import jnpf.model.UserGetUserEntity;
import jnpf.poundlist.entity.*;
import jnpf.poundlist.mapper.PoundlistMapper;
import jnpf.poundlist.model.poundlist.PoundlistListVO;
@ -136,7 +137,9 @@ public class PoundlistServiceImpl extends ServiceImpl<PoundlistMapper, Poundlist
}
}
Page<PoundlistEntity> page = new Page<>(poundlistPagination.getCurrentPage(), poundlistPagination.getPageSize());
QueryWrapper<UserGetUserEntity> userWrapper = new QueryWrapper<>();
// String busid=null ;
// userWrapper.eq(busid,poundlistPagination.getBusinessId());
/*************************************************************************/
IPage<PoundlistEntity> userIPage = this.page(page, poundlistQueryWrapper);
List<PoundlistEntity> list = userIPage.getRecords();

@ -79,6 +79,9 @@ WHERE a.delete_mark = 0 and
<if test="poundlistPagination.poundlistNo != null and poundlistPagination.poundlistNo != ''">
AND a.POUNDLIST_NO LIKE CONCAT('%',#{poundlistPagination.poundlistNo},'%')
</if>
<if test="poundlistPagination.businessId != null and poundlistPagination.businessId != ''">
AND h.F_RealName LIKE CONCAT('%',#{poundlistPagination.businessId},'%')
</if>
<if test="poundlistPagination.isInvoicing != null and poundlistPagination.isInvoicing != ''">
AND a.is_Invoicing = #{poundlistPagination.isInvoicing}
</if>

Loading…
Cancel
Save