|
|
@@ -40,6 +40,7 @@ public class EquipmentStroeServiceImpl extends ServiceImpl<EquipmentStroeMapper,
|
|
40
|
40
|
String equipmentNameCode = object.optString("equipment_name_code").trim();
|
|
41
|
41
|
String standardsType = object.optString("standards_type").trim();
|
|
42
|
42
|
String arrivalTime = object.optString("arrival_time").trim();
|
|
|
43
|
+ String state = object.optString("state").trim();
|
|
43
|
44
|
if (!StringUtils.isEmpty(depotId)) {
|
|
44
|
45
|
ew.eq("depot_id", depotId);
|
|
45
|
46
|
}
|
|
|
@@ -55,6 +56,9 @@ public class EquipmentStroeServiceImpl extends ServiceImpl<EquipmentStroeMapper,
|
|
55
|
56
|
if (!StringUtils.isEmpty(standardsType)) {
|
|
56
|
57
|
ew.eq("standards_type", standardsType);
|
|
57
|
58
|
}
|
|
|
59
|
+ if (!StringUtils.isEmpty(state)) {
|
|
|
60
|
+ ew.eq("state", state);
|
|
|
61
|
+ }
|
|
58
|
62
|
}
|
|
59
|
63
|
ew.orderByDesc("arrival_time");
|
|
60
|
64
|
Page page = new Page();
|