|
@@ -49,7 +49,7 @@ public class BusinessContractReceiveController {
|
49
|
49
|
@ApiImplicitParam(name = "htlx", value = "合同类型(0:采购,1:销售)", paramType = "query")
|
50
|
50
|
})
|
51
|
51
|
public PageInfo<BusinessContractReceive> getList(Integer pageNum, Integer pageSize,
|
52
|
|
- String htbh ,Integer orgId, Integer houseId, Integer warehouseId, String htlx) {
|
|
52
|
+ String htbh ,Integer orgId, Integer houseId, Integer warehouseId, String htlx, String surplus) {
|
53
|
53
|
|
54
|
54
|
PageInfo<BusinessContractReceive> pageInfo = null;
|
55
|
55
|
|
|
@@ -58,7 +58,7 @@ public class BusinessContractReceiveController {
|
58
|
58
|
if (null != pageNum && null != pageSize) {
|
59
|
59
|
PageHelper.startPage(pageNum, pageSize);
|
60
|
60
|
}
|
61
|
|
- list = businessContractReceiveService.queryByExample(htbh, orgId, houseId, warehouseId, htlx);
|
|
61
|
+ list = businessContractReceiveService.queryByExample(htbh, orgId, houseId, warehouseId, htlx, surplus);
|
62
|
62
|
pageInfo = new PageInfo<BusinessContractReceive>(list);
|
63
|
63
|
} catch (Exception e) {
|
64
|
64
|
logger.error(e.getMessage(), e);
|