|
|
@@ -53,13 +53,11 @@ public class CrkRecordController {
|
|
53
|
53
|
@ApiImplicitParam(name = "houseId", value = "仓号", paramType = "query"),
|
|
54
|
54
|
@ApiImplicitParam(name = "warehouseId", value = "货位号 ", paramType = "query"),
|
|
55
|
55
|
@ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query"),
|
|
56
|
|
- @ApiImplicitParam(name = "cph", value = "车牌号", paramType = "query"),
|
|
57
|
|
- @ApiImplicitParam(name = "bizNo", value = "入站单号", paramType = "query"),
|
|
58
|
|
- @ApiImplicitParam(name = "hcph", value = "火车皮号", paramType = "query")
|
|
|
56
|
+ @ApiImplicitParam(name = "cph", value = "车牌号", paramType = "query")
|
|
59
|
57
|
})
|
|
60
|
58
|
public PageInfo<Map<String, Object>> getQcCrkPageList(Integer pageNum, Integer pageSize,
|
|
61
|
59
|
String cazylx, String pz, String beginDate, String endDate, Integer houseId,
|
|
62
|
|
- Integer warehouseId, Integer orgId, String cph, String bizNo, String hcph) {
|
|
|
60
|
+ Integer warehouseId, Integer orgId, String cph) {
|
|
63
|
61
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
64
|
62
|
if (null != cazylx && !"".equals(cazylx)) {
|
|
65
|
63
|
if (cazylx.equals("1")) {
|
|
|
@@ -89,12 +87,6 @@ public class CrkRecordController {
|
|
89
|
87
|
if (cph != null && !"".equals(cph)) {
|
|
90
|
88
|
map.put("cph", "%"+cph+"%");
|
|
91
|
89
|
}
|
|
92
|
|
- if (bizNo != null && !"".equals(bizNo)) {
|
|
93
|
|
- map.put("bizNo", "%"+bizNo+"%");
|
|
94
|
|
- }
|
|
95
|
|
- if (hcph != null && !"".equals(hcph)) {
|
|
96
|
|
- map.put("hcph", "%"+hcph+"%");
|
|
97
|
|
- }
|
|
98
|
90
|
if (pageNum != null && pageSize != null) {
|
|
99
|
91
|
PageHelper.startPage(pageNum, pageSize);
|
|
100
|
92
|
}
|
|
|
@@ -114,11 +106,13 @@ public class CrkRecordController {
|
|
114
|
106
|
@ApiImplicitParam(name = "endDate", value = "截止日期 ", paramType = "query"),
|
|
115
|
107
|
@ApiImplicitParam(name = "houseId", value = "仓号", paramType = "query"),
|
|
116
|
108
|
@ApiImplicitParam(name = "warehouseId", value = "货位号 ", paramType = "query"),
|
|
117
|
|
- @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query")
|
|
|
109
|
+ @ApiImplicitParam(name = "orgId", value = "单位ID", paramType = "query"),
|
|
|
110
|
+ @ApiImplicitParam(name = "bizNo", value = "入站单号", paramType = "query"),
|
|
|
111
|
+ @ApiImplicitParam(name = "hcph", value = "火车皮号", paramType = "query")
|
|
118
|
112
|
})
|
|
119
|
113
|
public PageInfo<Map<String, Object>> getHcCrkPageList(Integer pageNum, Integer pageSize,
|
|
120
|
114
|
String cazylx, String pz, String beginDate, String endDate, Integer houseId,
|
|
121
|
|
- Integer warehouseId, Integer orgId) {
|
|
|
115
|
+ Integer warehouseId, Integer orgId, String hcph, String bizNo) {
|
|
122
|
116
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
123
|
117
|
if (null != cazylx && !"".equals(cazylx)) {
|
|
124
|
118
|
if (cazylx.equals("1")) {
|
|
|
@@ -145,6 +139,12 @@ public class CrkRecordController {
|
|
145
|
139
|
if (orgId != null && !"".equals(orgId)) {
|
|
146
|
140
|
map.put("orgId", orgId);
|
|
147
|
141
|
}
|
|
|
142
|
+ if (bizNo != null && !"".equals(bizNo)) {
|
|
|
143
|
+ map.put("bizNo", "%"+bizNo+"%");
|
|
|
144
|
+ }
|
|
|
145
|
+ if (hcph != null && !"".equals(hcph)) {
|
|
|
146
|
+ map.put("hcph", "%"+hcph+"%");
|
|
|
147
|
+ }
|
|
148
|
148
|
if (pageNum != null && pageSize != null) {
|
|
149
|
149
|
PageHelper.startPage(pageNum, pageSize);
|
|
150
|
150
|
}
|